#ifndef NTOS_MODE_USER
+//
+// Heap Information Class
+//
+typedef enum _HEAP_INFORMATION_CLASS
+{
+ HeapCompatibilityInformation,
+ HeapEnableTerminationOnCorruption
+} HEAP_INFORMATION_CLASS;
+
//
// Callback function for RTL Timers or Registered Waits
//
#endif
+//
+// RTL Private Heap Structures
+//
+typedef struct _HEAP_LOCK
+{
+ union
+ {
+ RTL_CRITICAL_SECTION CriticalSection;
+#ifndef NTOS_MODE_USER
+ ERESOURCE Resource;
+#endif
+ UCHAR Padding[0x68]; /* Max ERESOURCE size for x64 build. Needed because RTL is built only once */
+ };
+} HEAP_LOCK, *PHEAP_LOCK;
+
//
// RTL Range List Structures
//