mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
changed reserve object type to enum
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3751 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -943,8 +943,12 @@ NtCreateThreadEx(
|
||||
|
||||
#if (PHNT_VERSION >= PHNT_WIN7)
|
||||
|
||||
#define USER_APC_RESERVE_TYPE 0
|
||||
#define IO_COMPLETION_RESERVE_TYPE 1
|
||||
typedef enum _RESERVE_OBJECT_TYPE
|
||||
{
|
||||
ReserveObjectUserApc = 0,
|
||||
ReserveObjectIoCompletion = 1,
|
||||
MaximumReserveObject
|
||||
} RESERVE_OBJECT_TYPE;
|
||||
|
||||
NTSYSCALLAPI
|
||||
NTSTATUS
|
||||
@@ -952,7 +956,7 @@ NTAPI
|
||||
NtAllocateReserveObject(
|
||||
__out PHANDLE MemoryReserveHandle,
|
||||
__in_opt POBJECT_ATTRIBUTES ObjectAttributes,
|
||||
__in ULONG Type
|
||||
__in RESERVE_OBJECT_TYPE Type
|
||||
);
|
||||
|
||||
NTSYSCALLAPI
|
||||
|
||||
Reference in New Issue
Block a user