[ros-diffs] [hpoussin] 46016: [headers] Fix type of PRTL_HEAP_PARAMETERS in ifssupp.h. Will be required soon

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Mon Mar 8 22:42:19 CET 2010


Author: hpoussin
Date: Mon Mar  8 22:42:18 2010
New Revision: 46016

URL: http://svn.reactos.org/svn/reactos?rev=46016&view=rev
Log:
[headers] Fix type of PRTL_HEAP_PARAMETERS in ifssupp.h. Will be required soon

Modified:
    trunk/reactos/include/ndk/ifssupp.h

Modified: trunk/reactos/include/ndk/ifssupp.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/ifssupp.h?rev=46016&r1=46015&r2=46016&view=diff
==============================================================================
--- trunk/reactos/include/ndk/ifssupp.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/ifssupp.h [iso-8859-1] Mon Mar  8 22:42:18 2010
@@ -27,7 +27,28 @@
     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;
 




More information about the Ros-diffs mailing list