[headers] Fix type of PRTL_HEAP_PARAMETERS in ifssupp.h. Will be required soon
authorHervé Poussineau <hpoussin@reactos.org>
Mon, 8 Mar 2010 21:42:18 +0000 (21:42 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Mon, 8 Mar 2010 21:42:18 +0000 (21:42 +0000)
svn path=/trunk/; revision=46016

reactos/include/ndk/ifssupp.h

index 15e5833..fe31f33 100644 (file)
@@ -27,7 +27,28 @@ typedef enum _TOKEN_TYPE
     TokenImpersonation
 } TOKEN_TYPE, *PTOKEN_TYPE;
 
     TokenImpersonation
 } TOKEN_TYPE, *PTOKEN_TYPE;
 
-typedef PVOID PRTL_HEAP_PARAMETERS;
+typedef NTSTATUS
+(NTAPI * PRTL_HEAP_COMMIT_ROUTINE)(
+    IN PVOID Base,
+    IN OUT PVOID *CommitAddress,
+    IN OUT PSIZE_T CommitSize
+);
+
+typedef struct _RTL_HEAP_PARAMETERS
+{
+    ULONG Length;
+    SIZE_T SegmentReserve;
+    SIZE_T SegmentCommit;
+    SIZE_T DeCommitFreeBlockThreshold;
+    SIZE_T DeCommitTotalFreeThreshold;
+    SIZE_T MaximumAllocationSize;
+    SIZE_T VirtualMemoryThreshold;
+    SIZE_T InitialCommit;
+    SIZE_T InitialReserve;
+    PRTL_HEAP_COMMIT_ROUTINE CommitRoutine;
+    SIZE_T Reserved[2];
+} RTL_HEAP_PARAMETERS, *PRTL_HEAP_PARAMETERS;
+
 typedef PVOID PFS_FILTER_CALLBACKS;
 typedef USHORT SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;
 
 typedef PVOID PFS_FILTER_CALLBACKS;
 typedef USHORT SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;