Final NDK fixes for ntdll

svn path=/trunk/; revision=16109
This commit is contained in:
Alex Ionescu 2005-06-19 20:18:30 +00:00
parent 514f6f4626
commit d3d66f5e68
3 changed files with 63 additions and 0 deletions

View file

@ -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 @@ typedef struct _RTL_HEAP_DEFINITION
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;

View file

@ -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
@ -763,6 +766,15 @@ typedef struct _FILE_QUOTA_INFORMATION
SID Sid;
} 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 @@ typedef struct _UNICODE_PREFIX_TABLE
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;

View file

@ -74,6 +74,18 @@ typedef enum _SYSTEM_DOCK_STATE
} 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
*/