ReactOS  0.4.15-dev-980-ge160524
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 #define CM_RESOURCE_INTERRUPT_SECONDARY_INTERRUPT 0x0010
263 #define CM_RESOURCE_INTERRUPT_WAKE_HINT 0x0020
264 
265 #define CM_RESOURCE_INTERRUPT_LEVEL_LATCHED_BITS 0x0001
266 
267 #define CM_RESOURCE_INTERRUPT_MESSAGE_TOKEN ((ULONG)-2)
268 
269 /* CM_PARTIAL_RESOURCE_DESCRIPTOR.Flags if Type = CmResourceTypeMemory */
270 #define CM_RESOURCE_MEMORY_READ_WRITE 0x0000
271 #define CM_RESOURCE_MEMORY_READ_ONLY 0x0001
272 #define CM_RESOURCE_MEMORY_WRITE_ONLY 0x0002
273 #define CM_RESOURCE_MEMORY_WRITEABILITY_MASK 0x0003
274 #define CM_RESOURCE_MEMORY_PREFETCHABLE 0x0004
275 #define CM_RESOURCE_MEMORY_COMBINEDWRITE 0x0008
276 #define CM_RESOURCE_MEMORY_24 0x0010
277 #define CM_RESOURCE_MEMORY_CACHEABLE 0x0020
278 #define CM_RESOURCE_MEMORY_WINDOW_DECODE 0x0040
279 #define CM_RESOURCE_MEMORY_BAR 0x0080
280 #define CM_RESOURCE_MEMORY_COMPAT_FOR_INACCESSIBLE_RANGE 0x0100
281 
282 #define CM_RESOURCE_MEMORY_LARGE 0x0E00
283 #define CM_RESOURCE_MEMORY_LARGE_40 0x0200
284 #define CM_RESOURCE_MEMORY_LARGE_48 0x0400
285 #define CM_RESOURCE_MEMORY_LARGE_64 0x0800
286 
287 #define CM_RESOURCE_MEMORY_LARGE_40_MAXLEN 0x000000FFFFFFFF00
288 #define CM_RESOURCE_MEMORY_LARGE_48_MAXLEN 0x0000FFFFFFFF0000
289 #define CM_RESOURCE_MEMORY_LARGE_64_MAXLEN 0xFFFFFFFF00000000
290 
291 /* CM_PARTIAL_RESOURCE_DESCRIPTOR.Flags if Type = CmResourceTypeDma */
292 #define CM_RESOURCE_DMA_8 0x0000
293 #define CM_RESOURCE_DMA_16 0x0001
294 #define CM_RESOURCE_DMA_32 0x0002
295 #define CM_RESOURCE_DMA_8_AND_16 0x0004
296 #define CM_RESOURCE_DMA_BUS_MASTER 0x0008
297 #define CM_RESOURCE_DMA_TYPE_A 0x0010
298 #define CM_RESOURCE_DMA_TYPE_B 0x0020
299 #define CM_RESOURCE_DMA_TYPE_F 0x0040
300 
301 typedef struct _DEVICE_FLAGS {
310 
311 typedef enum _INTERFACE_TYPE {
332 
339 
340 typedef struct _CM_ROM_BLOCK {
344 
345 typedef struct _CM_PARTIAL_RESOURCE_LIST {
346  USHORT Version;
348  ULONG Count;
351 
352 typedef struct _CM_FULL_RESOURCE_DESCRIPTOR {
357 
358 typedef struct _CM_RESOURCE_LIST {
359  ULONG Count;
362 
363 typedef struct _PNP_BUS_INFORMATION {
368 
369 #include <pshpack1.h>
370 
378 
379 typedef struct _CM_MCA_POS_DATA {
386 
387 typedef struct _CM_PNP_BIOS_DEVICE_NODE {
388  USHORT Size;
389  UCHAR Node;
391  UCHAR DeviceType[3];
394 
395 typedef struct _CM_PNP_BIOS_INSTALLATION_CHECK {
396  UCHAR Signature[4];
397  UCHAR Revision;
398  UCHAR Length;
400  UCHAR Checksum;
410 
411 #include <poppack.h>
412 
419 
420 typedef struct _CM_KEYBOARD_DEVICE_DATA {
427 
428 typedef struct _CM_SCSI_DEVICE_DATA {
433 
434 typedef struct _CM_VIDEO_DEVICE_DATA {
439 
440 typedef struct _CM_SONIC_DEVICE_DATA {
446 
447 typedef struct _CM_SERIAL_DEVICE_DATA {
452 
453 typedef struct _CM_MONITOR_DEVICE_DATA {
482 
483 typedef struct _CM_FLOPPY_DEVICE_DATA {
486  CHAR Size[8];
503 
515 
516 typedef struct _KEY_BASIC_INFORMATION {
520  WCHAR Name[1];
522 
526 
527 typedef struct _KEY_FULL_INFORMATION {
532  ULONG SubKeys;
535  ULONG Values;
538  WCHAR Class[1];
540 
544 
545 typedef struct _KEY_NODE_INFORMATION {
551  WCHAR Name[1];
553 
563 
570 
571 typedef struct _KEY_VALUE_BASIC_INFORMATION {
573  ULONG Type;
575  WCHAR Name[1];
577 
578 typedef struct _KEY_VALUE_FULL_INFORMATION {
580  ULONG Type;
584  WCHAR Name[1];
586 
587 typedef struct _KEY_VALUE_PARTIAL_INFORMATION {
589  ULONG Type;
593 
599 
600 typedef struct _KEY_VALUE_ENTRY {
604  ULONG Type;
606 
614 
618 
619 typedef struct _KEY_WRITE_TIME_INFORMATION {
622 
623 #if (NTDDI_VERSION < NTDDI_VISTA)
624 typedef struct _KEY_USER_FLAGS_INFORMATION {
625  ULONG UserFlags;
626 } KEY_USER_FLAGS_INFORMATION, *PKEY_USER_FLAGS_INFORMATION;
627 #endif
628 
629 typedef enum _REG_NOTIFY_CLASS {
690 
692 _Function_class_(EX_CALLBACK_FUNCTION)
693 typedef NTSTATUS
694 (NTAPI EX_CALLBACK_FUNCTION)(
698 typedef EX_CALLBACK_FUNCTION *PEX_CALLBACK_FUNCTION;
699 
706 #if (NTDDI_VERSION >= NTDDI_VISTA)
708 #endif
709 ;
710 
722 
730 
740 
752 
764 
775 
787 
799 
807 
825 
847 
851 
857 
867 
874 
875 #if (NTDDI_VERSION >= NTDDI_VISTA)
876 
890 
898 
904 
914 
923 
932 
941 
950 
951 #endif /* NTDDI_VERSION >= NTDDI_VISTA */
952 
953 #define SERVICE_KERNEL_DRIVER 0x00000001
954 #define SERVICE_FILE_SYSTEM_DRIVER 0x00000002
955 #define SERVICE_ADAPTER 0x00000004
956 #define SERVICE_RECOGNIZER_DRIVER 0x00000008
957 
958 #define SERVICE_DRIVER (SERVICE_KERNEL_DRIVER | \
959  SERVICE_FILE_SYSTEM_DRIVER | \
960  SERVICE_RECOGNIZER_DRIVER)
961 
962 #define SERVICE_WIN32_OWN_PROCESS 0x00000010
963 #define SERVICE_WIN32_SHARE_PROCESS 0x00000020
964 #define SERVICE_WIN32 (SERVICE_WIN32_OWN_PROCESS | \
965  SERVICE_WIN32_SHARE_PROCESS)
966 
967 #define SERVICE_INTERACTIVE_PROCESS 0x00000100
968 
969 #define SERVICE_TYPE_ALL (SERVICE_WIN32 | \
970  SERVICE_ADAPTER | \
971  SERVICE_DRIVER | \
972  SERVICE_INTERACTIVE_PROCESS)
973 
974 /* Service Start Types */
975 #define SERVICE_BOOT_START 0x00000000
976 #define SERVICE_SYSTEM_START 0x00000001
977 #define SERVICE_AUTO_START 0x00000002
978 #define SERVICE_DEMAND_START 0x00000003
979 #define SERVICE_DISABLED 0x00000004
980 
981 #define SERVICE_ERROR_IGNORE 0x00000000
982 #define SERVICE_ERROR_NORMAL 0x00000001
983 #define SERVICE_ERROR_SEVERE 0x00000002
984 #define SERVICE_ERROR_CRITICAL 0x00000003
985 
986 typedef enum _CM_SERVICE_NODE_TYPE {
994 
995 typedef enum _CM_SERVICE_LOAD_TYPE {
1002 
1009 
1010 #define CM_SERVICE_NETWORK_BOOT_LOAD 0x00000001
1011 #define CM_SERVICE_VIRTUAL_DISK_BOOT_LOAD 0x00000002
1012 #define CM_SERVICE_USB_DISK_BOOT_LOAD 0x00000004
1013 
1014 #define CM_SERVICE_VALID_PROMOTION_MASK (CM_SERVICE_NETWORK_BOOT_LOAD | \
1015  CM_SERVICE_VIRTUAL_DISK_BOOT_LOAD | \
1016  CM_SERVICE_USB_DISK_BOOT_LOAD)
1017 
1019 $if (_NTDDK_)
1020 typedef struct _KEY_NAME_INFORMATION {
1021  ULONG NameLength;
1022  WCHAR Name[1];
1024 
1025 typedef struct _KEY_CACHED_INFORMATION {
1027  ULONG TitleIndex;
1028  ULONG SubKeys;
1029  ULONG MaxNameLen;
1030  ULONG Values;
1033  ULONG NameLength;
1035 
1044 
1045 #define CmResourceTypeMaximum 8
1046 
1047 typedef struct _CM_PCCARD_DEVICE_DATA {
1056 
1057 $endif (_NTDDK_)
NTSTATUS Status
Definition: cmtypes.h:855
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:303
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@391 MessageInterrupt
UCHAR PosData2
Definition: cmtypes.h:382
struct _KEY_CACHED_INFORMATION KEY_CACHED_INFORMATION
KEY_INFORMATION_CLASS KeyInformationClass
Definition: cmtypes.h:767
USHORT HorizontalDisplayTimeHigh
Definition: cmtypes.h:462
struct _REG_SET_KEY_SECURITY_INFORMATION REG_SET_KEY_SECURITY_INFORMATION
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@399 Memory64
#define _IRQL_requires_same_
Definition: no_sal2.h:652
struct _CM_INT13_DRIVE_PARAMETER CM_INT13_DRIVE_PARAMETER
Definition: cmtypes.h:858
#define SERVICE_ERROR_IGNORE
Definition: cmtypes.h:981
#define SERVICE_SYSTEM_START
Definition: cmtypes.h:976
_CM_SERVICE_NODE_TYPE
Definition: cmtypes.h:986
struct _KEY_VALUE_PARTIAL_INFORMATION KEY_VALUE_PARTIAL_INFORMATION
#define SERVICE_ERROR_NORMAL
Definition: cmtypes.h:982
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@396 DeviceSpecificData
struct _REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION * PREG_CALLBACK_CONTEXT_CLEANUP_INFORMATION
ACCESS_MASK DesiredAccess
Definition: cmtypes.h:816
_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:305
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:304
enum _INTERFACE_TYPE INTERFACE_TYPE
PUNICODE_STRING Class
Definition: cmtypes.h:813
struct _KEY_NODE_INFORMATION * PKEY_NODE_INFORMATION
_IRQL_requires_same_ _In_opt_ PVOID Argument1
Definition: cmtypes.h:696
struct _REG_POST_CREATE_KEY_INFORMATION * PREG_POST_CREATE_KEY_INFORMATION
struct _KEY_VALUE_FULL_INFORMATION * PKEY_VALUE_FULL_INFORMATION
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@390 Interrupt
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:863
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:1605
PUNICODE_STRING NewName
Definition: cmtypes.h:802
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
USHORT HorizontalFrontPorch
Definition: cmtypes.h:467
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@398 Memory48
ULONG DataLength
Definition: nt_native.h:1174
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@388 Generic
ULONG Size
Definition: cmtypes.h:342
struct _REG_DELETE_VALUE_KEY_INFORMATION REG_DELETE_VALUE_KEY_INFORMATION
#define SERVICE_ADAPTER
Definition: cmtypes.h:955
#define _WDMDDK_
Definition: wdm.template.h:26
_KEY_INFORMATION_CLASS
Definition: nt_native.h:1130
USHORT HorizontalScreenSize
Definition: cmtypes.h:456
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:956
_IRQL_requires_same_ _Function_class_(EX_CALLBACK_FUNCTION) typedef NTSTATUS(NTAPI EX_CALLBACK_FUNCTION)(_In_ PVOID CallbackContext
USHORT HorizontalFrontPorchLow
Definition: cmtypes.h:466
_CM_SERVICE_LOAD_TYPE
Definition: cmtypes.h:995
struct _REG_DELETE_KEY_INFORMATION REG_DELETE_KEY_INFORMATION
USHORT AdapterId
Definition: cmtypes.h:380
union _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387 u
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:849
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@392 Memory
struct _CM_PARTIAL_RESOURCE_LIST * PCM_PARTIAL_RESOURCE_LIST
uint32_t ULONG_PTR
Definition: typedefs.h:65
struct _REG_QUERY_VALUE_KEY_INFORMATION * PREG_QUERY_VALUE_KEY_INFORMATION
#define SERVICE_DISABLED
Definition: cmtypes.h:979
struct _KEY_CONTROL_FLAGS_INFORMATION KEY_CONTROL_FLAGS_INFORMATION
struct _REG_SAVE_KEY_INFORMATION * PREG_SAVE_KEY_INFORMATION
Definition: cmtypes.h:329
PVOID Object
Definition: cmtypes.h:854
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@393 Dma
_Field_size_bytes_(DataLength) UCHAR Data[1]
CM_PARTIAL_RESOURCE_LIST PartialResourceList
Definition: hwresource.cpp:160
struct _KEY_VIRTUALIZATION_INFORMATION * PKEY_VIRTUALIZATION_INFORMATION
Definition: cmtypes.h:315
KEY_INFORMATION_CLASS KeyInformationClass
Definition: cmtypes.h:744
struct _REG_SET_KEY_SECURITY_INFORMATION * PREG_SET_KEY_SECURITY_INFORMATION
struct _KEY_SET_VIRTUALIZATION_INFORMATION KEY_SET_VIRTUALIZATION_INFORMATION
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@391::@400::@401 Raw
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@397 Memory40
PUNICODE_STRING ValueName
Definition: nt_native.h:1173
KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass
Definition: cmtypes.h:779
struct _REG_CREATE_KEY_INFORMATION REG_OPEN_KEY_INFORMATION
LARGE_INTEGER LastWriteTime
Definition: winternl.h:1191
enum _INTERFACE_TYPE * PINTERFACE_TYPE
struct _REG_LOAD_KEY_INFORMATION REG_LOAD_KEY_INFORMATION
ULONG Address
Definition: cmtypes.h:341
DEVICE_FLAGS Flags
Definition: cmtypes.h:334
_CM_ERROR_CONTROL_TYPE
Definition: cmtypes.h:1003
_REG_NOTIFY_CLASS
Definition: cmtypes.h:629
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:306
struct _KEY_WRITE_TIME_INFORMATION KEY_WRITE_TIME_INFORMATION
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:1018
#define SERVICE_BOOT_START
Definition: cmtypes.h:975
PSECURITY_DESCRIPTOR SecurityDescriptor
Definition: cmtypes.h:908
struct _REG_UNLOAD_KEY_INFORMATION REG_UNLOAD_KEY_INFORMATION
#define SERVICE_FILE_SYSTEM_DRIVER
Definition: cmtypes.h:954
#define SERVICE_WIN32_OWN_PROCESS
Definition: cmtypes.h:962
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:918
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:860
struct _REG_QUERY_KEY_INFORMATION REG_QUERY_KEY_INFORMATION
struct _CM_FULL_RESOURCE_DESCRIPTOR * PCM_FULL_RESOURCE_DESCRIPTOR
PUNICODE_STRING CompleteName
Definition: cmtypes.h:853
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:308
struct _KEY_HANDLE_TAGS_INFORMATION * PKEY_HANDLE_TAGS_INFORMATION
PUNICODE_STRING CompleteName
Definition: cmtypes.h:827
USHORT HorizontalFrontPorchHigh
Definition: cmtypes.h:468
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:862
Definition: cmtypes.h:852
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:944
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:383
struct _REG_QUERY_KEY_SECURITY_INFORMATION REG_QUERY_KEY_SECURITY_INFORMATION
_IRQL_requires_same_ _In_opt_ PVOID _In_opt_ PVOID Argument2
Definition: cmtypes.h:696
Definition: cmtypes.h:322
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:444
USHORT VerticalBackPorchHigh
Definition: cmtypes.h:474
LARGE_INTEGER LastWriteTime
Definition: nt_native.h:1107
CCHAR KPROCESSOR_MODE
Definition: ketypes.h:7
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@395 BusNumber
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:733
#define SERVICE_WIN32_SHARE_PROCESS
Definition: cmtypes.h:963
USHORT HorizontalResolution
Definition: cmtypes.h:458
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:307
* PKEY_NAME_INFORMATION
Definition: cmtypes.h:1023
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:454
struct _CM_RESOURCE_LIST CM_RESOURCE_LIST
struct _CM_ROM_BLOCK CM_ROM_BLOCK
USHORT DataConfigurationRegister
Definition: cmtypes.h:443
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR * PCM_PARTIAL_RESOURCE_DESCRIPTOR
ULONG Failed
Definition: cmtypes.h:302
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
USHORT VerticalFrontPorchHigh
Definition: cmtypes.h:477
PSECURITY_INFORMATION SecurityInformation
Definition: cmtypes.h:917
struct _REG_CREATE_KEY_INFORMATION_V1 * PREG_CREATE_KEY_INFORMATION_V1
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@389 Port
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:460
struct _REG_REPLACE_KEY_INFORMATION * PREG_REPLACE_KEY_INFORMATION
#define _In_
Definition: no_sal2.h:204
USHORT VerticalFrontPorchLow
Definition: cmtypes.h:475
KEY_NAME_INFORMATION
Definition: cmtypes.h:1023
PUNICODE_STRING SourceFile
Definition: cmtypes.h:880
ULONG DataOffset
Definition: nt_native.h:1175
struct _REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION
UCHAR StepRateHeadUnloadTime
Definition: cmtypes.h:489
_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:320
struct _CM_PNP_BIOS_DEVICE_NODE CM_PNP_BIOS_DEVICE_NODE
unsigned short USHORT
Definition: pedump.c:61
ULONG_PTR KAFFINITY
Definition: compat.h:85
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:983
PUNICODE_STRING RemainingName
Definition: cmtypes.h:842
enum _CM_SHARE_DISPOSITION CM_SHARE_DISPOSITION
USHORT HorizontalDisplayTime
Definition: cmtypes.h:461
PUNICODE_STRING ValueName
Definition: cmtypes.h:713
_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:864
PUNICODE_STRING CompleteName
Definition: cmtypes.h:809
struct _REG_SET_INFORMATION_KEY_INFORMATION * PREG_SET_INFORMATION_KEY_INFORMATION
struct _REG_UNLOAD_KEY_INFORMATION * PREG_UNLOAD_KEY_INFORMATION
Definition: cmtypes.h:314
USHORT HorizontalBackPorchHigh
Definition: cmtypes.h:465
struct _KEY_BASIC_INFORMATION KEY_BASIC_INFORMATION
USHORT HorizontalBackPorch
Definition: cmtypes.h:464
#define SERVICE_AUTO_START
Definition: cmtypes.h:977
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:698
PSECURITY_INFORMATION SecurityInformation
Definition: cmtypes.h:907
struct _REG_ENUMERATE_VALUE_KEY_INFORMATION REG_ENUMERATE_VALUE_KEY_INFORMATION
enum _INTERFACE_TYPE INTERFACE_TYPE
enum _CM_ERROR_CONTROL_TYPE SERVICE_ERROR_TYPE
Definition: nt_native.h:1172
ACCESS_MASK GrantedAccess
Definition: cmtypes.h:817
struct _KEY_CONTROL_FLAGS_INFORMATION * PKEY_CONTROL_FLAGS_INFORMATION
unsigned int ULONG
Definition: retypes.h:1
KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass
Definition: cmtypes.h:756
struct _CM_FULL_RESOURCE_DESCRIPTOR CM_FULL_RESOURCE_DESCRIPTOR
struct _KEY_BASIC_INFORMATION * PKEY_BASIC_INFORMATION
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@394 DevicePrivate
#define SERVICE_ERROR_CRITICAL
Definition: cmtypes.h:984
enum _KEY_SET_INFORMATION_CLASS KEY_SET_INFORMATION_CLASS
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 _KEY_VIRTUALIZATION_INFORMATION KEY_VIRTUALIZATION_INFORMATION
UCHAR PosData4
Definition: cmtypes.h:384
PVOID PreInformation
Definition: cmtypes.h:861
PUNICODE_STRING NewFileName
Definition: cmtypes.h:945
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:859
_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:978
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:865
struct _CM_RESOURCE_LIST * PCM_RESOURCE_LIST
PUNICODE_STRING KeyName
Definition: cmtypes.h:879
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:365
UCHAR PosData1
Definition: cmtypes.h:381
USHORT HorizontalBackPorchLow
Definition: cmtypes.h:463
KPROCESSOR_MODE CheckAccessMode
Definition: cmtypes.h:845
struct _CM_DISK_GEOMETRY_DEVICE_DATA CM_DISK_GEOMETRY_DEVICE_DATA
enum _KEY_VALUE_INFORMATION_CLASS KEY_VALUE_INFORMATION_CLASS
Definition: reg.c:135
ACCESS_MASK DesiredAccess
Definition: cmtypes.h:884
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@391::@400::@402 Translated
struct _REG_SET_VALUE_KEY_INFORMATION REG_SET_VALUE_KEY_INFORMATION
union _CM_PARTIAL_RESOURCE_DESCRIPTOR::@387::@391::@400 DUMMYUNIONNAME
USHORT VerticalBackPorchLow
Definition: cmtypes.h:472
#define SERVICE_KERNEL_DRIVER
Definition: cmtypes.h:953
struct _PNP_BUS_INFORMATION PNP_BUS_INFORMATION