https://git.reactos.org/?p=reactos.git;a=commitdiff;h=690cc9f30bd4cd1a4ddc0a...
commit 690cc9f30bd4cd1a4ddc0a20cf4d2e5ce42c5a4b Author: Timo Kreuzer timo.kreuzer@reactos.org AuthorDate: Thu Jan 4 19:23:47 2018 +0100
[NDK] Fix some ob types (64 bit) --- sdk/include/ndk/obtypes.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/sdk/include/ndk/obtypes.h b/sdk/include/ndk/obtypes.h index aa7968fd77..034f101188 100644 --- a/sdk/include/ndk/obtypes.h +++ b/sdk/include/ndk/obtypes.h @@ -434,6 +434,9 @@ typedef struct _OBJECT_HEADER_NAME_INFO ULONG QueryReferences; ULONG Reserved2; ULONG DbgReferenceCount; +#ifdef _WIN64 + ULONG64 Reserved3; +#endif } OBJECT_HEADER_NAME_INFO, *POBJECT_HEADER_NAME_INFO;
typedef struct _OBJECT_HANDLE_COUNT_ENTRY @@ -471,6 +474,9 @@ typedef struct _OBJECT_HEADER_QUOTA_INFO ULONG NonPagedPoolCharge; ULONG SecurityDescriptorCharge; PEPROCESS ExclusiveProcess; +#ifdef _WIN64 + ULONG64 Reserved; +#endif } OBJECT_HEADER_QUOTA_INFO, *POBJECT_HEADER_QUOTA_INFO;
// @@ -478,10 +484,10 @@ typedef struct _OBJECT_HEADER_QUOTA_INFO // typedef struct _OBJECT_HEADER { - LONG PointerCount; + LONG_PTR PointerCount; union { - LONG HandleCount; + LONG_PTR HandleCount; volatile PVOID NextToFree; }; POBJECT_TYPE Type;