ReactOS  0.4.14-dev-583-g2a1ba2c
cmtypes.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Configuration Manager Types *
3  ******************************************************************************/
4 
6 /* Resource list definitions */
7 typedef int CM_RESOURCE_TYPE;
8 
9 #define CmResourceTypeNull 0
10 #define CmResourceTypePort 1
11 #define CmResourceTypeInterrupt 2
12 #define CmResourceTypeMemory 3
13 #define CmResourceTypeDma 4
14 #define CmResourceTypeDeviceSpecific 5
15 #define CmResourceTypeBusNumber 6
16 #define CmResourceTypeNonArbitrated 128
17 #define CmResourceTypeConfigData 128
18 #define CmResourceTypeDevicePrivate 129
19 #define CmResourceTypePcCardConfig 130
20 #define CmResourceTypeMfCardConfig 131
21 
22 /* KEY_VALUE_Xxx.Type */
23 #define REG_NONE 0
24 #define REG_SZ 1
25 #define REG_EXPAND_SZ 2
26 #define REG_BINARY 3
27 #define REG_DWORD 4
28 #define REG_DWORD_LITTLE_ENDIAN 4
29 #define REG_DWORD_BIG_ENDIAN 5
30 #define REG_LINK 6
31 #define REG_MULTI_SZ 7
32 #define REG_RESOURCE_LIST 8
33 #define REG_FULL_RESOURCE_DESCRIPTOR 9
34 #define REG_RESOURCE_REQUIREMENTS_LIST 10
35 #define REG_QWORD 11
36 #define REG_QWORD_LITTLE_ENDIAN 11
37 
38 /* Registry Access Rights */
39 #define KEY_QUERY_VALUE (0x0001)
40 #define KEY_SET_VALUE (0x0002)
41 #define KEY_CREATE_SUB_KEY (0x0004)
42 #define KEY_ENUMERATE_SUB_KEYS (0x0008)
43 #define KEY_NOTIFY (0x0010)
44 #define KEY_CREATE_LINK (0x0020)
45 #define KEY_WOW64_32KEY (0x0200)
46 #define KEY_WOW64_64KEY (0x0100)
47 #define KEY_WOW64_RES (0x0300)
48 
49 #define KEY_READ ((STANDARD_RIGHTS_READ |\
50  KEY_QUERY_VALUE |\
51  KEY_ENUMERATE_SUB_KEYS |\
52  KEY_NOTIFY) \
53  & \
54  (~SYNCHRONIZE))
55 
56 #define KEY_WRITE ((STANDARD_RIGHTS_WRITE |\
57  KEY_SET_VALUE |\
58  KEY_CREATE_SUB_KEY) \
59  & \
60  (~SYNCHRONIZE))
61 
62 #define KEY_EXECUTE ((KEY_READ) \
63  & \
64  (~SYNCHRONIZE))
65 
66 #define KEY_ALL_ACCESS ((STANDARD_RIGHTS_ALL |\
67  KEY_QUERY_VALUE |\
68  KEY_SET_VALUE |\
69  KEY_CREATE_SUB_KEY |\
70  KEY_ENUMERATE_SUB_KEYS |\
71  KEY_NOTIFY |\
72  KEY_CREATE_LINK) \
73  & \
74  (~SYNCHRONIZE))
75 
76 /* Registry Open/Create Options */
77 #define REG_OPTION_RESERVED (0x00000000L)
78 #define REG_OPTION_NON_VOLATILE (0x00000000L)
79 #define REG_OPTION_VOLATILE (0x00000001L)
80 #define REG_OPTION_CREATE_LINK (0x00000002L)
81 #define REG_OPTION_BACKUP_RESTORE (0x00000004L)
82 #define REG_OPTION_OPEN_LINK (0x00000008L)
83 
84 #define REG_LEGAL_OPTION \
85  (REG_OPTION_RESERVED |\
86  REG_OPTION_NON_VOLATILE |\
87  REG_OPTION_VOLATILE |\
88  REG_OPTION_CREATE_LINK |\
89  REG_OPTION_BACKUP_RESTORE |\
90  REG_OPTION_OPEN_LINK)
91 
92 #define REG_OPEN_LEGAL_OPTION \
93  (REG_OPTION_RESERVED |\
94  REG_OPTION_BACKUP_RESTORE |\
95  REG_OPTION_OPEN_LINK)
96 
97 #define REG_STANDARD_FORMAT 1
98 #define REG_LATEST_FORMAT 2
99 #define REG_NO_COMPRESSION 4
100 
101 /* Key creation/open disposition */
102 #define REG_CREATED_NEW_KEY (0x00000001L)
103 #define REG_OPENED_EXISTING_KEY (0x00000002L)
104 
105 /* Key restore & hive load flags */
106 #define REG_WHOLE_HIVE_VOLATILE (0x00000001L)
107 #define REG_REFRESH_HIVE (0x00000002L)
108 #define REG_NO_LAZY_FLUSH (0x00000004L)
109 #define REG_FORCE_RESTORE (0x00000008L)
110 #define REG_APP_HIVE (0x00000010L)
111 #define REG_PROCESS_PRIVATE (0x00000020L)
112 #define REG_START_JOURNAL (0x00000040L)
113 #define REG_HIVE_EXACT_FILE_GROWTH (0x00000080L)
114 #define REG_HIVE_NO_RM (0x00000100L)
115 #define REG_HIVE_SINGLE_LOG (0x00000200L)
116 #define REG_BOOT_HIVE (0x00000400L)
117 
118 /* Unload Flags */
119 #define REG_FORCE_UNLOAD 1
120 
121 /* Notify Filter Values */
122 #define REG_NOTIFY_CHANGE_NAME (0x00000001L)
123 #define REG_NOTIFY_CHANGE_ATTRIBUTES (0x00000002L)
124 #define REG_NOTIFY_CHANGE_LAST_SET (0x00000004L)
125 #define REG_NOTIFY_CHANGE_SECURITY (0x00000008L)
126 
127 #define REG_LEGAL_CHANGE_FILTER \
128  (REG_NOTIFY_CHANGE_NAME |\
129  REG_NOTIFY_CHANGE_ATTRIBUTES |\
130  REG_NOTIFY_CHANGE_LAST_SET |\
131  REG_NOTIFY_CHANGE_SECURITY)
132 
133 #include <pshpack4.h>
134 typedef struct _CM_PARTIAL_RESOURCE_DESCRIPTOR {
135  UCHAR Type;
137  USHORT Flags;
138  union {
139  struct {
141  ULONG Length;
142  } Generic;
143  struct {
145  ULONG Length;
146  } Port;
147  struct {
148 #if defined(NT_PROCESSOR_GROUPS)
149  USHORT Level;
150  USHORT Group;
151 #else
152  ULONG Level;
153 #endif
154  ULONG Vector;
156  } Interrupt;
157 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
158  struct {
159  _ANONYMOUS_UNION union {
160  struct {
161 #if defined(NT_PROCESSOR_GROUPS)
162  USHORT Group;
163 #else
165 #endif
167  ULONG Vector;
169  } Raw;
170  struct {
171 #if defined(NT_PROCESSOR_GROUPS)
172  USHORT Level;
173  USHORT Group;
174 #else
175  ULONG Level;
176 #endif
177  ULONG Vector;
179  } Translated;
180  } DUMMYUNIONNAME;
182 #endif
183  struct {
185  ULONG Length;
186  } Memory;
187  struct {
188  ULONG Channel;
189  ULONG Port;
191  } Dma;
192  struct {
193  ULONG Data[3];
194  } DevicePrivate;
195  struct {
196  ULONG Start;
197  ULONG Length;
198  ULONG Reserved;
199  } BusNumber;
200  struct {
201  ULONG DataSize;
205 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
206  struct {
208  ULONG Length40;
209  } Memory40;
210  struct {
212  ULONG Length48;
213  } Memory48;
214  struct {
216  ULONG Length64;
217  } Memory64;
218 #endif
219  } u;
221 #include <poppack.h>
222 
223 /* CM_PARTIAL_RESOURCE_DESCRIPTOR.Type */
224 #define CmResourceTypeNull 0
225 #define CmResourceTypePort 1
226 #define CmResourceTypeInterrupt 2
227 #define CmResourceTypeMemory 3
228 #define CmResourceTypeDma 4
229 #define CmResourceTypeDeviceSpecific 5
230 #define CmResourceTypeBusNumber 6
231 #define CmResourceTypeMemoryLarge 7
232 #define CmResourceTypeNonArbitrated 128
233 #define CmResourceTypeConfigData 128
234 #define CmResourceTypeDevicePrivate 129
235 #define CmResourceTypePcCardConfig 130
236 #define CmResourceTypeMfCardConfig 131
237 
238 /* CM_PARTIAL_RESOURCE_DESCRIPTOR.ShareDisposition */
239 typedef enum _CM_SHARE_DISPOSITION {
245 
246 /* CM_PARTIAL_RESOURCE_DESCRIPTOR.Flags if Type = CmResourceTypePort */
247 #define CM_RESOURCE_PORT_MEMORY 0x0000
248 #define CM_RESOURCE_PORT_IO 0x0001
249 #define CM_RESOURCE_PORT_10_BIT_DECODE 0x0004
250 #define CM_RESOURCE_PORT_12_BIT_DECODE 0x0008
251 #define CM_RESOURCE_PORT_16_BIT_DECODE 0x0010
252 #define CM_RESOURCE_PORT_POSITIVE_DECODE 0x0020
253 #define CM_RESOURCE_PORT_PASSIVE_DECODE 0x0040
254 #define CM_RESOURCE_PORT_WINDOW_DECODE 0x0080
255 #define CM_RESOURCE_PORT_BAR 0x0100
256 
257 /* CM_PARTIAL_RESOURCE_DESCRIPTOR.Flags if Type = CmResourceTypeInterrupt */
258 #define CM_RESOURCE_INTERRUPT_LEVEL_SENSITIVE 0x0000
259 #define CM_RESOURCE_INTERRUPT_LATCHED 0x0001
260 #define CM_RESOURCE_INTERRUPT_MESSAGE 0x0002
261 #define CM_RESOURCE_INTERRUPT_POLICY_INCLUDED 0x0004
262 
263 #define CM_RESOURCE_INTERRUPT_LEVEL_LATCHED_BITS 0x0001
264 
265 #define CM_RESOURCE_INTERRUPT_MESSAGE_TOKEN ((ULONG)-2)
266 
267 /* CM_PARTIAL_RESOURCE_DESCRIPTOR.Flags if Type = CmResourceTypeMemory */
268 #define CM_RESOURCE_MEMORY_READ_WRITE 0x0000
269 #define CM_RESOURCE_MEMORY_READ_ONLY 0x0001
270 #define CM_RESOURCE_MEMORY_WRITE_ONLY 0x0002
271 #define CM_RESOURCE_MEMORY_WRITEABILITY_MASK 0x0003
272 #define CM_RESOURCE_MEMORY_PREFETCHABLE 0x0004
273 #define CM_RESOURCE_MEMORY_COMBINEDWRITE 0x0008
274 #define CM_RESOURCE_MEMORY_24 0x0010
275 #define CM_RESOURCE_MEMORY_CACHEABLE 0x0020
276 #define CM_RESOURCE_MEMORY_WINDOW_DECODE 0x0040
277 #define CM_RESOURCE_MEMORY_BAR 0x0080
278 #define CM_RESOURCE_MEMORY_COMPAT_FOR_INACCESSIBLE_RANGE 0x0100
279 
280 #define CM_RESOURCE_MEMORY_LARGE 0x0E00
281 #define CM_RESOURCE_MEMORY_LARGE_40 0x0200
282 #define CM_RESOURCE_MEMORY_LARGE_48 0x0400
283 #define CM_RESOURCE_MEMORY_LARGE_64 0x0800
284 
285 #define CM_RESOURCE_MEMORY_LARGE_40_MAXLEN 0x000000FFFFFFFF00
286 #define CM_RESOURCE_MEMORY_LARGE_48_MAXLEN 0x0000FFFFFFFF0000
287 #define CM_RESOURCE_MEMORY_LARGE_64_MAXLEN 0xFFFFFFFF00000000
288 
289 /* CM_PARTIAL_RESOURCE_DESCRIPTOR.Flags if Type = CmResourceTypeDma */
290 #define CM_RESOURCE_DMA_8 0x0000
291 #define CM_RESOURCE_DMA_16 0x0001
292 #define CM_RESOURCE_DMA_32 0x0002
293 #define CM_RESOURCE_DMA_8_AND_16 0x0004
294 #define CM_RESOURCE_DMA_BUS_MASTER 0x0008
295 #define CM_RESOURCE_DMA_TYPE_A 0x0010
296 #define CM_RESOURCE_DMA_TYPE_B 0x0020
297 #define CM_RESOURCE_DMA_TYPE_F 0x0040
298 
299 typedef struct _DEVICE_FLAGS {
308 
309 typedef enum _INTERFACE_TYPE {
330 
337 
338 typedef struct _CM_ROM_BLOCK {
342 
343 typedef struct _CM_PARTIAL_RESOURCE_LIST {
344  USHORT Version;
346  ULONG Count;
349 
350 typedef struct _CM_FULL_RESOURCE_DESCRIPTOR {
355 
356 typedef struct _CM_RESOURCE_LIST {
357  ULONG Count;
360 
361 typedef struct _PNP_BUS_INFORMATION {
366 
367 #include <pshpack1.h>
368 
376 
377 typedef struct _CM_MCA_POS_DATA {
384 
385 typedef struct _CM_PNP_BIOS_DEVICE_NODE {
386  USHORT Size;
387  UCHAR Node;
389  UCHAR DeviceType[3];
392 
393 typedef struct _CM_PNP_BIOS_INSTALLATION_CHECK {
394  UCHAR Signature[4];
395  UCHAR Revision;
396  UCHAR Length;
398  UCHAR Checksum;
408 
409 #include <poppack.h>
410 
417 
418 typedef struct _CM_KEYBOARD_DEVICE_DATA {
425 
426 typedef struct _CM_SCSI_DEVICE_DATA {
431 
432 typedef struct _CM_VIDEO_DEVICE_DATA {
437 
438 typedef struct _CM_SONIC_DEVICE_DATA {
444 
445 typedef struct _CM_SERIAL_DEVICE_DATA {
450 
451 typedef struct _CM_MONITOR_DEVICE_DATA {
480 
481 typedef struct _CM_FLOPPY_DEVICE_DATA {
484  CHAR Size[8];
501 
513 
514 typedef struct _KEY_BASIC_INFORMATION {
518  WCHAR Name[1];
520 
524 
525 typedef struct _KEY_FULL_INFORMATION {
530  ULONG SubKeys;
533  ULONG Values;
536  WCHAR Class[1];
538 
542 
543 typedef struct _KEY_NODE_INFORMATION {
549  WCHAR Name[1];
551 
561 
568 
569 typedef struct _KEY_VALUE_BASIC_INFORMATION {
571  ULONG Type;
573  WCHAR Name[1];
575 
576 typedef struct _KEY_VALUE_FULL_INFORMATION {
578  ULONG Type;
582  WCHAR Name[1];
584 
585 typedef struct _KEY_VALUE_PARTIAL_INFORMATION {
587  ULONG Type;
591 
597 
598 typedef struct _KEY_VALUE_ENTRY {
602  ULONG Type;
604 
612 
616 
617 typedef struct _KEY_WRITE_TIME_INFORMATION {
620 
621 #if (NTDDI_VERSION < NTDDI_VISTA)
622 typedef struct _KEY_USER_FLAGS_INFORMATION {
623  ULONG UserFlags;
624 } KEY_USER_FLAGS_INFORMATION, *PKEY_USER_FLAGS_INFORMATION;
625 #endif
626 
627 typedef enum _REG_NOTIFY_CLASS {
688 
690 _Function_class_(EX_CALLBACK_FUNCTION)
691 typedef NTSTATUS
692 (NTAPI EX_CALLBACK_FUNCTION)(
696 typedef EX_CALLBACK_FUNCTION *PEX_CALLBACK_FUNCTION;
697 
704 #if (NTDDI_VERSION >= NTDDI_VISTA)
706 #endif
707 ;
708 
720 
728 
738 
750 
762 
773 
785 
797 
805 
823 
845 
849 
855 
865 
872 
873 #if (NTDDI_VERSION >= NTDDI_VISTA)
874 
888 
896 
902 
912 
921 
930 
939 
948 
949 #endif /* NTDDI_VERSION >= NTDDI_VISTA */
950 
951 #define SERVICE_KERNEL_DRIVER 0x00000001
952 #define SERVICE_FILE_SYSTEM_DRIVER 0x00000002
953 #define SERVICE_ADAPTER 0x00000004
954 #define SERVICE_RECOGNIZER_DRIVER 0x00000008
955 
956 #define SERVICE_DRIVER (SERVICE_KERNEL_DRIVER | \
957  SERVICE_FILE_SYSTEM_DRIVER | \
958  SERVICE_RECOGNIZER_DRIVER)
959 
960 #define SERVICE_WIN32_OWN_PROCESS 0x00000010
961 #define SERVICE_WIN32_SHARE_PROCESS 0x00000020
962 #define SERVICE_WIN32 (SERVICE_WIN32_OWN_PROCESS | \
963  SERVICE_WIN32_SHARE_PROCESS)
964 
965 #define SERVICE_INTERACTIVE_PROCESS 0x00000100
966 
967 #define SERVICE_TYPE_ALL (SERVICE_WIN32 | \
968  SERVICE_ADAPTER | \
969  SERVICE_DRIVER | \
970  SERVICE_INTERACTIVE_PROCESS)
971 
972 /* Service Start Types */
973 #define SERVICE_BOOT_START 0x00000000
974 #define SERVICE_SYSTEM_START 0x00000001
975 #define SERVICE_AUTO_START 0x00000002
976 #define SERVICE_DEMAND_START 0x00000003
977 #define SERVICE_DISABLED 0x00000004
978 
979 #define SERVICE_ERROR_IGNORE 0x00000000
980 #define SERVICE_ERROR_NORMAL 0x00000001
981 #define SERVICE_ERROR_SEVERE 0x00000002
982 #define SERVICE_ERROR_CRITICAL 0x00000003
983 
984 typedef enum _CM_SERVICE_NODE_TYPE {
992 
993 typedef enum _CM_SERVICE_LOAD_TYPE {
1000 
1007 
1008 #define CM_SERVICE_NETWORK_BOOT_LOAD 0x00000001
1009 #define CM_SERVICE_VIRTUAL_DISK_BOOT_LOAD 0x00000002
1010 #define CM_SERVICE_USB_DISK_BOOT_LOAD 0x00000004
1011 
1012 #define CM_SERVICE_VALID_PROMOTION_MASK (CM_SERVICE_NETWORK_BOOT_LOAD | \
1013  CM_SERVICE_VIRTUAL_DISK_BOOT_LOAD | \
1014  CM_SERVICE_USB_DISK_BOOT_LOAD)
1015 
1017 $if (_NTDDK_)
1018 typedef struct _KEY_NAME_INFORMATION {
1019  ULONG NameLength;
1020  WCHAR Name[1];
1022 
1023 typedef struct _KEY_CACHED_INFORMATION {
1025  ULONG TitleIndex;
1026  ULONG SubKeys;
1027  ULONG MaxNameLen;
1028  ULONG Values;
1031  ULONG NameLength;
1033 
1042 
1043 #define CmResourceTypeMaximum 8
1044 
1045 typedef struct _CM_PCCARD_DEVICE_DATA {
1054 
1055 $endif (_NTDDK_)
NTSTATUS Status
Definition: cmtypes.h:853
struct _REG_PRE_CREATE_KEY_INFORMATION * PREG_PRE_CREATE_KEY_INFORMATION
enum _KEY_INFORMATION_CLASS KEY_INFORMATION_CLASS
struct _REG_PRE_CREATE_KEY_INFORMATION REG_PRE_OPEN_KEY_INFORMATION
struct _CM_PNP_BIOS_INSTALLATION_CHECK * PCM_PNP_BIOS_INSTALLATION_CHECK
ULONG ReadOnly
Definition: cmtypes.h:301
UCHAR PosData2
Definition: cmtypes.h:380
struct _KEY_CACHED_INFORMATION KEY_CACHED_INFORMATION
KEY_INFORMATION_CLASS KeyInformationClass
Definition: cmtypes.h:765
USHORT HorizontalDisplayTimeHigh
Definition: cmtypes.h:460
struct _REG_SET_KEY_SECURITY_INFORMATION REG_SET_KEY_SECURITY_INFORMATION
#define _IRQL_requires_same_
Definition: no_sal2.h:652
struct _CM_INT13_DRIVE_PARAMETER CM_INT13_DRIVE_PARAMETER
Definition: cmtypes.h:856
#define SERVICE_ERROR_IGNORE
Definition: cmtypes.h:979
#define SERVICE_SYSTEM_START
Definition: cmtypes.h:974
_CM_SERVICE_NODE_TYPE
Definition: cmtypes.h:984
struct _KEY_VALUE_PARTIAL_INFORMATION KEY_VALUE_PARTIAL_INFORMATION
#define SERVICE_ERROR_NORMAL
Definition: cmtypes.h:980
struct _REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION * PREG_CALLBACK_CONTEXT_CLEANUP_INFORMATION
ACCESS_MASK DesiredAccess
Definition: cmtypes.h:814
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR _In_ ULONGLONG _In_ ULONGLONG _In_opt_ PEVENT_FILTER_DESCRIPTOR _Inout_opt_ PVOID CallbackContext
Definition: wmitypes.h:55
ULONG ConsoleIn
Definition: cmtypes.h:303
struct _CM_SONIC_DEVICE_DATA * PCM_SONIC_DEVICE_DATA
struct _KEY_VALUE_PARTIAL_INFORMATION_ALIGN64 KEY_VALUE_PARTIAL_INFORMATION_ALIGN64
ULONG Removable
Definition: cmtypes.h:302
enum _INTERFACE_TYPE INTERFACE_TYPE
PUNICODE_STRING Class
Definition: cmtypes.h:811
struct _KEY_NODE_INFORMATION * PKEY_NODE_INFORMATION
_IRQL_requires_same_ _In_opt_ PVOID Argument1
Definition: cmtypes.h:694
struct _REG_POST_CREATE_KEY_INFORMATION * PREG_POST_CREATE_KEY_INFORMATION
struct _KEY_VALUE_FULL_INFORMATION * PKEY_VALUE_FULL_INFORMATION
struct _KEY_NODE_INFORMATION KEY_NODE_INFORMATION
enum _KEY_INFORMATION_CLASS KEY_INFORMATION_CLASS
struct _DEVICE_FLAGS * PDEVICE_FLAGS
CM_FULL_RESOURCE_DESCRIPTOR List[1]
Definition: hwresource.cpp:165
PVOID CallContext
Definition: cmtypes.h:861
struct _KEY_WOW64_FLAGS_INFORMATION KEY_WOW64_FLAGS_INFORMATION
$if(_WDMDDK_) typedef int CM_RESOURCE_TYPE
Definition: ke.h:1
#define _ANONYMOUS_UNION
Definition: ntbasedef.h:30
DeviceType
Definition: mmdrv.h:41
_In_opt_ PSID Group
Definition: rtlfuncs.h:1606
PUNICODE_STRING NewName
Definition: cmtypes.h:800
char CHAR
Definition: xmlstorage.h:175
struct _KEY_VALUE_ENTRY KEY_VALUE_ENTRY
enum _CM_SERVICE_LOAD_TYPE SERVICE_LOAD_TYPE
LONG NTSTATUS
Definition: precomp.h:26
struct _CM_SERIAL_DEVICE_DATA CM_SERIAL_DEVICE_DATA
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@381 Memory
USHORT HorizontalFrontPorch
Definition: cmtypes.h:465
ULONG DataLength
Definition: nt_native.h:1174
ULONG Size
Definition: cmtypes.h:340
struct _REG_DELETE_VALUE_KEY_INFORMATION REG_DELETE_VALUE_KEY_INFORMATION
#define SERVICE_ADAPTER
Definition: cmtypes.h:953
#define _WDMDDK_
Definition: wdm.template.h:26
_KEY_INFORMATION_CLASS
Definition: nt_native.h:1130
USHORT HorizontalScreenSize
Definition: cmtypes.h:454
struct _KEY_FULL_INFORMATION * PKEY_FULL_INFORMATION
struct _CM_DISK_GEOMETRY_DEVICE_DATA * PCM_DISK_GEOMETRY_DEVICE_DATA
struct _KEY_VALUE_PARTIAL_INFORMATION * PKEY_VALUE_PARTIAL_INFORMATION
struct _REG_DELETE_KEY_INFORMATION REG_FLUSH_KEY_INFORMATION
struct _KEY_HANDLE_TAGS_INFORMATION KEY_HANDLE_TAGS_INFORMATION
struct _CM_COMPONENT_INFORMATION * PCM_COMPONENT_INFORMATION
struct _DEVICE_FLAGS DEVICE_FLAGS
struct _KEY_WOW64_FLAGS_INFORMATION * PKEY_WOW64_FLAGS_INFORMATION
#define SERVICE_RECOGNIZER_DRIVER
Definition: cmtypes.h:954
_IRQL_requires_same_ _Function_class_(EX_CALLBACK_FUNCTION) typedef NTSTATUS(NTAPI EX_CALLBACK_FUNCTION)(_In_ PVOID CallbackContext
USHORT HorizontalFrontPorchLow
Definition: cmtypes.h:464
_CM_SERVICE_LOAD_TYPE
Definition: cmtypes.h:993
struct _REG_DELETE_KEY_INFORMATION REG_DELETE_KEY_INFORMATION
USHORT AdapterId
Definition: cmtypes.h:378
struct _KEY_VALUE_PARTIAL_INFORMATION_ALIGN64 * PKEY_VALUE_PARTIAL_INFORMATION_ALIGN64
#define _In_opt_
Definition: no_sal2.h:213
PUNICODE_STRING CompleteName
Definition: cmtypes.h:847
struct _CM_PARTIAL_RESOURCE_LIST * PCM_PARTIAL_RESOURCE_LIST
uint32_t ULONG_PTR
Definition: typedefs.h:63
struct _REG_QUERY_VALUE_KEY_INFORMATION * PREG_QUERY_VALUE_KEY_INFORMATION
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@385 DeviceSpecificData
#define SERVICE_DISABLED
Definition: cmtypes.h:977
struct _KEY_CONTROL_FLAGS_INFORMATION KEY_CONTROL_FLAGS_INFORMATION
struct _REG_SAVE_KEY_INFORMATION * PREG_SAVE_KEY_INFORMATION
Definition: cmtypes.h:327
PVOID Object
Definition: cmtypes.h:852
union _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376 u
_Field_size_bytes_(DataLength) UCHAR Data[1]
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@382 Dma
CM_PARTIAL_RESOURCE_LIST PartialResourceList
Definition: hwresource.cpp:160
struct _KEY_VIRTUALIZATION_INFORMATION * PKEY_VIRTUALIZATION_INFORMATION
Definition: cmtypes.h:313
KEY_INFORMATION_CLASS KeyInformationClass
Definition: cmtypes.h:742
struct _REG_SET_KEY_SECURITY_INFORMATION * PREG_SET_KEY_SECURITY_INFORMATION
struct _KEY_SET_VIRTUALIZATION_INFORMATION KEY_SET_VIRTUALIZATION_INFORMATION
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
PUNICODE_STRING ValueName
Definition: nt_native.h:1173
KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass
Definition: cmtypes.h:777
struct _REG_CREATE_KEY_INFORMATION REG_OPEN_KEY_INFORMATION
LARGE_INTEGER LastWriteTime
Definition: winternl.h:1191
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@384 BusNumber
enum _INTERFACE_TYPE * PINTERFACE_TYPE
struct _REG_LOAD_KEY_INFORMATION REG_LOAD_KEY_INFORMATION
ULONG Address
Definition: cmtypes.h:339
DEVICE_FLAGS Flags
Definition: cmtypes.h:332
_CM_ERROR_CONTROL_TYPE
Definition: cmtypes.h:1001
_REG_NOTIFY_CLASS
Definition: cmtypes.h:627
struct _CM_SCSI_DEVICE_DATA * PCM_SCSI_DEVICE_DATA
enum _KEY_SET_INFORMATION_CLASS KEY_SET_INFORMATION_CLASS
struct _REG_PRE_CREATE_KEY_INFORMATION REG_PRE_CREATE_KEY_INFORMATION
ULONG ConsoleOut
Definition: cmtypes.h:304
struct _KEY_WRITE_TIME_INFORMATION KEY_WRITE_TIME_INFORMATION
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@388 Memory64
struct _REG_CREATE_KEY_INFORMATION_V1 * PREG_OPEN_KEY_INFORMATION_V1
struct _PNP_BUS_INFORMATION * PPNP_BUS_INFORMATION
struct _KEY_VALUE_FULL_INFORMATION KEY_VALUE_FULL_INFORMATION
_CM_SHARE_DISPOSITION
Definition: cmtypes.h:239
struct _REG_RENAME_KEY_INFORMATION REG_RENAME_KEY_INFORMATION
struct _REG_POST_CREATE_KEY_INFORMATION REG_POST_OPEN_KEY_INFORMATION
struct _CM_VIDEO_DEVICE_DATA CM_VIDEO_DEVICE_DATA
struct _REG_KEY_HANDLE_CLOSE_INFORMATION REG_KEY_HANDLE_CLOSE_INFORMATION
$endif(_WDMDDK_) $if(_NTDDK_) typedef struct _KEY_NAME_INFORMATION
Definition: cmtypes.h:1016
#define SERVICE_BOOT_START
Definition: cmtypes.h:973
PSECURITY_DESCRIPTOR SecurityDescriptor
Definition: cmtypes.h:906
struct _REG_UNLOAD_KEY_INFORMATION REG_UNLOAD_KEY_INFORMATION
#define SERVICE_FILE_SYSTEM_DRIVER
Definition: cmtypes.h:952
#define SERVICE_WIN32_OWN_PROCESS
Definition: cmtypes.h:960
struct _REG_KEY_HANDLE_CLOSE_INFORMATION * PREG_KEY_HANDLE_CLOSE_INFORMATION
struct _REG_QUERY_MULTIPLE_VALUE_KEY_INFORMATION * PREG_QUERY_MULTIPLE_VALUE_KEY_INFORMATION
struct _KEY_SET_VIRTUALIZATION_INFORMATION * PKEY_SET_VIRTUALIZATION_INFORMATION
struct _REG_PRE_CREATE_KEY_INFORMATION * PREG_PRE_OPEN_KEY_INFORMATION
struct _REG_ENUMERATE_KEY_INFORMATION * PREG_ENUMERATE_KEY_INFORMATION
enum _REG_NOTIFY_CLASS * PREG_NOTIFY_CLASS
struct _CM_PCCARD_DEVICE_DATA CM_PCCARD_DEVICE_DATA
PSECURITY_DESCRIPTOR SecurityDescriptor
Definition: cmtypes.h:916
struct _REG_SET_INFORMATION_KEY_INFORMATION REG_SET_INFORMATION_KEY_INFORMATION
struct _REG_POST_CREATE_KEY_INFORMATION REG_POST_CREATE_KEY_INFORMATION
struct _CM_SONIC_DEVICE_DATA CM_SONIC_DEVICE_DATA
NTSTATUS Status
Definition: cmtypes.h:858
struct _REG_QUERY_KEY_INFORMATION REG_QUERY_KEY_INFORMATION
struct _CM_FULL_RESOURCE_DESCRIPTOR * PCM_FULL_RESOURCE_DESCRIPTOR
PUNICODE_STRING CompleteName
Definition: cmtypes.h:851
struct _CM_MONITOR_DEVICE_DATA * PCM_MONITOR_DEVICE_DATA
struct _REG_QUERY_VALUE_KEY_INFORMATION REG_QUERY_VALUE_KEY_INFORMATION
ULONG Output
Definition: cmtypes.h:306
struct _KEY_HANDLE_TAGS_INFORMATION * PKEY_HANDLE_TAGS_INFORMATION
PUNICODE_STRING CompleteName
Definition: cmtypes.h:825
USHORT HorizontalFrontPorchHigh
Definition: cmtypes.h:466
struct _CM_ROM_BLOCK * PCM_ROM_BLOCK
__wchar_t WCHAR
Definition: xmlstorage.h:180
struct _REG_QUERY_KEY_INFORMATION * PREG_QUERY_KEY_INFORMATION
NTSTATUS ReturnStatus
Definition: cmtypes.h:860
Definition: cmtypes.h:850
DWORD * PSECURITY_INFORMATION
Definition: ms-dtyp.idl:311
struct _CM_VIDEO_DEVICE_DATA * PCM_VIDEO_DEVICE_DATA
struct _KEY_VALUE_ENTRY * PKEY_VALUE_ENTRY
struct _CM_PCCARD_DEVICE_DATA * PCM_PCCARD_DEVICE_DATA
PUNICODE_STRING OldFileName
Definition: cmtypes.h:942
struct _CM_PARTIAL_RESOURCE_LIST CM_PARTIAL_RESOURCE_LIST
struct _REG_QUERY_KEY_SECURITY_INFORMATION * PREG_QUERY_KEY_SECURITY_INFORMATION
UCHAR PosData3
Definition: cmtypes.h:381
struct _REG_QUERY_KEY_SECURITY_INFORMATION REG_QUERY_KEY_SECURITY_INFORMATION
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@386 Memory40
_IRQL_requires_same_ _In_opt_ PVOID _In_opt_ PVOID Argument2
Definition: cmtypes.h:694
Definition: cmtypes.h:320
ULONG Type
Definition: nt_native.h:1176
LARGE_INTEGER LastWriteTime
Definition: nt_native.h:1117
struct _REG_RENAME_KEY_INFORMATION * PREG_RENAME_KEY_INFORMATION
UCHAR EthernetAddress[8]
Definition: cmtypes.h:442
USHORT VerticalBackPorchHigh
Definition: cmtypes.h:472
LARGE_INTEGER LastWriteTime
Definition: nt_native.h:1107
CCHAR KPROCESSOR_MODE
Definition: ketypes.h:7
struct _REG_ENUMERATE_KEY_INFORMATION REG_ENUMERATE_KEY_INFORMATION
struct _CM_MCA_POS_DATA CM_MCA_POS_DATA
struct _KEY_VALUE_BASIC_INFORMATION KEY_VALUE_BASIC_INFORMATION
struct _CM_PNP_BIOS_DEVICE_NODE * PCM_PNP_BIOS_DEVICE_NODE
struct _KEY_WRITE_TIME_INFORMATION * PKEY_WRITE_TIME_INFORMATION
struct _KEY_FULL_INFORMATION KEY_FULL_INFORMATION
KEY_SET_INFORMATION_CLASS KeySetInformationClass
Definition: cmtypes.h:731
#define SERVICE_WIN32_SHARE_PROCESS
Definition: cmtypes.h:961
USHORT HorizontalResolution
Definition: cmtypes.h:456
unsigned char UCHAR
Definition: xmlstorage.h:181
struct _CM_SERIAL_DEVICE_DATA * PCM_SERIAL_DEVICE_DATA
struct _KEY_CACHED_INFORMATION * PKEY_CACHED_INFORMATION
CM_PARTIAL_RESOURCE_DESCRIPTOR PartialDescriptors[1]
Definition: hwresource.cpp:119
struct _REG_SET_VALUE_KEY_INFORMATION * PREG_SET_VALUE_KEY_INFORMATION
ULONG Input
Definition: cmtypes.h:305
* PKEY_NAME_INFORMATION
Definition: cmtypes.h:1021
struct _CM_COMPONENT_INFORMATION CM_COMPONENT_INFORMATION
#define NTSTATUS
Definition: precomp.h:20
struct _REG_DELETE_VALUE_KEY_INFORMATION * PREG_DELETE_VALUE_KEY_INFORMATION
enum _REG_NOTIFY_CLASS REG_NOTIFY_CLASS
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
struct _CM_RESOURCE_LIST CM_RESOURCE_LIST
struct _CM_ROM_BLOCK CM_ROM_BLOCK
USHORT DataConfigurationRegister
Definition: cmtypes.h:441
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR * PCM_PARTIAL_RESOURCE_DESCRIPTOR
ULONG Failed
Definition: cmtypes.h:300
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@383 DevicePrivate
USHORT VerticalFrontPorchHigh
Definition: cmtypes.h:475
PSECURITY_INFORMATION SecurityInformation
Definition: cmtypes.h:915
struct _REG_CREATE_KEY_INFORMATION_V1 * PREG_CREATE_KEY_INFORMATION_V1
struct _REG_ENUMERATE_VALUE_KEY_INFORMATION * PREG_ENUMERATE_VALUE_KEY_INFORMATION
struct _REG_POST_OPERATION_INFORMATION REG_POST_OPERATION_INFORMATION
USHORT HorizontalDisplayTimeLow
Definition: cmtypes.h:458
struct _REG_REPLACE_KEY_INFORMATION * PREG_REPLACE_KEY_INFORMATION
#define _In_
Definition: no_sal2.h:204
USHORT VerticalFrontPorchLow
Definition: cmtypes.h:473
KEY_NAME_INFORMATION
Definition: cmtypes.h:1021
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@378 Port
PUNICODE_STRING SourceFile
Definition: cmtypes.h:878
ULONG DataOffset
Definition: nt_native.h:1175
struct _REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION
UCHAR StepRateHeadUnloadTime
Definition: cmtypes.h:487
_INTERFACE_TYPE
Definition: hwresource.cpp:135
struct _CM_FLOPPY_DEVICE_DATA CM_FLOPPY_DEVICE_DATA
struct _REG_SAVE_KEY_INFORMATION REG_SAVE_KEY_INFORMATION
Definition: cmtypes.h:318
struct _CM_PNP_BIOS_DEVICE_NODE CM_PNP_BIOS_DEVICE_NODE
unsigned short USHORT
Definition: pedump.c:61
ULONG_PTR KAFFINITY
Definition: compat.h:75
struct _REG_RESTORE_KEY_INFORMATION * PREG_RESTORE_KEY_INFORMATION
struct _CM_KEYBOARD_DEVICE_DATA CM_KEYBOARD_DEVICE_DATA
#define SERVICE_ERROR_SEVERE
Definition: cmtypes.h:981
PUNICODE_STRING RemainingName
Definition: cmtypes.h:840
enum _CM_SHARE_DISPOSITION CM_SHARE_DISPOSITION
USHORT HorizontalDisplayTime
Definition: cmtypes.h:459
PUNICODE_STRING ValueName
Definition: cmtypes.h:711
_KEY_VALUE_INFORMATION_CLASS
Definition: nt_native.h:1179
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR CM_PARTIAL_RESOURCE_DESCRIPTOR
struct _REG_LOAD_KEY_INFORMATION * PREG_LOAD_KEY_INFORMATION
unsigned int * PULONG
Definition: retypes.h:1
PVOID ObjectContext
Definition: cmtypes.h:862
PUNICODE_STRING CompleteName
Definition: cmtypes.h:807
struct _REG_SET_INFORMATION_KEY_INFORMATION * PREG_SET_INFORMATION_KEY_INFORMATION
struct _REG_UNLOAD_KEY_INFORMATION * PREG_UNLOAD_KEY_INFORMATION
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@380::@389::@391 Translated
Definition: cmtypes.h:312
USHORT HorizontalBackPorchHigh
Definition: cmtypes.h:463
struct _KEY_BASIC_INFORMATION KEY_BASIC_INFORMATION
USHORT HorizontalBackPorch
Definition: cmtypes.h:462
#define SERVICE_AUTO_START
Definition: cmtypes.h:975
struct _CM_INT13_DRIVE_PARAMETER * PCM_INT13_DRIVE_PARAMETER
_KEY_SET_INFORMATION_CLASS
Definition: nt_native.h:1140
struct _CM_FLOPPY_DEVICE_DATA * PCM_FLOPPY_DEVICE_DATA
struct _REG_CREATE_KEY_INFORMATION_V1 REG_CREATE_KEY_INFORMATION_V1
EX_CALLBACK_FUNCTION * PEX_CALLBACK_FUNCTION
Definition: cmtypes.h:696
PSECURITY_INFORMATION SecurityInformation
Definition: cmtypes.h:905
struct _REG_ENUMERATE_VALUE_KEY_INFORMATION REG_ENUMERATE_VALUE_KEY_INFORMATION
enum _INTERFACE_TYPE INTERFACE_TYPE
enum _CM_ERROR_CONTROL_TYPE SERVICE_ERROR_TYPE
union _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@380::@389 DUMMYUNIONNAME
Definition: nt_native.h:1172
ACCESS_MASK GrantedAccess
Definition: cmtypes.h:815
struct _KEY_CONTROL_FLAGS_INFORMATION * PKEY_CONTROL_FLAGS_INFORMATION
unsigned int ULONG
Definition: retypes.h:1
KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass
Definition: cmtypes.h:754
struct _CM_FULL_RESOURCE_DESCRIPTOR CM_FULL_RESOURCE_DESCRIPTOR
struct _KEY_BASIC_INFORMATION * PKEY_BASIC_INFORMATION
#define SERVICE_ERROR_CRITICAL
Definition: cmtypes.h:982
enum _KEY_SET_INFORMATION_CLASS KEY_SET_INFORMATION_CLASS
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@387 Memory48
enum _KEY_VALUE_INFORMATION_CLASS KEY_VALUE_INFORMATION_CLASS
enum _CM_SERVICE_NODE_TYPE SERVICE_NODE_TYPE
struct _CM_KEYBOARD_DEVICE_DATA * PCM_KEYBOARD_DEVICE_DATA
struct _CM_MONITOR_DEVICE_DATA CM_MONITOR_DEVICE_DATA
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@379 Interrupt
struct _KEY_VIRTUALIZATION_INFORMATION KEY_VIRTUALIZATION_INFORMATION
UCHAR PosData4
Definition: cmtypes.h:382
PVOID PreInformation
Definition: cmtypes.h:859
PUNICODE_STRING NewFileName
Definition: cmtypes.h:943
struct _REG_POST_CREATE_KEY_INFORMATION * PREG_POST_OPEN_KEY_INFORMATION
struct _CM_MCA_POS_DATA * PCM_MCA_POS_DATA
struct _KEY_VALUE_BASIC_INFORMATION * PKEY_VALUE_BASIC_INFORMATION
struct _REG_REPLACE_KEY_INFORMATION REG_REPLACE_KEY_INFORMATION
LARGE_INTEGER LastWriteTime
Definition: nt_native.h:1100
struct _REG_CREATE_KEY_INFORMATION * PREG_OPEN_KEY_INFORMATION
PVOID Object
Definition: cmtypes.h:857
_Field_size_bytes_(DataLength) UCHAR Data[1]
struct _REG_POST_OPERATION_INFORMATION * PREG_POST_OPERATION_INFORMATION
struct _REG_RESTORE_KEY_INFORMATION REG_RESTORE_KEY_INFORMATION
#define SERVICE_DEMAND_START
Definition: cmtypes.h:976
struct _REG_QUERY_MULTIPLE_VALUE_KEY_INFORMATION REG_QUERY_MULTIPLE_VALUE_KEY_INFORMATION
struct _REG_CREATE_KEY_INFORMATION_V1 REG_OPEN_KEY_INFORMATION_V1
LARGE_INTEGER LastWriteTime
Definition: nt_native.h:1137
struct _REG_CREATE_KEY_INFORMATION REG_CREATE_KEY_INFORMATION
PVOID Reserved
Definition: cmtypes.h:863
struct _CM_RESOURCE_LIST * PCM_RESOURCE_LIST
PUNICODE_STRING KeyName
Definition: cmtypes.h:877
struct _CM_PNP_BIOS_INSTALLATION_CHECK CM_PNP_BIOS_INSTALLATION_CHECK
struct _CM_SCSI_DEVICE_DATA CM_SCSI_DEVICE_DATA
struct _REG_CREATE_KEY_INFORMATION * PREG_CREATE_KEY_INFORMATION
ULONG ACCESS_MASK
Definition: nt_native.h:40
#define _NTDDK_
INTERFACE_TYPE LegacyBusType
Definition: cmtypes.h:363
UCHAR PosData1
Definition: cmtypes.h:379
USHORT HorizontalBackPorchLow
Definition: cmtypes.h:461
KPROCESSOR_MODE CheckAccessMode
Definition: cmtypes.h:843
struct _CM_DISK_GEOMETRY_DEVICE_DATA CM_DISK_GEOMETRY_DEVICE_DATA
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@380::@389::@390 Raw
enum _KEY_VALUE_INFORMATION_CLASS KEY_VALUE_INFORMATION_CLASS
Definition: reg.c:135
ACCESS_MASK DesiredAccess
Definition: cmtypes.h:882
struct _REG_SET_VALUE_KEY_INFORMATION REG_SET_VALUE_KEY_INFORMATION
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@380 MessageInterrupt
USHORT VerticalBackPorchLow
Definition: cmtypes.h:470
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@376::@377 Generic
#define SERVICE_KERNEL_DRIVER
Definition: cmtypes.h:951
struct _PNP_BUS_INFORMATION PNP_BUS_INFORMATION