[CMAKE]
[reactos.git] / include / ndk / rtltypes.h
index 04aa924..45ccf9a 100644 (file)
@@ -368,6 +368,15 @@ typedef enum _RTL_PATH_TYPE
 
 #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
 //
@@ -1039,6 +1048,21 @@ typedef struct _RTL_CRITICAL_SECTION
 
 #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
 //