ReactOS 0.4.15-dev-8096-ga0eec98
wmistr.h
Go to the documentation of this file.
1#ifndef _WMISTR_
2#define _WMISTR_
3
4typedef struct _WNODE_HEADER
5{
8 union
9 {
11 struct
12 {
15 };
16 };
17 union
18 {
22 };
27
28#define WNODE_FLAG_ALL_DATA 0x00000001
29#define WNODE_FLAG_SINGLE_INSTANCE 0x00000002
30#define WNODE_FLAG_SINGLE_ITEM 0x00000004
31#define WNODE_FLAG_EVENT_ITEM 0x00000008
32#define WNODE_FLAG_FIXED_INSTANCE_SIZE 0x00000010
33#define WNODE_FLAG_TOO_SMALL 0x00000020
34#define WNODE_FLAG_INSTANCES_SAME 0x00000040
35#define WNODE_FLAG_STATIC_INSTANCE_NAMES 0x00000080
36#define WNODE_FLAG_INTERNAL 0x00000100
37#define WNODE_FLAG_USE_TIMESTAMP 0x00000200
38#define WNODE_FLAG_PERSIST_EVENT 0x00000400
39#define WNODE_FLAG_EVENT_REFERENCE 0x00002000
40#define WNODE_FLAG_ANSI_INSTANCENAMES 0x00004000
41#define WNODE_FLAG_METHOD_ITEM 0x00008000
42#define WNODE_FLAG_PDO_INSTANCE_NAMES 0x00010000
43#define WNODE_FLAG_TRACED_GUID 0x00020000
44#define WNODE_FLAG_LOG_WNODE 0x00040000
45#define WNODE_FLAG_USE_GUID_PTR 0x00080000
46#define WNODE_FLAG_USE_MOF_PTR 0x00100000
47#define WNODE_FLAG_NO_HEADER 0x00200000
48#define WNODE_FLAG_SEVERITY_MASK 0xff000000
49
50typedef struct tagWNODE_TOO_SMALL
51{
55
57{
65
66#define WMIREG_FLAG_EXPENSIVE 0x00000001
67#define WMIREG_FLAG_INSTANCE_LIST 0x00000004
68#define WMIREG_FLAG_INSTANCE_BASENAME 0x00000008
69#define WMIREG_FLAG_INSTANCE_PDO 0x00000020
70#define WMIREG_FLAG_REMOVE_GUID 0x00010000
71#define WMIREG_FLAG_RESERVED1 0x00020000
72#define WMIREG_FLAG_RESERVED2 0x00040000
73#define WMIREG_FLAG_TRACED_GUID 0x00080000
74#define WMIREG_FLAG_TRACE_CONTROL_GUID 0x00001000
75#define WMIREG_FLAG_EVENT_ONLY_GUID 0x00000040
76
77typedef struct
78{
82 union
83 {
88 };
90
91typedef struct
92{
98 WMIREGGUIDW WmiRegGuid[];
100
103
104typedef struct
105{
109
110typedef struct tagWNODE_ALL_DATA
111{
116 union
117 {
120 };
122
124{
133
135{
144
145typedef enum
146{
158
159#define WMIGUID_QUERY 0x0001
160#define WMIGUID_SET 0x0002
161#define WMIGUID_NOTIFICATION 0x0004
162#define WMIGUID_READ_DESCRIPTION 0x0008
163#define WMIGUID_EXECUTE 0x0010
164#define TRACELOG_CREATE_REALTIME 0x0020
165#define TRACELOG_CREATE_ONDISK 0x0040
166#define TRACELOG_GUID_ENABLE 0x0080
167#define TRACELOG_ACCESS_KERNEL_LOGGER 0x0100
168#define TRACELOG_LOG_EVENT 0x0200
169#define TRACELOG_CREATE_INPROC 0x0200
170#define TRACELOG_ACCESS_REALTIME 0x0400
171#define TRACELOG_REGISTER_GUIDS 0x0800
172
173#define WMIGUID_ALL_ACCESS (STANDARD_RIGHTS_READ | SYNCHRONIZE | 0xFFF)
174
175#endif /* _WMISTR_ */
unsigned __int64 ULONG64
Definition: imports.h:198
ULONG Flags
Definition: wmistr.h:80
ULONG InstanceNameList
Definition: wmistr.h:84
GUID Guid
Definition: wmistr.h:79
ULONG_PTR InstanceInfo
Definition: wmistr.h:87
ULONG BaseNameOffset
Definition: wmistr.h:85
ULONG_PTR Pdo
Definition: wmistr.h:86
ULONG InstanceCount
Definition: wmistr.h:81
ULONG BufferSize
Definition: wmistr.h:93
ULONG GuidCount
Definition: wmistr.h:97
ULONG RegistryPath
Definition: wmistr.h:95
ULONG MofResourceName
Definition: wmistr.h:96
ULONG NextWmiRegInfo
Definition: wmistr.h:94
HANDLE KernelHandle
Definition: wmistr.h:20
LARGE_INTEGER TimeStamp
Definition: wmistr.h:21
ULONG CountLost
Definition: wmistr.h:19
ULONG BufferSize
Definition: wmistr.h:6
ULONG64 HistoricalContext
Definition: wmistr.h:10
ULONG ClientContext
Definition: wmistr.h:24
ULONG Linkage
Definition: wmistr.h:14
ULONG Version
Definition: wmistr.h:13
GUID Guid
Definition: wmistr.h:23
ULONG Flags
Definition: wmistr.h:25
ULONG ProviderId
Definition: wmistr.h:7
ULONG OffsetInstanceNameOffsets
Definition: wmistr.h:115
OFFSETINSTANCEDATAANDLENGTH OffsetInstanceDataAndLength[0]
Definition: wmistr.h:119
ULONG InstanceCount
Definition: wmistr.h:114
struct _WNODE_HEADER WnodeHeader
Definition: wmistr.h:112
ULONG DataBlockOffset
Definition: wmistr.h:113
ULONG FixedInstanceSize
Definition: wmistr.h:118
UCHAR VariableData[]
Definition: wmistr.h:142
struct _WNODE_HEADER WnodeHeader
Definition: wmistr.h:136
ULONG DataBlockOffset
Definition: wmistr.h:140
ULONG OffsetInstanceName
Definition: wmistr.h:137
struct _WNODE_HEADER WnodeHeader
Definition: wmistr.h:58
ULONG DataBlockOffset
Definition: wmistr.h:129
struct _WNODE_HEADER WnodeHeader
Definition: wmistr.h:125
ULONG OffsetInstanceName
Definition: wmistr.h:126
UCHAR VariableData[]
Definition: wmistr.h:131
struct _WNODE_HEADER WnodeHeader
Definition: wmistr.h:52
ULONG SizeNeeded
Definition: wmistr.h:53
uint32_t ULONG_PTR
Definition: typedefs.h:65
uint32_t ULONG
Definition: typedefs.h:59
struct tagWNODE_METHOD_ITEM * PWNODE_METHOD_ITEM
struct tagWNODE_METHOD_ITEM WNODE_METHOD_ITEM
struct WMIREGGUIDW * PWMIREGGUIDW
struct WMIREGINFOW * PWMIREGINFOW
struct _WNODE_HEADER * PWNODE_HEADER
struct tagWNODE_ALL_DATA WNODE_ALL_DATA
struct tagWNODE_SINGLE_ITEM WNODE_SINGLE_ITEM
struct tagWNODE_ALL_DATA * PWNODE_ALL_DATA
WMIDPREQUESTCODE
Definition: wmistr.h:146
@ WMI_DISABLE_EVENTS
Definition: wmistr.h:152
@ WMI_ENABLE_COLLECTION
Definition: wmistr.h:153
@ WMI_REGINFO
Definition: wmistr.h:155
@ WMI_SET_SINGLE_ITEM
Definition: wmistr.h:150
@ WMI_DISABLE_COLLECTION
Definition: wmistr.h:154
@ WMI_ENABLE_EVENTS
Definition: wmistr.h:151
@ WMI_EXECUTE_METHOD
Definition: wmistr.h:156
@ WMI_GET_ALL_DATA
Definition: wmistr.h:147
@ WMI_GET_SINGLE_INSTANCE
Definition: wmistr.h:148
@ WMI_SET_SINGLE_INSTANCE
Definition: wmistr.h:149
struct tagWNODE_SINGLE_INSTANCE WNODE_SINGLE_INSTANCE
struct tagWNODE_SINGLE_ITEM * PWNODE_SINGLE_ITEM
struct tagWNODE_SINGLE_INSTANCE * PWNODE_SINGLE_INSTANCE
struct _WNODE_HEADER WNODE_HEADER
WMIREGINFOW WMIREGINFO
Definition: wmistr.h:101
struct tagWNODE_TOO_SMALL * PWNODE_TOO_SMALL
struct tagWNODE_TOO_SMALL WNODE_TOO_SMALL
struct OFFSETINSTANCEDATAANDLENGTH * POFFSETINSTANCEDATAANDLENGTH
PWMIREGINFOW PWMIREGINFO
Definition: wmistr.h:102
unsigned char UCHAR
Definition: xmlstorage.h:181