ReactOS  0.4.13-dev-455-g28ed234
wmistr.h
Go to the documentation of this file.
1 #ifndef _WMISTR_
2 #define _WMISTR_
3 
4 typedef 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 
50 typedef 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 
77 typedef struct
78 {
82  union
83  {
88  };
90 
91 typedef struct
92 {
98  WMIREGGUIDW WmiRegGuid[];
100 
103 
104 typedef struct
105 {
109 
110 typedef struct tagWNODE_ALL_DATA
111 {
116  union
117  {
120  };
122 
123 typedef struct tagWNODE_SINGLE_ITEM
124 {
133 
134 typedef struct tagWNODE_METHOD_ITEM
135 {
144 
145 typedef 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_ */
ULONG DataBlockOffset
Definition: wmistr.h:129
struct tagWNODE_SINGLE_INSTANCE WNODE_SINGLE_INSTANCE
struct _WNODE_HEADER WnodeHeader
Definition: wmistr.h:52
LARGE_INTEGER TimeStamp
Definition: wmistr.h:21
OFFSETINSTANCEDATAANDLENGTH OffsetInstanceDataAndLength[0]
Definition: wmistr.h:119
struct tagWNODE_SINGLE_ITEM * PWNODE_SINGLE_ITEM
HANDLE KernelHandle
Definition: wmistr.h:20
ULONG RegistryPath
Definition: wmistr.h:95
ULONG Flags
Definition: wmistr.h:25
struct tagWNODE_ALL_DATA * PWNODE_ALL_DATA
struct tagWNODE_SINGLE_INSTANCE * PWNODE_SINGLE_INSTANCE
GUID Guid
Definition: wmistr.h:79
struct tagWNODE_TOO_SMALL * PWNODE_TOO_SMALL
ULONG DataBlockOffset
Definition: wmistr.h:140
UCHAR VariableData[]
Definition: wmistr.h:142
ULONG Flags
Definition: wmistr.h:80
UCHAR VariableData[]
Definition: wmistr.h:131
struct _WNODE_HEADER WNODE_HEADER
struct tagWNODE_METHOD_ITEM * PWNODE_METHOD_ITEM
struct tagWNODE_METHOD_ITEM WNODE_METHOD_ITEM
ULONG MofResourceName
Definition: wmistr.h:96
uint32_t ULONG_PTR
Definition: typedefs.h:63
struct tagWNODE_ALL_DATA WNODE_ALL_DATA
ULONG Version
Definition: wmistr.h:13
ULONG GuidCount
Definition: wmistr.h:97
struct tagWNODE_TOO_SMALL WNODE_TOO_SMALL
ULONG InstanceNameList
Definition: wmistr.h:84
struct WMIREGGUIDW * PWMIREGGUIDW
ULONG BaseNameOffset
Definition: wmistr.h:85
WMIREGINFOW WMIREGINFO
Definition: wmistr.h:101
ULONG DataBlockOffset
Definition: wmistr.h:113
ULONG64 HistoricalContext
Definition: wmistr.h:10
struct tagWNODE_SINGLE_ITEM WNODE_SINGLE_ITEM
struct WMIREGINFOW * PWMIREGINFOW
ULONG NextWmiRegInfo
Definition: wmistr.h:94
struct _WNODE_HEADER WnodeHeader
Definition: wmistr.h:125
ULONG_PTR InstanceInfo
Definition: wmistr.h:87
ULONG OffsetInstanceName
Definition: wmistr.h:126
PWMIREGINFOW PWMIREGINFO
Definition: wmistr.h:102
ULONG OffsetInstanceNameOffsets
Definition: wmistr.h:115
unsigned __int64 ULONG64
Definition: imports.h:198
unsigned char UCHAR
Definition: xmlstorage.h:181
WMIDPREQUESTCODE
Definition: wmistr.h:145
ULONG ProviderId
Definition: wmistr.h:7
ULONG_PTR Pdo
Definition: wmistr.h:86
ULONG Linkage
Definition: wmistr.h:14
struct OFFSETINSTANCEDATAANDLENGTH * POFFSETINSTANCEDATAANDLENGTH
ULONG BufferSize
Definition: wmistr.h:93
ULONG FixedInstanceSize
Definition: wmistr.h:118
struct _WNODE_HEADER WnodeHeader
Definition: wmistr.h:136
struct _WNODE_HEADER * PWNODE_HEADER
ULONG InstanceCount
Definition: wmistr.h:81
GUID Guid
Definition: wmistr.h:23
ULONG CountLost
Definition: wmistr.h:19
ULONG BufferSize
Definition: wmistr.h:6
ULONG SizeNeeded
Definition: wmistr.h:53
unsigned int ULONG
Definition: retypes.h:1
struct _WNODE_HEADER WnodeHeader
Definition: wmistr.h:112
ULONG ClientContext
Definition: wmistr.h:24
struct _WNODE_HEADER WnodeHeader
Definition: wmistr.h:58
ULONG InstanceCount
Definition: wmistr.h:114
ULONG OffsetInstanceName
Definition: wmistr.h:137