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:
wj32
2010-10-16 09:05:28 +00:00
parent 35674104e3
commit e1c0a810a7
+7 -3
View File
@@ -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