2010-03-13 00:34:48 +00:00
|
|
|
/******************************************************************************
|
|
|
|
* Configuration Manager Types *
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
$if (_WDMDDK_)
|
|
|
|
/* Resource list definitions */
|
|
|
|
typedef int CM_RESOURCE_TYPE;
|
|
|
|
|
|
|
|
#define CmResourceTypeNull 0
|
|
|
|
#define CmResourceTypePort 1
|
|
|
|
#define CmResourceTypeInterrupt 2
|
|
|
|
#define CmResourceTypeMemory 3
|
|
|
|
#define CmResourceTypeDma 4
|
|
|
|
#define CmResourceTypeDeviceSpecific 5
|
|
|
|
#define CmResourceTypeBusNumber 6
|
2010-03-18 22:45:30 +00:00
|
|
|
#define CmResourceTypeNonArbitrated 128
|
|
|
|
#define CmResourceTypeConfigData 128
|
|
|
|
#define CmResourceTypeDevicePrivate 129
|
|
|
|
#define CmResourceTypePcCardConfig 130
|
|
|
|
#define CmResourceTypeMfCardConfig 131
|
2010-03-13 00:34:48 +00:00
|
|
|
|
|
|
|
/* KEY_VALUE_Xxx.Type */
|
|
|
|
#define REG_NONE 0
|
|
|
|
#define REG_SZ 1
|
|
|
|
#define REG_EXPAND_SZ 2
|
|
|
|
#define REG_BINARY 3
|
|
|
|
#define REG_DWORD 4
|
|
|
|
#define REG_DWORD_LITTLE_ENDIAN 4
|
|
|
|
#define REG_DWORD_BIG_ENDIAN 5
|
|
|
|
#define REG_LINK 6
|
|
|
|
#define REG_MULTI_SZ 7
|
|
|
|
#define REG_RESOURCE_LIST 8
|
|
|
|
#define REG_FULL_RESOURCE_DESCRIPTOR 9
|
2010-03-18 22:45:30 +00:00
|
|
|
#define REG_RESOURCE_REQUIREMENTS_LIST 10
|
|
|
|
#define REG_QWORD 11
|
|
|
|
#define REG_QWORD_LITTLE_ENDIAN 11
|
2010-03-13 00:34:48 +00:00
|
|
|
|
|
|
|
/* Registry Access Rights */
|
|
|
|
#define KEY_QUERY_VALUE (0x0001)
|
|
|
|
#define KEY_SET_VALUE (0x0002)
|
|
|
|
#define KEY_CREATE_SUB_KEY (0x0004)
|
|
|
|
#define KEY_ENUMERATE_SUB_KEYS (0x0008)
|
|
|
|
#define KEY_NOTIFY (0x0010)
|
|
|
|
#define KEY_CREATE_LINK (0x0020)
|
|
|
|
#define KEY_WOW64_32KEY (0x0200)
|
|
|
|
#define KEY_WOW64_64KEY (0x0100)
|
|
|
|
#define KEY_WOW64_RES (0x0300)
|
|
|
|
|
|
|
|
#define KEY_READ ((STANDARD_RIGHTS_READ |\
|
|
|
|
KEY_QUERY_VALUE |\
|
|
|
|
KEY_ENUMERATE_SUB_KEYS |\
|
|
|
|
KEY_NOTIFY) \
|
|
|
|
& \
|
|
|
|
(~SYNCHRONIZE))
|
|
|
|
|
|
|
|
#define KEY_WRITE ((STANDARD_RIGHTS_WRITE |\
|
|
|
|
KEY_SET_VALUE |\
|
|
|
|
KEY_CREATE_SUB_KEY) \
|
|
|
|
& \
|
|
|
|
(~SYNCHRONIZE))
|
|
|
|
|
|
|
|
#define KEY_EXECUTE ((KEY_READ) \
|
|
|
|
& \
|
|
|
|
(~SYNCHRONIZE))
|
|
|
|
|
|
|
|
#define KEY_ALL_ACCESS ((STANDARD_RIGHTS_ALL |\
|
|
|
|
KEY_QUERY_VALUE |\
|
|
|
|
KEY_SET_VALUE |\
|
|
|
|
KEY_CREATE_SUB_KEY |\
|
|
|
|
KEY_ENUMERATE_SUB_KEYS |\
|
|
|
|
KEY_NOTIFY |\
|
|
|
|
KEY_CREATE_LINK) \
|
|
|
|
& \
|
|
|
|
(~SYNCHRONIZE))
|
|
|
|
|
|
|
|
/* Registry Open/Create Options */
|
|
|
|
#define REG_OPTION_RESERVED (0x00000000L)
|
|
|
|
#define REG_OPTION_NON_VOLATILE (0x00000000L)
|
|
|
|
#define REG_OPTION_VOLATILE (0x00000001L)
|
|
|
|
#define REG_OPTION_CREATE_LINK (0x00000002L)
|
|
|
|
#define REG_OPTION_BACKUP_RESTORE (0x00000004L)
|
|
|
|
#define REG_OPTION_OPEN_LINK (0x00000008L)
|
|
|
|
|
|
|
|
#define REG_LEGAL_OPTION \
|
|
|
|
(REG_OPTION_RESERVED |\
|
|
|
|
REG_OPTION_NON_VOLATILE |\
|
|
|
|
REG_OPTION_VOLATILE |\
|
|
|
|
REG_OPTION_CREATE_LINK |\
|
|
|
|
REG_OPTION_BACKUP_RESTORE |\
|
|
|
|
REG_OPTION_OPEN_LINK)
|
|
|
|
|
2010-03-19 11:36:36 +00:00
|
|
|
#define REG_OPEN_LEGAL_OPTION \
|
|
|
|
(REG_OPTION_RESERVED |\
|
|
|
|
REG_OPTION_BACKUP_RESTORE |\
|
|
|
|
REG_OPTION_OPEN_LINK)
|
|
|
|
|
|
|
|
#define REG_STANDARD_FORMAT 1
|
|
|
|
#define REG_LATEST_FORMAT 2
|
|
|
|
#define REG_NO_COMPRESSION 4
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
/* Key creation/open disposition */
|
|
|
|
#define REG_CREATED_NEW_KEY (0x00000001L)
|
|
|
|
#define REG_OPENED_EXISTING_KEY (0x00000002L)
|
|
|
|
|
|
|
|
/* Key restore & hive load flags */
|
|
|
|
#define REG_WHOLE_HIVE_VOLATILE (0x00000001L)
|
|
|
|
#define REG_REFRESH_HIVE (0x00000002L)
|
|
|
|
#define REG_NO_LAZY_FLUSH (0x00000004L)
|
|
|
|
#define REG_FORCE_RESTORE (0x00000008L)
|
|
|
|
#define REG_APP_HIVE (0x00000010L)
|
|
|
|
#define REG_PROCESS_PRIVATE (0x00000020L)
|
|
|
|
#define REG_START_JOURNAL (0x00000040L)
|
|
|
|
#define REG_HIVE_EXACT_FILE_GROWTH (0x00000080L)
|
|
|
|
#define REG_HIVE_NO_RM (0x00000100L)
|
|
|
|
#define REG_HIVE_SINGLE_LOG (0x00000200L)
|
2010-03-19 11:36:36 +00:00
|
|
|
#define REG_BOOT_HIVE (0x00000400L)
|
2010-03-13 00:34:48 +00:00
|
|
|
|
|
|
|
/* Unload Flags */
|
|
|
|
#define REG_FORCE_UNLOAD 1
|
|
|
|
|
|
|
|
/* Notify Filter Values */
|
|
|
|
#define REG_NOTIFY_CHANGE_NAME (0x00000001L)
|
|
|
|
#define REG_NOTIFY_CHANGE_ATTRIBUTES (0x00000002L)
|
|
|
|
#define REG_NOTIFY_CHANGE_LAST_SET (0x00000004L)
|
|
|
|
#define REG_NOTIFY_CHANGE_SECURITY (0x00000008L)
|
|
|
|
|
|
|
|
#define REG_LEGAL_CHANGE_FILTER \
|
|
|
|
(REG_NOTIFY_CHANGE_NAME |\
|
|
|
|
REG_NOTIFY_CHANGE_ATTRIBUTES |\
|
|
|
|
REG_NOTIFY_CHANGE_LAST_SET |\
|
|
|
|
REG_NOTIFY_CHANGE_SECURITY)
|
|
|
|
|
|
|
|
#include <pshpack4.h>
|
|
|
|
typedef struct _CM_PARTIAL_RESOURCE_DESCRIPTOR {
|
|
|
|
UCHAR Type;
|
|
|
|
UCHAR ShareDisposition;
|
|
|
|
USHORT Flags;
|
|
|
|
union {
|
|
|
|
struct {
|
|
|
|
PHYSICAL_ADDRESS Start;
|
|
|
|
ULONG Length;
|
|
|
|
} Generic;
|
|
|
|
struct {
|
|
|
|
PHYSICAL_ADDRESS Start;
|
|
|
|
ULONG Length;
|
|
|
|
} Port;
|
|
|
|
struct {
|
|
|
|
#if defined(NT_PROCESSOR_GROUPS)
|
|
|
|
USHORT Level;
|
|
|
|
USHORT Group;
|
|
|
|
#else
|
|
|
|
ULONG Level;
|
|
|
|
#endif
|
|
|
|
ULONG Vector;
|
|
|
|
KAFFINITY Affinity;
|
|
|
|
} Interrupt;
|
|
|
|
#if (NTDDI_VERSION >= NTDDI_LONGHORN)
|
|
|
|
struct {
|
2010-04-23 10:50:19 +00:00
|
|
|
_ANONYMOUS_UNION union {
|
2010-03-13 00:34:48 +00:00
|
|
|
struct {
|
|
|
|
#if defined(NT_PROCESSOR_GROUPS)
|
|
|
|
USHORT Group;
|
|
|
|
#else
|
|
|
|
USHORT Reserved;
|
|
|
|
#endif
|
|
|
|
USHORT MessageCount;
|
|
|
|
ULONG Vector;
|
|
|
|
KAFFINITY Affinity;
|
|
|
|
} Raw;
|
|
|
|
struct {
|
|
|
|
#if defined(NT_PROCESSOR_GROUPS)
|
|
|
|
USHORT Level;
|
|
|
|
USHORT Group;
|
|
|
|
#else
|
|
|
|
ULONG Level;
|
|
|
|
#endif
|
|
|
|
ULONG Vector;
|
|
|
|
KAFFINITY Affinity;
|
|
|
|
} Translated;
|
|
|
|
} DUMMYUNIONNAME;
|
|
|
|
} MessageInterrupt;
|
|
|
|
#endif
|
|
|
|
struct {
|
|
|
|
PHYSICAL_ADDRESS Start;
|
|
|
|
ULONG Length;
|
|
|
|
} Memory;
|
|
|
|
struct {
|
|
|
|
ULONG Channel;
|
|
|
|
ULONG Port;
|
|
|
|
ULONG Reserved1;
|
|
|
|
} Dma;
|
|
|
|
struct {
|
|
|
|
ULONG Data[3];
|
|
|
|
} DevicePrivate;
|
|
|
|
struct {
|
|
|
|
ULONG Start;
|
|
|
|
ULONG Length;
|
|
|
|
ULONG Reserved;
|
|
|
|
} BusNumber;
|
|
|
|
struct {
|
|
|
|
ULONG DataSize;
|
|
|
|
ULONG Reserved1;
|
|
|
|
ULONG Reserved2;
|
|
|
|
} DeviceSpecificData;
|
|
|
|
#if (NTDDI_VERSION >= NTDDI_LONGHORN)
|
|
|
|
struct {
|
|
|
|
PHYSICAL_ADDRESS Start;
|
|
|
|
ULONG Length40;
|
|
|
|
} Memory40;
|
|
|
|
struct {
|
|
|
|
PHYSICAL_ADDRESS Start;
|
|
|
|
ULONG Length48;
|
|
|
|
} Memory48;
|
|
|
|
struct {
|
|
|
|
PHYSICAL_ADDRESS Start;
|
|
|
|
ULONG Length64;
|
|
|
|
} Memory64;
|
|
|
|
#endif
|
|
|
|
} u;
|
|
|
|
} CM_PARTIAL_RESOURCE_DESCRIPTOR, *PCM_PARTIAL_RESOURCE_DESCRIPTOR;
|
|
|
|
#include <poppack.h>
|
|
|
|
|
|
|
|
/* CM_PARTIAL_RESOURCE_DESCRIPTOR.Type */
|
|
|
|
#define CmResourceTypeNull 0
|
|
|
|
#define CmResourceTypePort 1
|
|
|
|
#define CmResourceTypeInterrupt 2
|
|
|
|
#define CmResourceTypeMemory 3
|
|
|
|
#define CmResourceTypeDma 4
|
|
|
|
#define CmResourceTypeDeviceSpecific 5
|
|
|
|
#define CmResourceTypeBusNumber 6
|
|
|
|
#define CmResourceTypeMemoryLarge 7
|
2010-03-18 22:45:30 +00:00
|
|
|
#define CmResourceTypeNonArbitrated 128
|
|
|
|
#define CmResourceTypeConfigData 128
|
|
|
|
#define CmResourceTypeDevicePrivate 129
|
|
|
|
#define CmResourceTypePcCardConfig 130
|
|
|
|
#define CmResourceTypeMfCardConfig 131
|
2010-03-13 00:34:48 +00:00
|
|
|
|
|
|
|
/* CM_PARTIAL_RESOURCE_DESCRIPTOR.ShareDisposition */
|
|
|
|
typedef enum _CM_SHARE_DISPOSITION {
|
[XDK]
- Move several definitions to their appropriate places.
- Add DEVICE_FLAGS, InitializeListHead32, AppendTailList, RTL_QUERY_REGISTRY_NOSTRING, NT_VERIFY, NT_VERIFYMSG, NT_VERIFYMSGW, SLIST_ENTRY32, SLIST_HEADER32 and several missing SERVICE_*, CM_*, EISA_* and IRQ_*.
- Update SLIST_HEADER.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46273
2010-03-19 14:10:13 +00:00
|
|
|
CmResourceShareUndetermined = 0,
|
2010-03-13 00:34:48 +00:00
|
|
|
CmResourceShareDeviceExclusive,
|
|
|
|
CmResourceShareDriverExclusive,
|
|
|
|
CmResourceShareShared
|
|
|
|
} CM_SHARE_DISPOSITION;
|
|
|
|
|
|
|
|
/* CM_PARTIAL_RESOURCE_DESCRIPTOR.Flags if Type = CmResourceTypePort */
|
|
|
|
#define CM_RESOURCE_PORT_MEMORY 0x0000
|
|
|
|
#define CM_RESOURCE_PORT_IO 0x0001
|
|
|
|
#define CM_RESOURCE_PORT_10_BIT_DECODE 0x0004
|
|
|
|
#define CM_RESOURCE_PORT_12_BIT_DECODE 0x0008
|
|
|
|
#define CM_RESOURCE_PORT_16_BIT_DECODE 0x0010
|
|
|
|
#define CM_RESOURCE_PORT_POSITIVE_DECODE 0x0020
|
|
|
|
#define CM_RESOURCE_PORT_PASSIVE_DECODE 0x0040
|
|
|
|
#define CM_RESOURCE_PORT_WINDOW_DECODE 0x0080
|
|
|
|
#define CM_RESOURCE_PORT_BAR 0x0100
|
|
|
|
|
|
|
|
/* CM_PARTIAL_RESOURCE_DESCRIPTOR.Flags if Type = CmResourceTypeInterrupt */
|
|
|
|
#define CM_RESOURCE_INTERRUPT_LEVEL_SENSITIVE 0x0000
|
|
|
|
#define CM_RESOURCE_INTERRUPT_LATCHED 0x0001
|
|
|
|
#define CM_RESOURCE_INTERRUPT_MESSAGE 0x0002
|
|
|
|
#define CM_RESOURCE_INTERRUPT_POLICY_INCLUDED 0x0004
|
|
|
|
|
[XDK]
- Move several definitions to their appropriate places.
- Add DEVICE_FLAGS, InitializeListHead32, AppendTailList, RTL_QUERY_REGISTRY_NOSTRING, NT_VERIFY, NT_VERIFYMSG, NT_VERIFYMSGW, SLIST_ENTRY32, SLIST_HEADER32 and several missing SERVICE_*, CM_*, EISA_* and IRQ_*.
- Update SLIST_HEADER.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46273
2010-03-19 14:10:13 +00:00
|
|
|
#define CM_RESOURCE_INTERRUPT_LEVEL_LATCHED_BITS 0x0001
|
|
|
|
|
|
|
|
#define CM_RESOURCE_INTERRUPT_MESSAGE_TOKEN ((ULONG)-2)
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
/* CM_PARTIAL_RESOURCE_DESCRIPTOR.Flags if Type = CmResourceTypeMemory */
|
|
|
|
#define CM_RESOURCE_MEMORY_READ_WRITE 0x0000
|
|
|
|
#define CM_RESOURCE_MEMORY_READ_ONLY 0x0001
|
|
|
|
#define CM_RESOURCE_MEMORY_WRITE_ONLY 0x0002
|
|
|
|
#define CM_RESOURCE_MEMORY_WRITEABILITY_MASK 0x0003
|
|
|
|
#define CM_RESOURCE_MEMORY_PREFETCHABLE 0x0004
|
|
|
|
#define CM_RESOURCE_MEMORY_COMBINEDWRITE 0x0008
|
|
|
|
#define CM_RESOURCE_MEMORY_24 0x0010
|
|
|
|
#define CM_RESOURCE_MEMORY_CACHEABLE 0x0020
|
|
|
|
#define CM_RESOURCE_MEMORY_WINDOW_DECODE 0x0040
|
|
|
|
#define CM_RESOURCE_MEMORY_BAR 0x0080
|
|
|
|
#define CM_RESOURCE_MEMORY_COMPAT_FOR_INACCESSIBLE_RANGE 0x0100
|
|
|
|
|
[XDK]
- Move several definitions to their appropriate places.
- Add DEVICE_FLAGS, InitializeListHead32, AppendTailList, RTL_QUERY_REGISTRY_NOSTRING, NT_VERIFY, NT_VERIFYMSG, NT_VERIFYMSGW, SLIST_ENTRY32, SLIST_HEADER32 and several missing SERVICE_*, CM_*, EISA_* and IRQ_*.
- Update SLIST_HEADER.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46273
2010-03-19 14:10:13 +00:00
|
|
|
#define CM_RESOURCE_MEMORY_LARGE 0x0E00
|
|
|
|
#define CM_RESOURCE_MEMORY_LARGE_40 0x0200
|
|
|
|
#define CM_RESOURCE_MEMORY_LARGE_48 0x0400
|
|
|
|
#define CM_RESOURCE_MEMORY_LARGE_64 0x0800
|
|
|
|
|
|
|
|
#define CM_RESOURCE_MEMORY_LARGE_40_MAXLEN 0x000000FFFFFFFF00
|
|
|
|
#define CM_RESOURCE_MEMORY_LARGE_48_MAXLEN 0x0000FFFFFFFF0000
|
|
|
|
#define CM_RESOURCE_MEMORY_LARGE_64_MAXLEN 0xFFFFFFFF00000000
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
/* CM_PARTIAL_RESOURCE_DESCRIPTOR.Flags if Type = CmResourceTypeDma */
|
|
|
|
#define CM_RESOURCE_DMA_8 0x0000
|
|
|
|
#define CM_RESOURCE_DMA_16 0x0001
|
|
|
|
#define CM_RESOURCE_DMA_32 0x0002
|
|
|
|
#define CM_RESOURCE_DMA_8_AND_16 0x0004
|
|
|
|
#define CM_RESOURCE_DMA_BUS_MASTER 0x0008
|
|
|
|
#define CM_RESOURCE_DMA_TYPE_A 0x0010
|
|
|
|
#define CM_RESOURCE_DMA_TYPE_B 0x0020
|
|
|
|
#define CM_RESOURCE_DMA_TYPE_F 0x0040
|
|
|
|
|
[XDK]
- Move several definitions to their appropriate places.
- Add DEVICE_FLAGS, InitializeListHead32, AppendTailList, RTL_QUERY_REGISTRY_NOSTRING, NT_VERIFY, NT_VERIFYMSG, NT_VERIFYMSGW, SLIST_ENTRY32, SLIST_HEADER32 and several missing SERVICE_*, CM_*, EISA_* and IRQ_*.
- Update SLIST_HEADER.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46273
2010-03-19 14:10:13 +00:00
|
|
|
typedef struct _DEVICE_FLAGS {
|
|
|
|
ULONG Failed:1;
|
|
|
|
ULONG ReadOnly:1;
|
|
|
|
ULONG Removable:1;
|
|
|
|
ULONG ConsoleIn:1;
|
|
|
|
ULONG ConsoleOut:1;
|
|
|
|
ULONG Input:1;
|
|
|
|
ULONG Output:1;
|
|
|
|
} DEVICE_FLAGS, *PDEVICE_FLAGS;
|
|
|
|
|
[EXT2FSD]
- Remove a couple of duplicate definitions (that exist now in wdm.h).
[XDK]
- Move several definitions to their appropriate places.
- Group some related definitions.
- Add vKdPrintEx, DEFINE_GUIDEX, STATICGUIDOF, RTLVERLIB_DDI, LOWBYTE_MASK, FIRSTBYTE, SECONDBYTE, THIRDBYTE, FOURTHBYTE and several missing TRANSACTIONMANAGER_*, TRANSACTION_*, RESOURCEMANAGER_*, ENLISTMENT_*, PFN_NT_*, Nt*, SHORT_*, LONG_*, PFN_RTL_*, LONGLONG_* and Rtl* definitions.
- Fix RtlCheckBit definition.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46276
2010-03-19 20:01:04 +00:00
|
|
|
typedef enum _INTERFACE_TYPE {
|
|
|
|
InterfaceTypeUndefined = -1,
|
|
|
|
Internal,
|
|
|
|
Isa,
|
|
|
|
Eisa,
|
|
|
|
MicroChannel,
|
|
|
|
TurboChannel,
|
|
|
|
PCIBus,
|
|
|
|
VMEBus,
|
|
|
|
NuBus,
|
|
|
|
PCMCIABus,
|
|
|
|
CBus,
|
|
|
|
MPIBus,
|
|
|
|
MPSABus,
|
|
|
|
ProcessorInternal,
|
|
|
|
InternalPowerBus,
|
|
|
|
PNPISABus,
|
|
|
|
PNPBus,
|
|
|
|
Vmcs,
|
|
|
|
MaximumInterfaceType
|
|
|
|
} INTERFACE_TYPE, *PINTERFACE_TYPE;
|
|
|
|
|
[XDK]
- Move several definitions to their appropriate places.
- Add DEVICE_FLAGS, InitializeListHead32, AppendTailList, RTL_QUERY_REGISTRY_NOSTRING, NT_VERIFY, NT_VERIFYMSG, NT_VERIFYMSGW, SLIST_ENTRY32, SLIST_HEADER32 and several missing SERVICE_*, CM_*, EISA_* and IRQ_*.
- Update SLIST_HEADER.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46273
2010-03-19 14:10:13 +00:00
|
|
|
typedef struct _CM_COMPONENT_INFORMATION {
|
|
|
|
DEVICE_FLAGS Flags;
|
|
|
|
ULONG Version;
|
|
|
|
ULONG Key;
|
|
|
|
KAFFINITY AffinityMask;
|
|
|
|
} CM_COMPONENT_INFORMATION, *PCM_COMPONENT_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _CM_ROM_BLOCK {
|
|
|
|
ULONG Address;
|
|
|
|
ULONG Size;
|
|
|
|
} CM_ROM_BLOCK, *PCM_ROM_BLOCK;
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
typedef struct _CM_PARTIAL_RESOURCE_LIST {
|
2010-03-18 22:45:30 +00:00
|
|
|
USHORT Version;
|
|
|
|
USHORT Revision;
|
|
|
|
ULONG Count;
|
2010-03-13 00:34:48 +00:00
|
|
|
CM_PARTIAL_RESOURCE_DESCRIPTOR PartialDescriptors[1];
|
|
|
|
} CM_PARTIAL_RESOURCE_LIST, *PCM_PARTIAL_RESOURCE_LIST;
|
|
|
|
|
|
|
|
typedef struct _CM_FULL_RESOURCE_DESCRIPTOR {
|
2010-03-18 22:45:30 +00:00
|
|
|
INTERFACE_TYPE InterfaceType;
|
|
|
|
ULONG BusNumber;
|
|
|
|
CM_PARTIAL_RESOURCE_LIST PartialResourceList;
|
2010-03-13 00:34:48 +00:00
|
|
|
} CM_FULL_RESOURCE_DESCRIPTOR, *PCM_FULL_RESOURCE_DESCRIPTOR;
|
|
|
|
|
|
|
|
typedef struct _CM_RESOURCE_LIST {
|
2010-03-18 22:45:30 +00:00
|
|
|
ULONG Count;
|
|
|
|
CM_FULL_RESOURCE_DESCRIPTOR List[1];
|
2010-03-13 00:34:48 +00:00
|
|
|
} CM_RESOURCE_LIST, *PCM_RESOURCE_LIST;
|
|
|
|
|
[EXT2FSD]
- Remove a couple of duplicate definitions (that exist now in wdm.h).
[XDK]
- Move several definitions to their appropriate places.
- Group some related definitions.
- Add vKdPrintEx, DEFINE_GUIDEX, STATICGUIDOF, RTLVERLIB_DDI, LOWBYTE_MASK, FIRSTBYTE, SECONDBYTE, THIRDBYTE, FOURTHBYTE and several missing TRANSACTIONMANAGER_*, TRANSACTION_*, RESOURCEMANAGER_*, ENLISTMENT_*, PFN_NT_*, Nt*, SHORT_*, LONG_*, PFN_RTL_*, LONGLONG_* and Rtl* definitions.
- Fix RtlCheckBit definition.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46276
2010-03-19 20:01:04 +00:00
|
|
|
typedef struct _PNP_BUS_INFORMATION {
|
|
|
|
GUID BusTypeGuid;
|
|
|
|
INTERFACE_TYPE LegacyBusType;
|
|
|
|
ULONG BusNumber;
|
|
|
|
} PNP_BUS_INFORMATION, *PPNP_BUS_INFORMATION;
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
#include <pshpack1.h>
|
[XDK]
- Move several definitions to their appropriate places.
- Add DEVICE_FLAGS, InitializeListHead32, AppendTailList, RTL_QUERY_REGISTRY_NOSTRING, NT_VERIFY, NT_VERIFYMSG, NT_VERIFYMSGW, SLIST_ENTRY32, SLIST_HEADER32 and several missing SERVICE_*, CM_*, EISA_* and IRQ_*.
- Update SLIST_HEADER.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46273
2010-03-19 14:10:13 +00:00
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
typedef struct _CM_INT13_DRIVE_PARAMETER {
|
2010-03-18 22:45:30 +00:00
|
|
|
USHORT DriveSelect;
|
|
|
|
ULONG MaxCylinders;
|
|
|
|
USHORT SectorsPerTrack;
|
|
|
|
USHORT MaxHeads;
|
|
|
|
USHORT NumberDrives;
|
2010-03-13 00:34:48 +00:00
|
|
|
} CM_INT13_DRIVE_PARAMETER, *PCM_INT13_DRIVE_PARAMETER;
|
|
|
|
|
[XDK]
- Move several definitions to their appropriate places.
- Add DEVICE_FLAGS, InitializeListHead32, AppendTailList, RTL_QUERY_REGISTRY_NOSTRING, NT_VERIFY, NT_VERIFYMSG, NT_VERIFYMSGW, SLIST_ENTRY32, SLIST_HEADER32 and several missing SERVICE_*, CM_*, EISA_* and IRQ_*.
- Update SLIST_HEADER.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46273
2010-03-19 14:10:13 +00:00
|
|
|
typedef struct _CM_MCA_POS_DATA {
|
|
|
|
USHORT AdapterId;
|
|
|
|
UCHAR PosData1;
|
|
|
|
UCHAR PosData2;
|
|
|
|
UCHAR PosData3;
|
|
|
|
UCHAR PosData4;
|
|
|
|
} CM_MCA_POS_DATA, *PCM_MCA_POS_DATA;
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
typedef struct _CM_PNP_BIOS_DEVICE_NODE {
|
|
|
|
USHORT Size;
|
|
|
|
UCHAR Node;
|
|
|
|
ULONG ProductId;
|
|
|
|
UCHAR DeviceType[3];
|
|
|
|
USHORT DeviceAttributes;
|
|
|
|
} CM_PNP_BIOS_DEVICE_NODE,*PCM_PNP_BIOS_DEVICE_NODE;
|
|
|
|
|
|
|
|
typedef struct _CM_PNP_BIOS_INSTALLATION_CHECK {
|
|
|
|
UCHAR Signature[4];
|
|
|
|
UCHAR Revision;
|
|
|
|
UCHAR Length;
|
|
|
|
USHORT ControlField;
|
|
|
|
UCHAR Checksum;
|
|
|
|
ULONG EventFlagAddress;
|
|
|
|
USHORT RealModeEntryOffset;
|
|
|
|
USHORT RealModeEntrySegment;
|
|
|
|
USHORT ProtectedModeEntryOffset;
|
|
|
|
ULONG ProtectedModeCodeBaseAddress;
|
|
|
|
ULONG OemDeviceId;
|
|
|
|
USHORT RealModeDataBaseAddress;
|
|
|
|
ULONG ProtectedModeDataBaseAddress;
|
|
|
|
} CM_PNP_BIOS_INSTALLATION_CHECK, *PCM_PNP_BIOS_INSTALLATION_CHECK;
|
[XDK]
- Move several definitions to their appropriate places.
- Add DEVICE_FLAGS, InitializeListHead32, AppendTailList, RTL_QUERY_REGISTRY_NOSTRING, NT_VERIFY, NT_VERIFYMSG, NT_VERIFYMSGW, SLIST_ENTRY32, SLIST_HEADER32 and several missing SERVICE_*, CM_*, EISA_* and IRQ_*.
- Update SLIST_HEADER.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46273
2010-03-19 14:10:13 +00:00
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
#include <poppack.h>
|
|
|
|
|
|
|
|
typedef struct _CM_DISK_GEOMETRY_DEVICE_DATA {
|
2010-03-18 22:45:30 +00:00
|
|
|
ULONG BytesPerSector;
|
|
|
|
ULONG NumberOfCylinders;
|
|
|
|
ULONG SectorsPerTrack;
|
|
|
|
ULONG NumberOfHeads;
|
2010-03-13 00:34:48 +00:00
|
|
|
} CM_DISK_GEOMETRY_DEVICE_DATA, *PCM_DISK_GEOMETRY_DEVICE_DATA;
|
|
|
|
|
|
|
|
typedef struct _CM_KEYBOARD_DEVICE_DATA {
|
2010-03-18 22:45:30 +00:00
|
|
|
USHORT Version;
|
|
|
|
USHORT Revision;
|
|
|
|
UCHAR Type;
|
|
|
|
UCHAR Subtype;
|
|
|
|
USHORT KeyboardFlags;
|
2010-03-13 00:34:48 +00:00
|
|
|
} CM_KEYBOARD_DEVICE_DATA, *PCM_KEYBOARD_DEVICE_DATA;
|
|
|
|
|
|
|
|
typedef struct _CM_SCSI_DEVICE_DATA {
|
2010-03-18 22:45:30 +00:00
|
|
|
USHORT Version;
|
|
|
|
USHORT Revision;
|
|
|
|
UCHAR HostIdentifier;
|
2010-03-13 00:34:48 +00:00
|
|
|
} CM_SCSI_DEVICE_DATA, *PCM_SCSI_DEVICE_DATA;
|
|
|
|
|
[XDK]
- Move several definitions to their appropriate places.
- Add DEVICE_FLAGS, InitializeListHead32, AppendTailList, RTL_QUERY_REGISTRY_NOSTRING, NT_VERIFY, NT_VERIFYMSG, NT_VERIFYMSGW, SLIST_ENTRY32, SLIST_HEADER32 and several missing SERVICE_*, CM_*, EISA_* and IRQ_*.
- Update SLIST_HEADER.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46273
2010-03-19 14:10:13 +00:00
|
|
|
typedef struct _CM_VIDEO_DEVICE_DATA {
|
|
|
|
USHORT Version;
|
|
|
|
USHORT Revision;
|
|
|
|
ULONG VideoClock;
|
|
|
|
} CM_VIDEO_DEVICE_DATA, *PCM_VIDEO_DEVICE_DATA;
|
|
|
|
|
|
|
|
typedef struct _CM_SONIC_DEVICE_DATA {
|
|
|
|
USHORT Version;
|
|
|
|
USHORT Revision;
|
|
|
|
USHORT DataConfigurationRegister;
|
|
|
|
UCHAR EthernetAddress[8];
|
|
|
|
} CM_SONIC_DEVICE_DATA, *PCM_SONIC_DEVICE_DATA;
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
typedef struct _CM_SERIAL_DEVICE_DATA {
|
2010-03-18 22:45:30 +00:00
|
|
|
USHORT Version;
|
|
|
|
USHORT Revision;
|
|
|
|
ULONG BaudClock;
|
2010-03-13 00:34:48 +00:00
|
|
|
} CM_SERIAL_DEVICE_DATA, *PCM_SERIAL_DEVICE_DATA;
|
|
|
|
|
[XDK]
- Move several definitions to their appropriate places.
- Add DEVICE_FLAGS, InitializeListHead32, AppendTailList, RTL_QUERY_REGISTRY_NOSTRING, NT_VERIFY, NT_VERIFYMSG, NT_VERIFYMSGW, SLIST_ENTRY32, SLIST_HEADER32 and several missing SERVICE_*, CM_*, EISA_* and IRQ_*.
- Update SLIST_HEADER.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46273
2010-03-19 14:10:13 +00:00
|
|
|
typedef struct _CM_MONITOR_DEVICE_DATA {
|
|
|
|
USHORT Version;
|
|
|
|
USHORT Revision;
|
|
|
|
USHORT HorizontalScreenSize;
|
|
|
|
USHORT VerticalScreenSize;
|
|
|
|
USHORT HorizontalResolution;
|
|
|
|
USHORT VerticalResolution;
|
|
|
|
USHORT HorizontalDisplayTimeLow;
|
|
|
|
USHORT HorizontalDisplayTime;
|
|
|
|
USHORT HorizontalDisplayTimeHigh;
|
|
|
|
USHORT HorizontalBackPorchLow;
|
|
|
|
USHORT HorizontalBackPorch;
|
|
|
|
USHORT HorizontalBackPorchHigh;
|
|
|
|
USHORT HorizontalFrontPorchLow;
|
|
|
|
USHORT HorizontalFrontPorch;
|
|
|
|
USHORT HorizontalFrontPorchHigh;
|
|
|
|
USHORT HorizontalSyncLow;
|
|
|
|
USHORT HorizontalSync;
|
|
|
|
USHORT HorizontalSyncHigh;
|
|
|
|
USHORT VerticalBackPorchLow;
|
|
|
|
USHORT VerticalBackPorch;
|
|
|
|
USHORT VerticalBackPorchHigh;
|
|
|
|
USHORT VerticalFrontPorchLow;
|
|
|
|
USHORT VerticalFrontPorch;
|
|
|
|
USHORT VerticalFrontPorchHigh;
|
|
|
|
USHORT VerticalSyncLow;
|
|
|
|
USHORT VerticalSync;
|
|
|
|
USHORT VerticalSyncHigh;
|
|
|
|
} CM_MONITOR_DEVICE_DATA, *PCM_MONITOR_DEVICE_DATA;
|
|
|
|
|
|
|
|
typedef struct _CM_FLOPPY_DEVICE_DATA {
|
|
|
|
USHORT Version;
|
|
|
|
USHORT Revision;
|
|
|
|
CHAR Size[8];
|
|
|
|
ULONG MaxDensity;
|
|
|
|
ULONG MountDensity;
|
|
|
|
UCHAR StepRateHeadUnloadTime;
|
|
|
|
UCHAR HeadLoadTime;
|
|
|
|
UCHAR MotorOffTime;
|
|
|
|
UCHAR SectorLengthCode;
|
|
|
|
UCHAR SectorPerTrack;
|
|
|
|
UCHAR ReadWriteGapLength;
|
|
|
|
UCHAR DataTransferLength;
|
|
|
|
UCHAR FormatGapLength;
|
|
|
|
UCHAR FormatFillCharacter;
|
|
|
|
UCHAR HeadSettleTime;
|
|
|
|
UCHAR MotorSettleTime;
|
|
|
|
UCHAR MaximumTrackValue;
|
|
|
|
UCHAR DataTransferRate;
|
|
|
|
} CM_FLOPPY_DEVICE_DATA, *PCM_FLOPPY_DEVICE_DATA;
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
typedef enum _KEY_INFORMATION_CLASS {
|
|
|
|
KeyBasicInformation,
|
|
|
|
KeyNodeInformation,
|
|
|
|
KeyFullInformation,
|
|
|
|
KeyNameInformation,
|
|
|
|
KeyCachedInformation,
|
2010-03-19 11:36:36 +00:00
|
|
|
KeyFlagsInformation,
|
|
|
|
KeyVirtualizationInformation,
|
|
|
|
KeyHandleTagsInformation,
|
|
|
|
MaxKeyInfoClass
|
2010-03-13 00:34:48 +00:00
|
|
|
} KEY_INFORMATION_CLASS;
|
|
|
|
|
|
|
|
typedef struct _KEY_BASIC_INFORMATION {
|
2010-03-18 22:45:30 +00:00
|
|
|
LARGE_INTEGER LastWriteTime;
|
|
|
|
ULONG TitleIndex;
|
|
|
|
ULONG NameLength;
|
|
|
|
WCHAR Name[1];
|
2010-03-13 00:34:48 +00:00
|
|
|
} KEY_BASIC_INFORMATION, *PKEY_BASIC_INFORMATION;
|
|
|
|
|
[XDK]
- Move several definitions to their appropriate places.
- Add MONITOR_DISPLAY_STATE, COUNTED_REASON_CONTEXT, PowerRequestMaximum, SET_POWER_SETTING_VALUE, NOTIFY_USER_POWER_SETTING and several missing GUIDs, APPLICATIONLAUNCH_SETTING_VALUEKEY_*, PERFSTATE_POLICY_CHANGE_*, PROCESSOR_PERF_BOOST_POLICY_*, CORE_PARKING_POLICY_CHANGE_*, POWER_*, SYSTEM_POWER_*, IOCTL_* and DIAGNOSTIC_REASON_*
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46272
2010-03-19 12:47:29 +00:00
|
|
|
typedef struct _KEY_CONTROL_FLAGS_INFORMATION {
|
|
|
|
ULONG ControlFlags;
|
|
|
|
} KEY_CONTROL_FLAGS_INFORMATION, *PKEY_CONTROL_FLAGS_INFORMATION;
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
typedef struct _KEY_FULL_INFORMATION {
|
2010-03-18 22:45:30 +00:00
|
|
|
LARGE_INTEGER LastWriteTime;
|
|
|
|
ULONG TitleIndex;
|
|
|
|
ULONG ClassOffset;
|
|
|
|
ULONG ClassLength;
|
|
|
|
ULONG SubKeys;
|
|
|
|
ULONG MaxNameLen;
|
|
|
|
ULONG MaxClassLen;
|
|
|
|
ULONG Values;
|
|
|
|
ULONG MaxValueNameLen;
|
|
|
|
ULONG MaxValueDataLen;
|
|
|
|
WCHAR Class[1];
|
2010-03-13 00:34:48 +00:00
|
|
|
} KEY_FULL_INFORMATION, *PKEY_FULL_INFORMATION;
|
|
|
|
|
[XDK]
- Move several definitions to their appropriate places.
- Add MONITOR_DISPLAY_STATE, COUNTED_REASON_CONTEXT, PowerRequestMaximum, SET_POWER_SETTING_VALUE, NOTIFY_USER_POWER_SETTING and several missing GUIDs, APPLICATIONLAUNCH_SETTING_VALUEKEY_*, PERFSTATE_POLICY_CHANGE_*, PROCESSOR_PERF_BOOST_POLICY_*, CORE_PARKING_POLICY_CHANGE_*, POWER_*, SYSTEM_POWER_*, IOCTL_* and DIAGNOSTIC_REASON_*
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46272
2010-03-19 12:47:29 +00:00
|
|
|
typedef struct _KEY_HANDLE_TAGS_INFORMATION {
|
|
|
|
ULONG HandleTags;
|
|
|
|
} KEY_HANDLE_TAGS_INFORMATION, *PKEY_HANDLE_TAGS_INFORMATION;
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
typedef struct _KEY_NODE_INFORMATION {
|
2010-03-18 22:45:30 +00:00
|
|
|
LARGE_INTEGER LastWriteTime;
|
|
|
|
ULONG TitleIndex;
|
|
|
|
ULONG ClassOffset;
|
|
|
|
ULONG ClassLength;
|
|
|
|
ULONG NameLength;
|
|
|
|
WCHAR Name[1];
|
2010-03-13 00:34:48 +00:00
|
|
|
} KEY_NODE_INFORMATION, *PKEY_NODE_INFORMATION;
|
|
|
|
|
[XDK]
- Move several definitions to their appropriate places.
- Add MONITOR_DISPLAY_STATE, COUNTED_REASON_CONTEXT, PowerRequestMaximum, SET_POWER_SETTING_VALUE, NOTIFY_USER_POWER_SETTING and several missing GUIDs, APPLICATIONLAUNCH_SETTING_VALUEKEY_*, PERFSTATE_POLICY_CHANGE_*, PROCESSOR_PERF_BOOST_POLICY_*, CORE_PARKING_POLICY_CHANGE_*, POWER_*, SYSTEM_POWER_*, IOCTL_* and DIAGNOSTIC_REASON_*
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46272
2010-03-19 12:47:29 +00:00
|
|
|
typedef enum _KEY_SET_INFORMATION_CLASS {
|
|
|
|
KeyWriteTimeInformation,
|
|
|
|
KeyWow64FlagsInformation,
|
|
|
|
KeyControlFlagsInformation,
|
|
|
|
KeySetVirtualizationInformation,
|
|
|
|
KeySetDebugInformation,
|
|
|
|
KeySetHandleTagsInformation,
|
|
|
|
MaxKeySetInfoClass
|
|
|
|
} KEY_SET_INFORMATION_CLASS;
|
|
|
|
|
|
|
|
typedef struct _KEY_SET_VIRTUALIZATION_INFORMATION {
|
|
|
|
ULONG VirtualTarget:1;
|
|
|
|
ULONG VirtualStore:1;
|
|
|
|
ULONG VirtualSource:1;
|
|
|
|
ULONG Reserved:29;
|
|
|
|
} KEY_SET_VIRTUALIZATION_INFORMATION, *PKEY_SET_VIRTUALIZATION_INFORMATION;
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
typedef struct _KEY_VALUE_BASIC_INFORMATION {
|
2010-03-18 22:45:30 +00:00
|
|
|
ULONG TitleIndex;
|
|
|
|
ULONG Type;
|
|
|
|
ULONG NameLength;
|
|
|
|
WCHAR Name[1];
|
2010-03-13 00:34:48 +00:00
|
|
|
} KEY_VALUE_BASIC_INFORMATION, *PKEY_VALUE_BASIC_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _KEY_VALUE_FULL_INFORMATION {
|
2010-03-18 22:45:30 +00:00
|
|
|
ULONG TitleIndex;
|
|
|
|
ULONG Type;
|
|
|
|
ULONG DataOffset;
|
|
|
|
ULONG DataLength;
|
|
|
|
ULONG NameLength;
|
|
|
|
WCHAR Name[1];
|
2010-03-13 00:34:48 +00:00
|
|
|
} KEY_VALUE_FULL_INFORMATION, *PKEY_VALUE_FULL_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _KEY_VALUE_PARTIAL_INFORMATION {
|
2010-03-18 22:45:30 +00:00
|
|
|
ULONG TitleIndex;
|
|
|
|
ULONG Type;
|
|
|
|
ULONG DataLength;
|
2012-01-22 14:43:53 +00:00
|
|
|
_Field_size_bytes_(DataLength) UCHAR Data[1];
|
2010-03-13 00:34:48 +00:00
|
|
|
} KEY_VALUE_PARTIAL_INFORMATION, *PKEY_VALUE_PARTIAL_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _KEY_VALUE_PARTIAL_INFORMATION_ALIGN64 {
|
2010-03-18 22:45:30 +00:00
|
|
|
ULONG Type;
|
|
|
|
ULONG DataLength;
|
2012-01-22 14:43:53 +00:00
|
|
|
_Field_size_bytes_(DataLength) UCHAR Data[1];
|
2010-03-13 00:34:48 +00:00
|
|
|
} KEY_VALUE_PARTIAL_INFORMATION_ALIGN64, *PKEY_VALUE_PARTIAL_INFORMATION_ALIGN64;
|
|
|
|
|
|
|
|
typedef struct _KEY_VALUE_ENTRY {
|
2010-03-18 22:45:30 +00:00
|
|
|
PUNICODE_STRING ValueName;
|
|
|
|
ULONG DataLength;
|
|
|
|
ULONG DataOffset;
|
|
|
|
ULONG Type;
|
2010-03-13 00:34:48 +00:00
|
|
|
} KEY_VALUE_ENTRY, *PKEY_VALUE_ENTRY;
|
|
|
|
|
|
|
|
typedef enum _KEY_VALUE_INFORMATION_CLASS {
|
|
|
|
KeyValueBasicInformation,
|
|
|
|
KeyValueFullInformation,
|
|
|
|
KeyValuePartialInformation,
|
|
|
|
KeyValueFullInformationAlign64,
|
|
|
|
KeyValuePartialInformationAlign64
|
|
|
|
} KEY_VALUE_INFORMATION_CLASS;
|
|
|
|
|
[XDK]
- Move several definitions to their appropriate places.
- Add MONITOR_DISPLAY_STATE, COUNTED_REASON_CONTEXT, PowerRequestMaximum, SET_POWER_SETTING_VALUE, NOTIFY_USER_POWER_SETTING and several missing GUIDs, APPLICATIONLAUNCH_SETTING_VALUEKEY_*, PERFSTATE_POLICY_CHANGE_*, PROCESSOR_PERF_BOOST_POLICY_*, CORE_PARKING_POLICY_CHANGE_*, POWER_*, SYSTEM_POWER_*, IOCTL_* and DIAGNOSTIC_REASON_*
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46272
2010-03-19 12:47:29 +00:00
|
|
|
typedef struct _KEY_WOW64_FLAGS_INFORMATION {
|
|
|
|
ULONG UserFlags;
|
|
|
|
} KEY_WOW64_FLAGS_INFORMATION, *PKEY_WOW64_FLAGS_INFORMATION;
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
typedef struct _KEY_WRITE_TIME_INFORMATION {
|
2010-03-18 22:45:30 +00:00
|
|
|
LARGE_INTEGER LastWriteTime;
|
2010-03-13 00:34:48 +00:00
|
|
|
} KEY_WRITE_TIME_INFORMATION, *PKEY_WRITE_TIME_INFORMATION;
|
|
|
|
|
2014-01-07 20:17:01 +00:00
|
|
|
#if (NTDDI_VERSION < NTDDI_VISTA)
|
|
|
|
typedef struct _KEY_USER_FLAGS_INFORMATION {
|
|
|
|
ULONG UserFlags;
|
|
|
|
} KEY_USER_FLAGS_INFORMATION, *PKEY_USER_FLAGS_INFORMATION;
|
|
|
|
#endif
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
typedef enum _REG_NOTIFY_CLASS {
|
|
|
|
RegNtDeleteKey,
|
|
|
|
RegNtPreDeleteKey = RegNtDeleteKey,
|
|
|
|
RegNtSetValueKey,
|
|
|
|
RegNtPreSetValueKey = RegNtSetValueKey,
|
|
|
|
RegNtDeleteValueKey,
|
|
|
|
RegNtPreDeleteValueKey = RegNtDeleteValueKey,
|
|
|
|
RegNtSetInformationKey,
|
|
|
|
RegNtPreSetInformationKey = RegNtSetInformationKey,
|
|
|
|
RegNtRenameKey,
|
|
|
|
RegNtPreRenameKey = RegNtRenameKey,
|
|
|
|
RegNtEnumerateKey,
|
|
|
|
RegNtPreEnumerateKey = RegNtEnumerateKey,
|
|
|
|
RegNtEnumerateValueKey,
|
|
|
|
RegNtPreEnumerateValueKey = RegNtEnumerateValueKey,
|
|
|
|
RegNtQueryKey,
|
|
|
|
RegNtPreQueryKey = RegNtQueryKey,
|
|
|
|
RegNtQueryValueKey,
|
|
|
|
RegNtPreQueryValueKey = RegNtQueryValueKey,
|
|
|
|
RegNtQueryMultipleValueKey,
|
|
|
|
RegNtPreQueryMultipleValueKey = RegNtQueryMultipleValueKey,
|
|
|
|
RegNtPreCreateKey,
|
|
|
|
RegNtPostCreateKey,
|
|
|
|
RegNtPreOpenKey,
|
|
|
|
RegNtPostOpenKey,
|
|
|
|
RegNtKeyHandleClose,
|
|
|
|
RegNtPreKeyHandleClose = RegNtKeyHandleClose,
|
|
|
|
RegNtPostDeleteKey,
|
|
|
|
RegNtPostSetValueKey,
|
|
|
|
RegNtPostDeleteValueKey,
|
|
|
|
RegNtPostSetInformationKey,
|
|
|
|
RegNtPostRenameKey,
|
|
|
|
RegNtPostEnumerateKey,
|
|
|
|
RegNtPostEnumerateValueKey,
|
|
|
|
RegNtPostQueryKey,
|
|
|
|
RegNtPostQueryValueKey,
|
|
|
|
RegNtPostQueryMultipleValueKey,
|
|
|
|
RegNtPostKeyHandleClose,
|
|
|
|
RegNtPreCreateKeyEx,
|
|
|
|
RegNtPostCreateKeyEx,
|
|
|
|
RegNtPreOpenKeyEx,
|
|
|
|
RegNtPostOpenKeyEx,
|
|
|
|
RegNtPreFlushKey,
|
|
|
|
RegNtPostFlushKey,
|
|
|
|
RegNtPreLoadKey,
|
|
|
|
RegNtPostLoadKey,
|
|
|
|
RegNtPreUnLoadKey,
|
|
|
|
RegNtPostUnLoadKey,
|
|
|
|
RegNtPreQueryKeySecurity,
|
|
|
|
RegNtPostQueryKeySecurity,
|
|
|
|
RegNtPreSetKeySecurity,
|
|
|
|
RegNtPostSetKeySecurity,
|
|
|
|
RegNtCallbackObjectContextCleanup,
|
|
|
|
RegNtPreRestoreKey,
|
|
|
|
RegNtPostRestoreKey,
|
|
|
|
RegNtPreSaveKey,
|
|
|
|
RegNtPostSaveKey,
|
|
|
|
RegNtPreReplaceKey,
|
|
|
|
RegNtPostReplaceKey,
|
|
|
|
MaxRegNtNotifyClass
|
|
|
|
} REG_NOTIFY_CLASS, *PREG_NOTIFY_CLASS;
|
|
|
|
|
2012-01-22 14:43:53 +00:00
|
|
|
_IRQL_requires_same_
|
|
|
|
_Function_class_(EX_CALLBACK_FUNCTION)
|
2010-03-13 00:34:48 +00:00
|
|
|
typedef NTSTATUS
|
[DDK]
- Fix PIO_CSQ_INSERT_IRP_EX redefinition.
[NTDDK]
- Remove a couple of duplicate definitions.
[XDK]
- Move several definitions to their appropriate places.
- Add COMPUTE_PAGES_SPANNED, NODE_REQUIREMENT, MM_ANY_NODE_OK, PNTFS_DEREF_EXPORTED_SECURITY_DESCRIPTOR, PsWrapApcWow64Thread, IRP_MN_DEVICE_ENUMERATED, USE_DMA_MACROS, NO_LEGACY_DRIVERS, FO_FLAGS_VALID_ONLY_DURING_CREATE, LOADER_PARTITION_INFORMATION_EX, BOOTDISK_INFORMATION_LITE, IO_CSQ_INSERT_IRP_EX, STATUS_CONTINUE_COMPLETION and several missing Ex*, REG_*, Cm*, Mm*, SL_*, Io*, IO_*, CONNECT_*, WDM_* and WMI* definitions.
- Update ExGetCurrentResourceThread and PADAPTER_OBJECT.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46290
2010-03-20 23:01:57 +00:00
|
|
|
(NTAPI EX_CALLBACK_FUNCTION)(
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ PVOID CallbackContext,
|
|
|
|
_In_opt_ PVOID Argument1,
|
|
|
|
_In_opt_ PVOID Argument2);
|
[DDK]
- Fix PIO_CSQ_INSERT_IRP_EX redefinition.
[NTDDK]
- Remove a couple of duplicate definitions.
[XDK]
- Move several definitions to their appropriate places.
- Add COMPUTE_PAGES_SPANNED, NODE_REQUIREMENT, MM_ANY_NODE_OK, PNTFS_DEREF_EXPORTED_SECURITY_DESCRIPTOR, PsWrapApcWow64Thread, IRP_MN_DEVICE_ENUMERATED, USE_DMA_MACROS, NO_LEGACY_DRIVERS, FO_FLAGS_VALID_ONLY_DURING_CREATE, LOADER_PARTITION_INFORMATION_EX, BOOTDISK_INFORMATION_LITE, IO_CSQ_INSERT_IRP_EX, STATUS_CONTINUE_COMPLETION and several missing Ex*, REG_*, Cm*, Mm*, SL_*, Io*, IO_*, CONNECT_*, WDM_* and WMI* definitions.
- Update ExGetCurrentResourceThread and PADAPTER_OBJECT.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46290
2010-03-20 23:01:57 +00:00
|
|
|
typedef EX_CALLBACK_FUNCTION *PEX_CALLBACK_FUNCTION;
|
2010-03-13 00:34:48 +00:00
|
|
|
|
|
|
|
typedef struct _REG_DELETE_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_DELETE_KEY_INFORMATION, *PREG_DELETE_KEY_INFORMATION
|
|
|
|
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
|
|
|
, REG_FLUSH_KEY_INFORMATION, *PREG_FLUSH_KEY_INFORMATION
|
|
|
|
#endif
|
|
|
|
;
|
|
|
|
|
|
|
|
typedef struct _REG_SET_VALUE_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
PUNICODE_STRING ValueName;
|
|
|
|
ULONG TitleIndex;
|
|
|
|
ULONG Type;
|
|
|
|
PVOID Data;
|
|
|
|
ULONG DataSize;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_SET_VALUE_KEY_INFORMATION, *PREG_SET_VALUE_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_DELETE_VALUE_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
PUNICODE_STRING ValueName;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_DELETE_VALUE_KEY_INFORMATION, *PREG_DELETE_VALUE_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_SET_INFORMATION_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
KEY_SET_INFORMATION_CLASS KeySetInformationClass;
|
|
|
|
PVOID KeySetInformation;
|
|
|
|
ULONG KeySetInformationLength;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_SET_INFORMATION_KEY_INFORMATION, *PREG_SET_INFORMATION_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_ENUMERATE_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
ULONG Index;
|
|
|
|
KEY_INFORMATION_CLASS KeyInformationClass;
|
|
|
|
PVOID KeyInformation;
|
|
|
|
ULONG Length;
|
|
|
|
PULONG ResultLength;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_ENUMERATE_KEY_INFORMATION, *PREG_ENUMERATE_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_ENUMERATE_VALUE_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
ULONG Index;
|
|
|
|
KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass;
|
|
|
|
PVOID KeyValueInformation;
|
|
|
|
ULONG Length;
|
|
|
|
PULONG ResultLength;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_ENUMERATE_VALUE_KEY_INFORMATION, *PREG_ENUMERATE_VALUE_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_QUERY_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
KEY_INFORMATION_CLASS KeyInformationClass;
|
|
|
|
PVOID KeyInformation;
|
|
|
|
ULONG Length;
|
|
|
|
PULONG ResultLength;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_QUERY_KEY_INFORMATION, *PREG_QUERY_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_QUERY_VALUE_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
PUNICODE_STRING ValueName;
|
|
|
|
KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass;
|
|
|
|
PVOID KeyValueInformation;
|
|
|
|
ULONG Length;
|
|
|
|
PULONG ResultLength;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_QUERY_VALUE_KEY_INFORMATION, *PREG_QUERY_VALUE_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_QUERY_MULTIPLE_VALUE_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
PKEY_VALUE_ENTRY ValueEntries;
|
|
|
|
ULONG EntryCount;
|
|
|
|
PVOID ValueBuffer;
|
|
|
|
PULONG BufferLength;
|
|
|
|
PULONG RequiredBufferLength;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_QUERY_MULTIPLE_VALUE_KEY_INFORMATION, *PREG_QUERY_MULTIPLE_VALUE_KEY_INFORMATION;
|
|
|
|
|
[DDK]
- Fix PIO_CSQ_INSERT_IRP_EX redefinition.
[NTDDK]
- Remove a couple of duplicate definitions.
[XDK]
- Move several definitions to their appropriate places.
- Add COMPUTE_PAGES_SPANNED, NODE_REQUIREMENT, MM_ANY_NODE_OK, PNTFS_DEREF_EXPORTED_SECURITY_DESCRIPTOR, PsWrapApcWow64Thread, IRP_MN_DEVICE_ENUMERATED, USE_DMA_MACROS, NO_LEGACY_DRIVERS, FO_FLAGS_VALID_ONLY_DURING_CREATE, LOADER_PARTITION_INFORMATION_EX, BOOTDISK_INFORMATION_LITE, IO_CSQ_INSERT_IRP_EX, STATUS_CONTINUE_COMPLETION and several missing Ex*, REG_*, Cm*, Mm*, SL_*, Io*, IO_*, CONNECT_*, WDM_* and WMI* definitions.
- Update ExGetCurrentResourceThread and PADAPTER_OBJECT.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46290
2010-03-20 23:01:57 +00:00
|
|
|
typedef struct _REG_RENAME_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
PUNICODE_STRING NewName;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_RENAME_KEY_INFORMATION, *PREG_RENAME_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_CREATE_KEY_INFORMATION {
|
|
|
|
PUNICODE_STRING CompleteName;
|
|
|
|
PVOID RootObject;
|
|
|
|
PVOID ObjectType;
|
|
|
|
ULONG CreateOptions;
|
|
|
|
PUNICODE_STRING Class;
|
|
|
|
PVOID SecurityDescriptor;
|
|
|
|
PVOID SecurityQualityOfService;
|
|
|
|
ACCESS_MASK DesiredAccess;
|
|
|
|
ACCESS_MASK GrantedAccess;
|
|
|
|
PULONG Disposition;
|
|
|
|
PVOID *ResultObject;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID RootObjectContext;
|
|
|
|
PVOID Transaction;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_CREATE_KEY_INFORMATION, REG_OPEN_KEY_INFORMATION,*PREG_CREATE_KEY_INFORMATION, *PREG_OPEN_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_CREATE_KEY_INFORMATION_V1 {
|
|
|
|
PUNICODE_STRING CompleteName;
|
|
|
|
PVOID RootObject;
|
|
|
|
PVOID ObjectType;
|
|
|
|
ULONG Options;
|
|
|
|
PUNICODE_STRING Class;
|
|
|
|
PVOID SecurityDescriptor;
|
|
|
|
PVOID SecurityQualityOfService;
|
|
|
|
ACCESS_MASK DesiredAccess;
|
|
|
|
ACCESS_MASK GrantedAccess;
|
|
|
|
PULONG Disposition;
|
|
|
|
PVOID *ResultObject;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID RootObjectContext;
|
|
|
|
PVOID Transaction;
|
|
|
|
ULONG_PTR Version;
|
|
|
|
PUNICODE_STRING RemainingName;
|
|
|
|
ULONG Wow64Flags;
|
|
|
|
ULONG Attributes;
|
|
|
|
KPROCESSOR_MODE CheckAccessMode;
|
|
|
|
} REG_CREATE_KEY_INFORMATION_V1, REG_OPEN_KEY_INFORMATION_V1,*PREG_CREATE_KEY_INFORMATION_V1, *PREG_OPEN_KEY_INFORMATION_V1;
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
typedef struct _REG_PRE_CREATE_KEY_INFORMATION {
|
|
|
|
PUNICODE_STRING CompleteName;
|
|
|
|
} REG_PRE_CREATE_KEY_INFORMATION, REG_PRE_OPEN_KEY_INFORMATION,*PREG_PRE_CREATE_KEY_INFORMATION, *PREG_PRE_OPEN_KEY_INFORMATION;;
|
|
|
|
|
|
|
|
typedef struct _REG_POST_CREATE_KEY_INFORMATION {
|
|
|
|
PUNICODE_STRING CompleteName;
|
|
|
|
PVOID Object;
|
|
|
|
NTSTATUS Status;
|
|
|
|
} REG_POST_CREATE_KEY_INFORMATION,REG_POST_OPEN_KEY_INFORMATION, *PREG_POST_CREATE_KEY_INFORMATION, *PREG_POST_OPEN_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_POST_OPERATION_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
NTSTATUS Status;
|
|
|
|
PVOID PreInformation;
|
|
|
|
NTSTATUS ReturnStatus;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_POST_OPERATION_INFORMATION,*PREG_POST_OPERATION_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_KEY_HANDLE_CLOSE_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_KEY_HANDLE_CLOSE_INFORMATION, *PREG_KEY_HANDLE_CLOSE_INFORMATION;
|
|
|
|
|
[DDK]
- Fix PIO_CSQ_INSERT_IRP_EX redefinition.
[NTDDK]
- Remove a couple of duplicate definitions.
[XDK]
- Move several definitions to their appropriate places.
- Add COMPUTE_PAGES_SPANNED, NODE_REQUIREMENT, MM_ANY_NODE_OK, PNTFS_DEREF_EXPORTED_SECURITY_DESCRIPTOR, PsWrapApcWow64Thread, IRP_MN_DEVICE_ENUMERATED, USE_DMA_MACROS, NO_LEGACY_DRIVERS, FO_FLAGS_VALID_ONLY_DURING_CREATE, LOADER_PARTITION_INFORMATION_EX, BOOTDISK_INFORMATION_LITE, IO_CSQ_INSERT_IRP_EX, STATUS_CONTINUE_COMPLETION and several missing Ex*, REG_*, Cm*, Mm*, SL_*, Io*, IO_*, CONNECT_*, WDM_* and WMI* definitions.
- Update ExGetCurrentResourceThread and PADAPTER_OBJECT.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46290
2010-03-20 23:01:57 +00:00
|
|
|
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
|
|
|
|
|
|
|
typedef struct _REG_LOAD_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
PUNICODE_STRING KeyName;
|
|
|
|
PUNICODE_STRING SourceFile;
|
|
|
|
ULONG Flags;
|
|
|
|
PVOID TrustClassObject;
|
|
|
|
PVOID UserEvent;
|
|
|
|
ACCESS_MASK DesiredAccess;
|
|
|
|
PHANDLE RootHandle;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_LOAD_KEY_INFORMATION, *PREG_LOAD_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_UNLOAD_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
PVOID UserEvent;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_UNLOAD_KEY_INFORMATION, *PREG_UNLOAD_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION, *PREG_CALLBACK_CONTEXT_CLEANUP_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_QUERY_KEY_SECURITY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
PSECURITY_INFORMATION SecurityInformation;
|
|
|
|
PSECURITY_DESCRIPTOR SecurityDescriptor;
|
|
|
|
PULONG Length;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_QUERY_KEY_SECURITY_INFORMATION, *PREG_QUERY_KEY_SECURITY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_SET_KEY_SECURITY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
PSECURITY_INFORMATION SecurityInformation;
|
|
|
|
PSECURITY_DESCRIPTOR SecurityDescriptor;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_SET_KEY_SECURITY_INFORMATION, *PREG_SET_KEY_SECURITY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_RESTORE_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
HANDLE FileHandle;
|
|
|
|
ULONG Flags;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_RESTORE_KEY_INFORMATION, *PREG_RESTORE_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_SAVE_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
HANDLE FileHandle;
|
|
|
|
ULONG Format;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_SAVE_KEY_INFORMATION, *PREG_SAVE_KEY_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _REG_REPLACE_KEY_INFORMATION {
|
|
|
|
PVOID Object;
|
|
|
|
PUNICODE_STRING OldFileName;
|
|
|
|
PUNICODE_STRING NewFileName;
|
|
|
|
PVOID CallContext;
|
|
|
|
PVOID ObjectContext;
|
|
|
|
PVOID Reserved;
|
|
|
|
} REG_REPLACE_KEY_INFORMATION, *PREG_REPLACE_KEY_INFORMATION;
|
|
|
|
|
|
|
|
#endif /* NTDDI_VERSION >= NTDDI_VISTA */
|
|
|
|
|
[XDK]
- Move several definitions to their appropriate places.
- Add DEVICE_FLAGS, InitializeListHead32, AppendTailList, RTL_QUERY_REGISTRY_NOSTRING, NT_VERIFY, NT_VERIFYMSG, NT_VERIFYMSGW, SLIST_ENTRY32, SLIST_HEADER32 and several missing SERVICE_*, CM_*, EISA_* and IRQ_*.
- Update SLIST_HEADER.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46273
2010-03-19 14:10:13 +00:00
|
|
|
#define SERVICE_KERNEL_DRIVER 0x00000001
|
|
|
|
#define SERVICE_FILE_SYSTEM_DRIVER 0x00000002
|
|
|
|
#define SERVICE_ADAPTER 0x00000004
|
|
|
|
#define SERVICE_RECOGNIZER_DRIVER 0x00000008
|
|
|
|
|
|
|
|
#define SERVICE_DRIVER (SERVICE_KERNEL_DRIVER | \
|
|
|
|
SERVICE_FILE_SYSTEM_DRIVER | \
|
|
|
|
SERVICE_RECOGNIZER_DRIVER)
|
|
|
|
|
|
|
|
#define SERVICE_WIN32_OWN_PROCESS 0x00000010
|
|
|
|
#define SERVICE_WIN32_SHARE_PROCESS 0x00000020
|
|
|
|
#define SERVICE_WIN32 (SERVICE_WIN32_OWN_PROCESS | \
|
|
|
|
SERVICE_WIN32_SHARE_PROCESS)
|
|
|
|
|
|
|
|
#define SERVICE_INTERACTIVE_PROCESS 0x00000100
|
|
|
|
|
|
|
|
#define SERVICE_TYPE_ALL (SERVICE_WIN32 | \
|
|
|
|
SERVICE_ADAPTER | \
|
|
|
|
SERVICE_DRIVER | \
|
|
|
|
SERVICE_INTERACTIVE_PROCESS)
|
|
|
|
|
|
|
|
/* Service Start Types */
|
|
|
|
#define SERVICE_BOOT_START 0x00000000
|
|
|
|
#define SERVICE_SYSTEM_START 0x00000001
|
|
|
|
#define SERVICE_AUTO_START 0x00000002
|
|
|
|
#define SERVICE_DEMAND_START 0x00000003
|
|
|
|
#define SERVICE_DISABLED 0x00000004
|
|
|
|
|
|
|
|
#define SERVICE_ERROR_IGNORE 0x00000000
|
|
|
|
#define SERVICE_ERROR_NORMAL 0x00000001
|
|
|
|
#define SERVICE_ERROR_SEVERE 0x00000002
|
|
|
|
#define SERVICE_ERROR_CRITICAL 0x00000003
|
|
|
|
|
|
|
|
typedef enum _CM_SERVICE_NODE_TYPE {
|
|
|
|
DriverType = SERVICE_KERNEL_DRIVER,
|
|
|
|
FileSystemType = SERVICE_FILE_SYSTEM_DRIVER,
|
|
|
|
Win32ServiceOwnProcess = SERVICE_WIN32_OWN_PROCESS,
|
|
|
|
Win32ServiceShareProcess = SERVICE_WIN32_SHARE_PROCESS,
|
|
|
|
AdapterType = SERVICE_ADAPTER,
|
|
|
|
RecognizerType = SERVICE_RECOGNIZER_DRIVER
|
|
|
|
} SERVICE_NODE_TYPE;
|
|
|
|
|
|
|
|
typedef enum _CM_SERVICE_LOAD_TYPE {
|
|
|
|
BootLoad = SERVICE_BOOT_START,
|
|
|
|
SystemLoad = SERVICE_SYSTEM_START,
|
|
|
|
AutoLoad = SERVICE_AUTO_START,
|
|
|
|
DemandLoad = SERVICE_DEMAND_START,
|
|
|
|
DisableLoad = SERVICE_DISABLED
|
|
|
|
} SERVICE_LOAD_TYPE;
|
|
|
|
|
|
|
|
typedef enum _CM_ERROR_CONTROL_TYPE {
|
|
|
|
IgnoreError = SERVICE_ERROR_IGNORE,
|
|
|
|
NormalError = SERVICE_ERROR_NORMAL,
|
|
|
|
SevereError = SERVICE_ERROR_SEVERE,
|
|
|
|
CriticalError = SERVICE_ERROR_CRITICAL
|
|
|
|
} SERVICE_ERROR_TYPE;
|
|
|
|
|
|
|
|
#define CM_SERVICE_NETWORK_BOOT_LOAD 0x00000001
|
|
|
|
#define CM_SERVICE_VIRTUAL_DISK_BOOT_LOAD 0x00000002
|
|
|
|
#define CM_SERVICE_USB_DISK_BOOT_LOAD 0x00000004
|
|
|
|
|
|
|
|
#define CM_SERVICE_VALID_PROMOTION_MASK (CM_SERVICE_NETWORK_BOOT_LOAD | \
|
|
|
|
CM_SERVICE_VIRTUAL_DISK_BOOT_LOAD | \
|
|
|
|
CM_SERVICE_USB_DISK_BOOT_LOAD)
|
|
|
|
|
2010-03-27 10:45:04 +00:00
|
|
|
$endif (_WDMDDK_)
|
2010-03-23 21:04:48 +00:00
|
|
|
$if (_NTDDK_)
|
|
|
|
typedef struct _KEY_NAME_INFORMATION {
|
|
|
|
ULONG NameLength;
|
|
|
|
WCHAR Name[1];
|
|
|
|
} KEY_NAME_INFORMATION, *PKEY_NAME_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _KEY_CACHED_INFORMATION {
|
|
|
|
LARGE_INTEGER LastWriteTime;
|
|
|
|
ULONG TitleIndex;
|
|
|
|
ULONG SubKeys;
|
|
|
|
ULONG MaxNameLen;
|
|
|
|
ULONG Values;
|
|
|
|
ULONG MaxValueNameLen;
|
|
|
|
ULONG MaxValueDataLen;
|
|
|
|
ULONG NameLength;
|
|
|
|
} KEY_CACHED_INFORMATION, *PKEY_CACHED_INFORMATION;
|
2010-03-13 00:34:48 +00:00
|
|
|
|
2010-03-23 21:04:48 +00:00
|
|
|
typedef struct _KEY_VIRTUALIZATION_INFORMATION {
|
|
|
|
ULONG VirtualizationCandidate:1;
|
|
|
|
ULONG VirtualizationEnabled:1;
|
|
|
|
ULONG VirtualTarget:1;
|
|
|
|
ULONG VirtualStore:1;
|
|
|
|
ULONG VirtualSource:1;
|
|
|
|
ULONG Reserved:27;
|
|
|
|
} KEY_VIRTUALIZATION_INFORMATION, *PKEY_VIRTUALIZATION_INFORMATION;
|
|
|
|
|
|
|
|
#define CmResourceTypeMaximum 8
|
|
|
|
|
|
|
|
typedef struct _CM_PCCARD_DEVICE_DATA {
|
|
|
|
UCHAR Flags;
|
|
|
|
UCHAR ErrorCode;
|
|
|
|
USHORT Reserved;
|
|
|
|
ULONG BusData;
|
|
|
|
ULONG DeviceId;
|
|
|
|
ULONG LegacyBaseAddress;
|
|
|
|
UCHAR IRQMap[16];
|
|
|
|
} CM_PCCARD_DEVICE_DATA, *PCM_PCCARD_DEVICE_DATA;
|
|
|
|
|
2010-04-23 10:50:19 +00:00
|
|
|
$endif (_NTDDK_)
|