https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bbdb4d63401a2659d236ff...
commit bbdb4d63401a2659d236fff32d49b7af73eb3d8d Author: George Bișoc george.bisoc@reactos.org AuthorDate: Sun Jun 6 19:39:32 2021 +0200 Commit: George Bișoc george.bisoc@reactos.org CommitDate: Tue Jun 8 09:25:30 2021 +0200
[NTOSKRNL] Use CHAR for non existent classes
An alignment of 1 means no alignment required and the class doesn't exist. 0 shouldn't be used for alignment requirement in IQS_NONE! --- ntoskrnl/include/internal/icif.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/include/internal/icif.h b/ntoskrnl/include/internal/icif.h index 119958e54b4..6eb4a3d5f87 100644 --- a/ntoskrnl/include/internal/icif.h +++ b/ntoskrnl/include/internal/icif.h @@ -3,7 +3,7 @@ * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later) * PURPOSE: Internal header for information classes info interface * COPYRIGHT: Copyright ??? - * Copyright 2020 George Bișoc george.bisoc@reactos.org + * Copyright 2020-2021 George Bișoc george.bisoc@reactos.org */
#pragma once @@ -38,4 +38,4 @@ typedef struct _INFORMATION_CLASS_INFO { sizeof(TypeQuery), sizeof(AlignmentQuery), sizeof(TypeSet), sizeof(AlignmentSet), Flags }
#define IQS_NONE \ - { 0, 0, 0, 0, ICIF_NONE } + { 0, sizeof(CHAR), 0, sizeof(CHAR), ICIF_NONE }