Final NDK fixes for ntdll
Modified: trunk/reactos/include/ndk/rtltypes.h
Modified: trunk/reactos/include/ndk/umtypes.h
Modified: trunk/reactos/include/ndk/zwtypes.h
_____
Modified: trunk/reactos/include/ndk/rtltypes.h
--- trunk/reactos/include/ndk/rtltypes.h 2005-06-19 20:09:32 UTC
(rev 16108)
+++ trunk/reactos/include/ndk/rtltypes.h 2005-06-19 20:18:30 UTC
(rev 16109)
@@ -37,6 +37,12 @@
#define EH_STACK_INVALID 0x08
#define EH_NESTED_CALL 0x10
+#define RTL_RANGE_LIST_ADD_IF_CONFLICT 0x00000001
+#define RTL_RANGE_LIST_ADD_SHARED 0x00000002
+
+#define RTL_RANGE_SHARED 0x01
+#define RTL_RANGE_CONFLICT 0x02
+
/* ENUMERATIONS
**************************************************************/
typedef enum
@@ -106,6 +112,38 @@
ULONG Unknown[11];
} RTL_HEAP_DEFINITION, *PRTL_HEAP_DEFINITION;
+typedef struct _RTL_RANGE_LIST
+{
+ LIST_ENTRY ListHead;
+ ULONG Flags; /* RTL_RANGE_LIST_... flags */
+ ULONG Count;
+ ULONG Stamp;
+} RTL_RANGE_LIST, *PRTL_RANGE_LIST;
+
+typedef struct _RTL_RANGE
+{
+ ULONGLONG Start;
+ ULONGLONG End;
+ PVOID UserData;
+ PVOID Owner;
+ UCHAR Attributes;
+ UCHAR Flags; /* RTL_RANGE_... flags */
+} RTL_RANGE, *PRTL_RANGE;
+
+typedef BOOLEAN
+(STDCALL *PRTL_CONFLICT_RANGE_CALLBACK) (
+ PVOID Context,
+ PRTL_RANGE Range
+);
+
+typedef struct _RANGE_LIST_ITERATOR
+{
+ PLIST_ENTRY RangeListHead;
+ PLIST_ENTRY MergedHead;
+ PVOID Current;
+ ULONG Stamp;
+} RTL_RANGE_LIST_ITERATOR, *PRTL_RANGE_LIST_ITERATOR;
+
typedef struct _RTL_MESSAGE_RESOURCE_ENTRY
{
USHORT Length;
_____
Modified: trunk/reactos/include/ndk/umtypes.h
--- trunk/reactos/include/ndk/umtypes.h 2005-06-19 20:09:32 UTC (rev
16108)
+++ trunk/reactos/include/ndk/umtypes.h 2005-06-19 20:18:30 UTC (rev
16109)
@@ -165,6 +165,9 @@
#define RTL_QUERY_REGISTRY_DIRECT 0x00000020
#define RTL_QUERY_REGISTRY_DELETE 0x00000040
+/* Device Charactertics */
+#define FILE_REMOVABLE_MEDIA 0x00000001
+
/* SID Constants */
#define SID_MAX_SUB_AUTHORITIES 15
@@ -764,6 +767,15 @@
} FILE_QUOTA_INFORMATION, *PFILE_QUOTA_INFORMATION;
/*
+ * File System
+ */
+typedef struct _FILE_FS_DEVICE_INFORMATION
+{
+ DEVICE_TYPE DeviceType;
+ ULONG Characteristics;
+} FILE_FS_DEVICE_INFORMATION, *PFILE_FS_DEVICE_INFORMATION;
+
+/*
* Registry Key Value
*/
@@ -1043,6 +1055,7 @@
PUNICODE_PREFIX_TABLE_ENTRY LastNextEntry;
} UNICODE_PREFIX_TABLE, *PUNICODE_PREFIX_TABLE;
+typedef OSVERSIONINFOW RTL_OSVERSIONINFOW;
typedef LPOSVERSIONINFOW PRTL_OSVERSIONINFOW;
typedef OSVERSIONINFOEXW RTL_OSVERSIONINFOEXW;
typedef LPOSVERSIONINFOEXW PRTL_OSVERSIONINFOEXW;
_____
Modified: trunk/reactos/include/ndk/zwtypes.h
--- trunk/reactos/include/ndk/zwtypes.h 2005-06-19 20:09:32 UTC (rev
16108)
+++ trunk/reactos/include/ndk/zwtypes.h 2005-06-19 20:18:30 UTC (rev
16109)
@@ -74,7 +74,19 @@
} SYSTEM_DOCK_STATE, *PSYSTEM_DOCK_STATE;
/**** Information Classes ****/
+
/*
+ * Process (extra ones not defined in DDK)
+ */
+typedef enum _PROCESS_INFORMATION_FLAGS
+{
+ ProcessUnknown33 = 33,
+ ProcessUnknown34,
+ ProcessUnknown35,
+ ProcessCookie
+} PROCESS_INFORMATION_FLAGS;
+
+/*
* System
*/
typedef enum _SYSTEM_INFORMATION_CLASS