librpc/gen_ndr
[metze/samba/wip.git] / source3 / librpc / gen_ndr / wmi.h
1 /* header auto-generated by pidl */
2
3 #include <stdint.h>
4
5 #include "libcli/util/ntstatus.h"
6
7 #include "librpc/gen_ndr/orpc.h"
8 #include "librpc/gen_ndr/dcom.h"
9 #include "librpc/gen_ndr/misc.h"
10 #ifndef _HEADER_IWbemClassObject
11 #define _HEADER_IWbemClassObject
12
13 struct BSTR {
14         uint32_t flags;/* [value(0x72657355)] */
15         const char *data;/* [charset(UTF16)] */
16 }/* [noprint] */;
17
18
19 struct Delete {
20         struct {
21                 struct ORPCTHIS ORPCthis;
22                 const char *wszName;/* [ref,charset(UTF16)] */
23         } in;
24
25         struct {
26                 struct ORPCTHAT *ORPCthat;/* [ref] */
27                 WERROR result;
28         } out;
29
30 };
31
32 #endif /* _HEADER_IWbemClassObject */
33 #ifndef _HEADER_IWbemServices
34 #define _HEADER_IWbemServices
35
36 enum WBEMSTATUS
37 #ifndef USE_UINT_ENUMS
38  {
39         RPC_S_CALL_FAILED=(int)(1726),
40         WBEM_NO_ERROR=(int)(0),
41         WBEM_S_NO_ERROR=(int)(0),
42         WBEM_S_SAME=(int)(0),
43         WBEM_S_FALSE=(int)(1),
44         WBEM_S_ALREADY_EXISTS=(int)(0x40001),
45         WBEM_S_RESET_TO_DEFAULT=(int)(0x40002),
46         WBEM_S_DIFFERENT=(int)(0x40003),
47         WBEM_S_TIMEDOUT=(int)(0x40004),
48         WBEM_S_NO_MORE_DATA=(int)(0x40005),
49         WBEM_S_OPERATION_CANCELLED=(int)(0x40006),
50         WBEM_S_PENDING=(int)(0x40007),
51         WBEM_S_DUPLICATE_OBJECTS=(int)(0x40008),
52         WBEM_S_ACCESS_DENIED=(int)(0x40009),
53         WBEM_S_PARTIAL_RESULTS=(int)(0x40010),
54         WBEM_S_NO_POSTHOOK=(int)(0x40011),
55         WBEM_S_POSTHOOK_WITH_BOTH=(int)(0x40012),
56         WBEM_S_POSTHOOK_WITH_NEW=(int)(0x40013),
57         WBEM_S_POSTHOOK_WITH_STATUS=(int)(0x40014),
58         WBEM_S_POSTHOOK_WITH_OLD=(int)(0x40015),
59         WBEM_S_REDO_PREHOOK_WITH_ORIGINAL_OBJECT=(int)(0x40016),
60         WBEM_S_SOURCE_NOT_AVAILABLE=(int)(0x40017),
61         WBEM_E_FAILED=(int)(0x80041001),
62         WBEM_E_NOT_FOUND=(int)(0x80041002),
63         WBEM_E_ACCESS_DENIED=(int)(0x80041003),
64         WBEM_E_PROVIDER_FAILURE=(int)(0x80041004),
65         WBEM_E_TYPE_MISMATCH=(int)(0x80041005),
66         WBEM_E_OUT_OF_MEMORY=(int)(0x80041006),
67         WBEM_E_INVALID_CONTEXT=(int)(0x80041007),
68         WBEM_E_INVALID_PARAMETER=(int)(0x80041008),
69         WBEM_E_NOT_AVAILABLE=(int)(0x80041009),
70         WBEM_E_CRITICAL_ERROR=(int)(0x8004100A),
71         WBEM_E_INVALID_STREAM=(int)(0x8004100B),
72         WBEM_E_NOT_SUPPORTED=(int)(0x8004100C),
73         WBEM_E_INVALID_SUPERCLASS=(int)(0x8004100D),
74         WBEM_E_INVALID_NAMESPACE=(int)(0x8004100E),
75         WBEM_E_INVALID_OBJECT=(int)(0x8004100F),
76         WBEM_E_INVALID_CLASS=(int)(0x80041010),
77         WBEM_E_PROVIDER_NOT_FOUND=(int)(0x80041011),
78         WBEM_E_INVALID_PROVIDER_REGISTRATION=(int)(0x80041012),
79         WBEM_E_PROVIDER_LOAD_FAILURE=(int)(0x80041013),
80         WBEM_E_INITIALIZATION_FAILURE=(int)(0x80041014),
81         WBEM_E_TRANSPORT_FAILURE=(int)(0x80041015),
82         WBEM_E_INVALID_OPERATION=(int)(0x80041016),
83         WBEM_E_INVALID_QUERY=(int)(0x80041017),
84         WBEM_E_INVALID_QUERY_TYPE=(int)(0x80041018),
85         WBEM_E_ALREADY_EXISTS=(int)(0x80041019),
86         WBEM_E_OVERRIDE_NOT_ALLOWED=(int)(0x8004101A),
87         WBEM_E_PROPAGATED_QUALIFIER=(int)(0x8004101B),
88         WBEM_E_PROPAGATED_PROPERTY=(int)(0x8004101C),
89         WBEM_E_UNEXPECTED=(int)(0x8004101D),
90         WBEM_E_ILLEGAL_OPERATION=(int)(0x8004101E),
91         WBEM_E_CANNOT_BE_KEY=(int)(0x8004101F),
92         WBEM_E_INCOMPLETE_CLASS=(int)(0x80041020),
93         WBEM_E_INVALID_SYNTAX=(int)(0x80041021),
94         WBEM_E_NONDECORATED_OBJECT=(int)(0x80041022),
95         WBEM_E_READ_ONLY=(int)(0x80041023),
96         WBEM_E_PROVIDER_NOT_CAPABLE=(int)(0x80041024),
97         WBEM_E_CLASS_HAS_CHILDREN=(int)(0x80041025),
98         WBEM_E_CLASS_HAS_INSTANCES=(int)(0x80041026),
99         WBEM_E_QUERY_NOT_IMPLEMENTED=(int)(0x80041027),
100         WBEM_E_ILLEGAL_NULL=(int)(0x80041028),
101         WBEM_E_INVALID_QUALIFIER_TYPE=(int)(0x80041029),
102         WBEM_E_INVALID_PROPERTY_TYPE=(int)(0x8004102A),
103         WBEM_E_VALUE_OUT_OF_RANGE=(int)(0x8004102B),
104         WBEM_E_CANNOT_BE_SINGLETON=(int)(0x8004102C),
105         WBEM_E_INVALID_CIM_TYPE=(int)(0x8004102D),
106         WBEM_E_INVALID_METHOD=(int)(0x8004102E),
107         WBEM_E_INVALID_METHOD_PARAMETERS=(int)(0x8004102F),
108         WBEM_E_SYSTEM_PROPERTY=(int)(0x80041030),
109         WBEM_E_INVALID_PROPERTY=(int)(0x80041031),
110         WBEM_E_CALL_CANCELLED=(int)(0x80041032),
111         WBEM_E_SHUTTING_DOWN=(int)(0x80041033),
112         WBEM_E_PROPAGATED_METHOD=(int)(0x80041034),
113         WBEM_E_UNSUPPORTED_PARAMETER=(int)(0x80041035),
114         WBEM_E_MISSING_PARAMETER_ID=(int)(0x80041036),
115         WBEM_E_INVALID_PARAMETER_ID=(int)(0x80041037),
116         WBEM_E_NONCONSECUTIVE_PARAMETER_IDS=(int)(0x80041038),
117         WBEM_E_PARAMETER_ID_ON_RETVAL=(int)(0x80041039),
118         WBEM_E_INVALID_OBJECT_PATH=(int)(0x8004103A),
119         WBEM_E_OUT_OF_DISK_SPACE=(int)(0x8004103B),
120         WBEM_E_BUFFER_TOO_SMALL=(int)(0x8004103C),
121         WBEM_E_UNSUPPORTED_PUT_EXTENSION=(int)(0x8004103D),
122         WBEM_E_UNKNOWN_OBJECT_TYPE=(int)(0x8004103E),
123         WBEM_E_UNKNOWN_PACKET_TYPE=(int)(0x8004103F),
124         WBEM_E_MARSHAL_VERSION_MISMATCH=(int)(0x80041040),
125         WBEM_E_MARSHAL_INVALID_SIGNATURE=(int)(0x80041041),
126         WBEM_E_INVALID_QUALIFIER=(int)(0x80041042),
127         WBEM_E_INVALID_DUPLICATE_PARAMETER=(int)(0x80041043),
128         WBEM_E_TOO_MUCH_DATA=(int)(0x80041044),
129         WBEM_E_SERVER_TOO_BUSY=(int)(0x80041045),
130         WBEM_E_INVALID_FLAVOR=(int)(0x80041046),
131         WBEM_E_CIRCULAR_REFERENCE=(int)(0x80041047),
132         WBEM_E_UNSUPPORTED_CLASS_UPDATE=(int)(0x80041048),
133         WBEM_E_CANNOT_CHANGE_KEY_INHERITANCE=(int)(0x80041049),
134         WBEM_E_CANNOT_CHANGE_INDEX_INHERITANCE=(int)(0x80041050),
135         WBEM_E_TOO_MANY_PROPERTIES=(int)(0x80041051),
136         WBEM_E_UPDATE_TYPE_MISMATCH=(int)(0x80041052),
137         WBEM_E_UPDATE_OVERRIDE_NOT_ALLOWED=(int)(0x80041053),
138         WBEM_E_UPDATE_PROPAGATED_METHOD=(int)(0x80041054),
139         WBEM_E_METHOD_NOT_IMPLEMENTED=(int)(0x80041055),
140         WBEM_E_METHOD_DISABLED=(int)(0x80041056),
141         WBEM_E_REFRESHER_BUSY=(int)(0x80041057),
142         WBEM_E_UNPARSABLE_QUERY=(int)(0x80041058),
143         WBEM_E_NOT_EVENT_CLASS=(int)(0x80041059),
144         WBEM_E_MISSING_GROUP_WITHIN=(int)(0x8004105A),
145         WBEM_E_MISSING_AGGREGATION_LIST=(int)(0x8004105B),
146         WBEM_E_PROPERTY_NOT_AN_OBJECT=(int)(0x8004105C),
147         WBEM_E_AGGREGATING_BY_OBJECT=(int)(0x8004105D),
148         WBEM_E_UNINTERPRETABLE_PROVIDER_QUERY=(int)(0x8004105F),
149         WBEM_E_BACKUP_RESTORE_WINMGMT_RUNNING=(int)(0x80041060),
150         WBEM_E_QUEUE_OVERFLOW=(int)(0x80041061),
151         WBEM_E_PRIVILEGE_NOT_HELD=(int)(0x80041062),
152         WBEM_E_INVALID_OPERATOR=(int)(0x80041063),
153         WBEM_E_LOCAL_CREDENTIALS=(int)(0x80041064),
154         WBEM_E_CANNOT_BE_ABSTRACT=(int)(0x80041065),
155         WBEM_E_AMENDED_OBJECT=(int)(0x80041066),
156         WBEM_E_CLIENT_TOO_SLOW=(int)(0x80041067),
157         WBEM_E_NULL_SECURITY_DESCRIPTOR=(int)(0x80041068),
158         WBEM_E_TIMED_OUT=(int)(0x80041069),
159         WBEM_E_INVALID_ASSOCIATION=(int)(0x8004106A),
160         WBEM_E_AMBIGUOUS_OPERATION=(int)(0x8004106B),
161         WBEM_E_QUOTA_VIOLATION=(int)(0x8004106C),
162         WBEM_E_RESERVED_001=(int)(0x8004106D),
163         WBEM_E_RESERVED_002=(int)(0x8004106E),
164         WBEM_E_UNSUPPORTED_LOCALE=(int)(0x8004106F),
165         WBEM_E_HANDLE_OUT_OF_DATE=(int)(0x80041070),
166         WBEM_E_CONNECTION_FAILED=(int)(0x80041071),
167         WBEM_E_INVALID_HANDLE_REQUEST=(int)(0x80041072),
168         WBEM_E_PROPERTY_NAME_TOO_WIDE=(int)(0x80041073),
169         WBEM_E_CLASS_NAME_TOO_WIDE=(int)(0x80041074),
170         WBEM_E_METHOD_NAME_TOO_WIDE=(int)(0x80041075),
171         WBEM_E_QUALIFIER_NAME_TOO_WIDE=(int)(0x80041076),
172         WBEM_E_RERUN_COMMAND=(int)(0x80041077),
173         WBEM_E_DATABASE_VER_MISMATCH=(int)(0x80041078),
174         WBEM_E_VETO_DELETE=(int)(0x80041079),
175         WBEM_E_VETO_PUT=(int)(0x8004107A),
176         WBEM_E_INVALID_LOCALE=(int)(0x80041080),
177         WBEM_E_PROVIDER_SUSPENDED=(int)(0x80041081),
178         WBEM_E_SYNCHRONIZATION_REQUIRED=(int)(0x80041082),
179         WBEM_E_NO_SCHEMA=(int)(0x80041083),
180         WBEM_E_PROVIDER_ALREADY_REGISTERED=(int)(0x80041084),
181         WBEM_E_PROVIDER_NOT_REGISTERED=(int)(0x80041085),
182         WBEM_E_FATAL_TRANSPORT_ERROR=(int)(0x80041086),
183         WBEM_E_ENCRYPTED_CONNECTION_REQUIRED=(int)(0x80041087),
184         WBEM_E_PROVIDER_TIMED_OUT=(int)(0x80041088),
185         WBEM_E_NO_KEY=(int)(0x80041089),
186         WBEM_E_PROVIDER_DISABLED=(int)(0x8004108a)
187 }
188 #else
189  { __donnot_use_enum_WBEMSTATUS=0x7FFFFFFF}
190 #define RPC_S_CALL_FAILED ( 1726 )
191 #define WBEM_NO_ERROR ( 0 )
192 #define WBEM_S_NO_ERROR ( 0 )
193 #define WBEM_S_SAME ( 0 )
194 #define WBEM_S_FALSE ( 1 )
195 #define WBEM_S_ALREADY_EXISTS ( 0x40001 )
196 #define WBEM_S_RESET_TO_DEFAULT ( 0x40002 )
197 #define WBEM_S_DIFFERENT ( 0x40003 )
198 #define WBEM_S_TIMEDOUT ( 0x40004 )
199 #define WBEM_S_NO_MORE_DATA ( 0x40005 )
200 #define WBEM_S_OPERATION_CANCELLED ( 0x40006 )
201 #define WBEM_S_PENDING ( 0x40007 )
202 #define WBEM_S_DUPLICATE_OBJECTS ( 0x40008 )
203 #define WBEM_S_ACCESS_DENIED ( 0x40009 )
204 #define WBEM_S_PARTIAL_RESULTS ( 0x40010 )
205 #define WBEM_S_NO_POSTHOOK ( 0x40011 )
206 #define WBEM_S_POSTHOOK_WITH_BOTH ( 0x40012 )
207 #define WBEM_S_POSTHOOK_WITH_NEW ( 0x40013 )
208 #define WBEM_S_POSTHOOK_WITH_STATUS ( 0x40014 )
209 #define WBEM_S_POSTHOOK_WITH_OLD ( 0x40015 )
210 #define WBEM_S_REDO_PREHOOK_WITH_ORIGINAL_OBJECT ( 0x40016 )
211 #define WBEM_S_SOURCE_NOT_AVAILABLE ( 0x40017 )
212 #define WBEM_E_FAILED ( 0x80041001 )
213 #define WBEM_E_NOT_FOUND ( 0x80041002 )
214 #define WBEM_E_ACCESS_DENIED ( 0x80041003 )
215 #define WBEM_E_PROVIDER_FAILURE ( 0x80041004 )
216 #define WBEM_E_TYPE_MISMATCH ( 0x80041005 )
217 #define WBEM_E_OUT_OF_MEMORY ( 0x80041006 )
218 #define WBEM_E_INVALID_CONTEXT ( 0x80041007 )
219 #define WBEM_E_INVALID_PARAMETER ( 0x80041008 )
220 #define WBEM_E_NOT_AVAILABLE ( 0x80041009 )
221 #define WBEM_E_CRITICAL_ERROR ( 0x8004100A )
222 #define WBEM_E_INVALID_STREAM ( 0x8004100B )
223 #define WBEM_E_NOT_SUPPORTED ( 0x8004100C )
224 #define WBEM_E_INVALID_SUPERCLASS ( 0x8004100D )
225 #define WBEM_E_INVALID_NAMESPACE ( 0x8004100E )
226 #define WBEM_E_INVALID_OBJECT ( 0x8004100F )
227 #define WBEM_E_INVALID_CLASS ( 0x80041010 )
228 #define WBEM_E_PROVIDER_NOT_FOUND ( 0x80041011 )
229 #define WBEM_E_INVALID_PROVIDER_REGISTRATION ( 0x80041012 )
230 #define WBEM_E_PROVIDER_LOAD_FAILURE ( 0x80041013 )
231 #define WBEM_E_INITIALIZATION_FAILURE ( 0x80041014 )
232 #define WBEM_E_TRANSPORT_FAILURE ( 0x80041015 )
233 #define WBEM_E_INVALID_OPERATION ( 0x80041016 )
234 #define WBEM_E_INVALID_QUERY ( 0x80041017 )
235 #define WBEM_E_INVALID_QUERY_TYPE ( 0x80041018 )
236 #define WBEM_E_ALREADY_EXISTS ( 0x80041019 )
237 #define WBEM_E_OVERRIDE_NOT_ALLOWED ( 0x8004101A )
238 #define WBEM_E_PROPAGATED_QUALIFIER ( 0x8004101B )
239 #define WBEM_E_PROPAGATED_PROPERTY ( 0x8004101C )
240 #define WBEM_E_UNEXPECTED ( 0x8004101D )
241 #define WBEM_E_ILLEGAL_OPERATION ( 0x8004101E )
242 #define WBEM_E_CANNOT_BE_KEY ( 0x8004101F )
243 #define WBEM_E_INCOMPLETE_CLASS ( 0x80041020 )
244 #define WBEM_E_INVALID_SYNTAX ( 0x80041021 )
245 #define WBEM_E_NONDECORATED_OBJECT ( 0x80041022 )
246 #define WBEM_E_READ_ONLY ( 0x80041023 )
247 #define WBEM_E_PROVIDER_NOT_CAPABLE ( 0x80041024 )
248 #define WBEM_E_CLASS_HAS_CHILDREN ( 0x80041025 )
249 #define WBEM_E_CLASS_HAS_INSTANCES ( 0x80041026 )
250 #define WBEM_E_QUERY_NOT_IMPLEMENTED ( 0x80041027 )
251 #define WBEM_E_ILLEGAL_NULL ( 0x80041028 )
252 #define WBEM_E_INVALID_QUALIFIER_TYPE ( 0x80041029 )
253 #define WBEM_E_INVALID_PROPERTY_TYPE ( 0x8004102A )
254 #define WBEM_E_VALUE_OUT_OF_RANGE ( 0x8004102B )
255 #define WBEM_E_CANNOT_BE_SINGLETON ( 0x8004102C )
256 #define WBEM_E_INVALID_CIM_TYPE ( 0x8004102D )
257 #define WBEM_E_INVALID_METHOD ( 0x8004102E )
258 #define WBEM_E_INVALID_METHOD_PARAMETERS ( 0x8004102F )
259 #define WBEM_E_SYSTEM_PROPERTY ( 0x80041030 )
260 #define WBEM_E_INVALID_PROPERTY ( 0x80041031 )
261 #define WBEM_E_CALL_CANCELLED ( 0x80041032 )
262 #define WBEM_E_SHUTTING_DOWN ( 0x80041033 )
263 #define WBEM_E_PROPAGATED_METHOD ( 0x80041034 )
264 #define WBEM_E_UNSUPPORTED_PARAMETER ( 0x80041035 )
265 #define WBEM_E_MISSING_PARAMETER_ID ( 0x80041036 )
266 #define WBEM_E_INVALID_PARAMETER_ID ( 0x80041037 )
267 #define WBEM_E_NONCONSECUTIVE_PARAMETER_IDS ( 0x80041038 )
268 #define WBEM_E_PARAMETER_ID_ON_RETVAL ( 0x80041039 )
269 #define WBEM_E_INVALID_OBJECT_PATH ( 0x8004103A )
270 #define WBEM_E_OUT_OF_DISK_SPACE ( 0x8004103B )
271 #define WBEM_E_BUFFER_TOO_SMALL ( 0x8004103C )
272 #define WBEM_E_UNSUPPORTED_PUT_EXTENSION ( 0x8004103D )
273 #define WBEM_E_UNKNOWN_OBJECT_TYPE ( 0x8004103E )
274 #define WBEM_E_UNKNOWN_PACKET_TYPE ( 0x8004103F )
275 #define WBEM_E_MARSHAL_VERSION_MISMATCH ( 0x80041040 )
276 #define WBEM_E_MARSHAL_INVALID_SIGNATURE ( 0x80041041 )
277 #define WBEM_E_INVALID_QUALIFIER ( 0x80041042 )
278 #define WBEM_E_INVALID_DUPLICATE_PARAMETER ( 0x80041043 )
279 #define WBEM_E_TOO_MUCH_DATA ( 0x80041044 )
280 #define WBEM_E_SERVER_TOO_BUSY ( 0x80041045 )
281 #define WBEM_E_INVALID_FLAVOR ( 0x80041046 )
282 #define WBEM_E_CIRCULAR_REFERENCE ( 0x80041047 )
283 #define WBEM_E_UNSUPPORTED_CLASS_UPDATE ( 0x80041048 )
284 #define WBEM_E_CANNOT_CHANGE_KEY_INHERITANCE ( 0x80041049 )
285 #define WBEM_E_CANNOT_CHANGE_INDEX_INHERITANCE ( 0x80041050 )
286 #define WBEM_E_TOO_MANY_PROPERTIES ( 0x80041051 )
287 #define WBEM_E_UPDATE_TYPE_MISMATCH ( 0x80041052 )
288 #define WBEM_E_UPDATE_OVERRIDE_NOT_ALLOWED ( 0x80041053 )
289 #define WBEM_E_UPDATE_PROPAGATED_METHOD ( 0x80041054 )
290 #define WBEM_E_METHOD_NOT_IMPLEMENTED ( 0x80041055 )
291 #define WBEM_E_METHOD_DISABLED ( 0x80041056 )
292 #define WBEM_E_REFRESHER_BUSY ( 0x80041057 )
293 #define WBEM_E_UNPARSABLE_QUERY ( 0x80041058 )
294 #define WBEM_E_NOT_EVENT_CLASS ( 0x80041059 )
295 #define WBEM_E_MISSING_GROUP_WITHIN ( 0x8004105A )
296 #define WBEM_E_MISSING_AGGREGATION_LIST ( 0x8004105B )
297 #define WBEM_E_PROPERTY_NOT_AN_OBJECT ( 0x8004105C )
298 #define WBEM_E_AGGREGATING_BY_OBJECT ( 0x8004105D )
299 #define WBEM_E_UNINTERPRETABLE_PROVIDER_QUERY ( 0x8004105F )
300 #define WBEM_E_BACKUP_RESTORE_WINMGMT_RUNNING ( 0x80041060 )
301 #define WBEM_E_QUEUE_OVERFLOW ( 0x80041061 )
302 #define WBEM_E_PRIVILEGE_NOT_HELD ( 0x80041062 )
303 #define WBEM_E_INVALID_OPERATOR ( 0x80041063 )
304 #define WBEM_E_LOCAL_CREDENTIALS ( 0x80041064 )
305 #define WBEM_E_CANNOT_BE_ABSTRACT ( 0x80041065 )
306 #define WBEM_E_AMENDED_OBJECT ( 0x80041066 )
307 #define WBEM_E_CLIENT_TOO_SLOW ( 0x80041067 )
308 #define WBEM_E_NULL_SECURITY_DESCRIPTOR ( 0x80041068 )
309 #define WBEM_E_TIMED_OUT ( 0x80041069 )
310 #define WBEM_E_INVALID_ASSOCIATION ( 0x8004106A )
311 #define WBEM_E_AMBIGUOUS_OPERATION ( 0x8004106B )
312 #define WBEM_E_QUOTA_VIOLATION ( 0x8004106C )
313 #define WBEM_E_RESERVED_001 ( 0x8004106D )
314 #define WBEM_E_RESERVED_002 ( 0x8004106E )
315 #define WBEM_E_UNSUPPORTED_LOCALE ( 0x8004106F )
316 #define WBEM_E_HANDLE_OUT_OF_DATE ( 0x80041070 )
317 #define WBEM_E_CONNECTION_FAILED ( 0x80041071 )
318 #define WBEM_E_INVALID_HANDLE_REQUEST ( 0x80041072 )
319 #define WBEM_E_PROPERTY_NAME_TOO_WIDE ( 0x80041073 )
320 #define WBEM_E_CLASS_NAME_TOO_WIDE ( 0x80041074 )
321 #define WBEM_E_METHOD_NAME_TOO_WIDE ( 0x80041075 )
322 #define WBEM_E_QUALIFIER_NAME_TOO_WIDE ( 0x80041076 )
323 #define WBEM_E_RERUN_COMMAND ( 0x80041077 )
324 #define WBEM_E_DATABASE_VER_MISMATCH ( 0x80041078 )
325 #define WBEM_E_VETO_DELETE ( 0x80041079 )
326 #define WBEM_E_VETO_PUT ( 0x8004107A )
327 #define WBEM_E_INVALID_LOCALE ( 0x80041080 )
328 #define WBEM_E_PROVIDER_SUSPENDED ( 0x80041081 )
329 #define WBEM_E_SYNCHRONIZATION_REQUIRED ( 0x80041082 )
330 #define WBEM_E_NO_SCHEMA ( 0x80041083 )
331 #define WBEM_E_PROVIDER_ALREADY_REGISTERED ( 0x80041084 )
332 #define WBEM_E_PROVIDER_NOT_REGISTERED ( 0x80041085 )
333 #define WBEM_E_FATAL_TRANSPORT_ERROR ( 0x80041086 )
334 #define WBEM_E_ENCRYPTED_CONNECTION_REQUIRED ( 0x80041087 )
335 #define WBEM_E_PROVIDER_TIMED_OUT ( 0x80041088 )
336 #define WBEM_E_NO_KEY ( 0x80041089 )
337 #define WBEM_E_PROVIDER_DISABLED ( 0x8004108a )
338 #endif
339 ;
340
341 enum WBEM_GENERIC_FLAG_TYPE
342 #ifndef USE_UINT_ENUMS
343  {
344         WBEM_FLAG_RETURN_WBEM_COMPLETE=(int)(0),
345         WBEM_FLAG_BIDIRECTIONAL=(int)(0),
346         WBEM_FLAG_RETURN_IMMEDIATELY=(int)(0x000010),
347         WBEM_FLAG_FORWARD_ONLY=(int)(0x000020),
348         WBEM_FLAG_NO_ERROR_OBJECT=(int)(0x000040),
349         WBEM_FLAG_SEND_STATUS=(int)(0x000080),
350         WBEM_FLAG_ENSURE_LOCATABLE=(int)(0x000100),
351         WBEM_FLAG_DIRECT_READ=(int)(0x000200),
352         WBEM_FLAG_USE_AMENDED_QUALIFIERS=(int)(0x020000),
353         WBEM_FLAG_STRONG_VALIDATION=(int)(0x100000),
354         WBEM_FLAG_RETURN_ERROR_OBJECT=(int)(0),
355         WBEM_FLAG_DONT_SEND_STATUS=(int)(0),
356         WBEM_FLAG_SEND_ONLY_SELECTED=(int)(0),
357         WBEM_RETURN_WHEN_COMPLETE=(int)(0),
358         WBEM_RETURN_IMMEDIATELY=(int)(WBEM_FLAG_RETURN_IMMEDIATELY),
359         WBEM_MASK_RESERVED_FLAGS=(int)(0x001F000)
360 }
361 #else
362  { __donnot_use_enum_WBEM_GENERIC_FLAG_TYPE=0x7FFFFFFF}
363 #define WBEM_FLAG_RETURN_WBEM_COMPLETE ( 0 )
364 #define WBEM_FLAG_BIDIRECTIONAL ( 0 )
365 #define WBEM_FLAG_RETURN_IMMEDIATELY ( 0x000010 )
366 #define WBEM_FLAG_FORWARD_ONLY ( 0x000020 )
367 #define WBEM_FLAG_NO_ERROR_OBJECT ( 0x000040 )
368 #define WBEM_FLAG_SEND_STATUS ( 0x000080 )
369 #define WBEM_FLAG_ENSURE_LOCATABLE ( 0x000100 )
370 #define WBEM_FLAG_DIRECT_READ ( 0x000200 )
371 #define WBEM_FLAG_USE_AMENDED_QUALIFIERS ( 0x020000 )
372 #define WBEM_FLAG_STRONG_VALIDATION ( 0x100000 )
373 #define WBEM_FLAG_RETURN_ERROR_OBJECT ( 0 )
374 #define WBEM_FLAG_DONT_SEND_STATUS ( 0 )
375 #define WBEM_FLAG_SEND_ONLY_SELECTED ( 0 )
376 #define WBEM_RETURN_WHEN_COMPLETE ( 0 )
377 #define WBEM_RETURN_IMMEDIATELY ( WBEM_FLAG_RETURN_IMMEDIATELY )
378 #define WBEM_MASK_RESERVED_FLAGS ( 0x001F000 )
379 #endif
380 ;
381
382 enum WBEM_TIMEOUT_TYPE
383 #ifndef USE_UINT_ENUMS
384  {
385         WBEM_NO_WAIT=(int)(0),
386         WBEM_INFINITE=(int)(0xFFFFFFFF)
387 }
388 #else
389  { __donnot_use_enum_WBEM_TIMEOUT_TYPE=0x7FFFFFFF}
390 #define WBEM_NO_WAIT ( 0 )
391 #define WBEM_INFINITE ( 0xFFFFFFFF )
392 #endif
393 ;
394
395 enum CIMTYPE_ENUMERATION
396 #ifndef USE_UINT_ENUMS
397  {
398         CIM_EMPTY=(int)(0),
399         CIM_SINT16=(int)(2),
400         CIM_SINT32=(int)(3),
401         CIM_REAL32=(int)(4),
402         CIM_REAL64=(int)(5),
403         CIM_STRING=(int)(8),
404         CIM_BOOLEAN=(int)(11),
405         CIM_OBJECT=(int)(13),
406         CIM_SINT8=(int)(16),
407         CIM_UINT8=(int)(17),
408         CIM_UINT16=(int)(18),
409         CIM_UINT32=(int)(19),
410         CIM_SINT64=(int)(20),
411         CIM_UINT64=(int)(21),
412         CIM_DATETIME=(int)(101),
413         CIM_REFERENCE=(int)(102),
414         CIM_CHAR16=(int)(103),
415         CIM_FLAG_ARRAY=(int)(0x2000),
416         CIM_ILLEGAL=(int)(0x0fff),
417         CIM_TYPEMASK=(int)(0x2fff),
418         CIM_ARR_SINT8=(int)(CIM_FLAG_ARRAY|CIM_SINT8),
419         CIM_ARR_UINT8=(int)(CIM_FLAG_ARRAY|CIM_UINT8),
420         CIM_ARR_SINT16=(int)(CIM_FLAG_ARRAY|CIM_SINT16),
421         CIM_ARR_UINT16=(int)(CIM_FLAG_ARRAY|CIM_UINT16),
422         CIM_ARR_SINT32=(int)(CIM_FLAG_ARRAY|CIM_SINT32),
423         CIM_ARR_UINT32=(int)(CIM_FLAG_ARRAY|CIM_UINT32),
424         CIM_ARR_SINT64=(int)(CIM_FLAG_ARRAY|CIM_SINT64),
425         CIM_ARR_UINT64=(int)(CIM_FLAG_ARRAY|CIM_UINT64),
426         CIM_ARR_REAL32=(int)(CIM_FLAG_ARRAY|CIM_REAL32),
427         CIM_ARR_REAL64=(int)(CIM_FLAG_ARRAY|CIM_REAL64),
428         CIM_ARR_BOOLEAN=(int)(CIM_FLAG_ARRAY|CIM_BOOLEAN),
429         CIM_ARR_STRING=(int)(CIM_FLAG_ARRAY|CIM_STRING),
430         CIM_ARR_DATETIME=(int)(CIM_FLAG_ARRAY|CIM_DATETIME),
431         CIM_ARR_REFERENCE=(int)(CIM_FLAG_ARRAY|CIM_REFERENCE),
432         CIM_ARR_CHAR16=(int)(CIM_FLAG_ARRAY|CIM_CHAR16),
433         CIM_ARR_OBJECT=(int)(CIM_FLAG_ARRAY|CIM_OBJECT)
434 }
435 #else
436  { __donnot_use_enum_CIMTYPE_ENUMERATION=0x7FFFFFFF}
437 #define CIM_EMPTY ( 0 )
438 #define CIM_SINT16 ( 2 )
439 #define CIM_SINT32 ( 3 )
440 #define CIM_REAL32 ( 4 )
441 #define CIM_REAL64 ( 5 )
442 #define CIM_STRING ( 8 )
443 #define CIM_BOOLEAN ( 11 )
444 #define CIM_OBJECT ( 13 )
445 #define CIM_SINT8 ( 16 )
446 #define CIM_UINT8 ( 17 )
447 #define CIM_UINT16 ( 18 )
448 #define CIM_UINT32 ( 19 )
449 #define CIM_SINT64 ( 20 )
450 #define CIM_UINT64 ( 21 )
451 #define CIM_DATETIME ( 101 )
452 #define CIM_REFERENCE ( 102 )
453 #define CIM_CHAR16 ( 103 )
454 #define CIM_FLAG_ARRAY ( 0x2000 )
455 #define CIM_ILLEGAL ( 0x0fff )
456 #define CIM_TYPEMASK ( 0x2fff )
457 #define CIM_ARR_SINT8 ( CIM_FLAG_ARRAY|CIM_SINT8 )
458 #define CIM_ARR_UINT8 ( CIM_FLAG_ARRAY|CIM_UINT8 )
459 #define CIM_ARR_SINT16 ( CIM_FLAG_ARRAY|CIM_SINT16 )
460 #define CIM_ARR_UINT16 ( CIM_FLAG_ARRAY|CIM_UINT16 )
461 #define CIM_ARR_SINT32 ( CIM_FLAG_ARRAY|CIM_SINT32 )
462 #define CIM_ARR_UINT32 ( CIM_FLAG_ARRAY|CIM_UINT32 )
463 #define CIM_ARR_SINT64 ( CIM_FLAG_ARRAY|CIM_SINT64 )
464 #define CIM_ARR_UINT64 ( CIM_FLAG_ARRAY|CIM_UINT64 )
465 #define CIM_ARR_REAL32 ( CIM_FLAG_ARRAY|CIM_REAL32 )
466 #define CIM_ARR_REAL64 ( CIM_FLAG_ARRAY|CIM_REAL64 )
467 #define CIM_ARR_BOOLEAN ( CIM_FLAG_ARRAY|CIM_BOOLEAN )
468 #define CIM_ARR_STRING ( CIM_FLAG_ARRAY|CIM_STRING )
469 #define CIM_ARR_DATETIME ( CIM_FLAG_ARRAY|CIM_DATETIME )
470 #define CIM_ARR_REFERENCE ( CIM_FLAG_ARRAY|CIM_REFERENCE )
471 #define CIM_ARR_CHAR16 ( CIM_FLAG_ARRAY|CIM_CHAR16 )
472 #define CIM_ARR_OBJECT ( CIM_FLAG_ARRAY|CIM_OBJECT )
473 #endif
474 ;
475
476 /* bitmap WBEM_FLAVOR_TYPE */
477 #define WBEM_FLAVOR_FLAG_PROPAGATE_TO_INSTANCE ( 0x1 )
478 #define WBEM_FLAVOR_FLAG_PROPAGATE_TO_DERIVED_CLASS ( 0x2 )
479 #define WBEM_FLAVOR_NOT_OVERRIDABLE ( 0x10 )
480 #define WBEM_FLAVOR_ORIGIN_PROPAGATED ( 0x20 )
481 #define WBEM_FLAVOR_ORIGIN_SYSTEM ( 0x40 )
482 #define WBEM_FLAVOR_AMENDED ( 0x80 )
483
484 /* bitmap WCO_FLAGS */
485 #define WCF_DECORATIONS ( 1 )
486 #define WCF_INSTANCE ( 2 )
487 #define WCF_CLASS ( 4 )
488 #define WCF_CLASS_PART_INTERNAL ( 8 )
489
490 struct CIMSTRINGS {
491         uint32_t count;
492         const char **item;/* [ref,charset(UTF16)] */
493 }/* [nopull,public,nopush] */;
494
495 /* bitmap DEFAULT_FLAGS */
496 #define DEFAULT_FLAG_EMPTY ( 1 )
497 #define DEFAULT_FLAG_INHERITED ( 2 )
498
499
500 struct OpenNamespace {
501         struct {
502                 struct ORPCTHIS ORPCthis;
503                 struct BSTR strNamespace;
504                 int32_t lFlags;
505                 struct MInterfacePointer *pCtx;/* [ref] */
506                 struct MInterfacePointer **ppWorkingNamespace;/* [unique] */
507                 struct MInterfacePointer **ppResult;/* [unique] */
508         } in;
509
510         struct {
511                 struct ORPCTHAT *ORPCthat;/* [ref] */
512                 struct MInterfacePointer **ppWorkingNamespace;/* [unique] */
513                 struct MInterfacePointer **ppResult;/* [unique] */
514                 WERROR result;
515         } out;
516
517 };
518
519
520 struct CancelAsyncCall {
521         struct {
522                 struct ORPCTHIS ORPCthis;
523                 struct MInterfacePointer *pSink;/* [ref] */
524         } in;
525
526         struct {
527                 struct ORPCTHAT *ORPCthat;/* [ref] */
528                 WERROR result;
529         } out;
530
531 };
532
533
534 struct QueryObjectSink {
535         struct {
536                 struct ORPCTHIS ORPCthis;
537                 int32_t lFlags;
538         } in;
539
540         struct {
541                 struct ORPCTHAT *ORPCthat;/* [ref] */
542                 struct MInterfacePointer **ppResponseHandler;/* [ref] */
543                 WERROR result;
544         } out;
545
546 };
547
548
549 struct GetObject {
550         struct {
551                 struct ORPCTHIS ORPCthis;
552                 struct BSTR strObjectPath;
553                 int32_t lFlags;
554                 struct MInterfacePointer *pCtx;/* [ref] */
555                 struct MInterfacePointer **ppObject;/* [unique] */
556                 struct MInterfacePointer **ppCallResult;/* [unique] */
557         } in;
558
559         struct {
560                 struct ORPCTHAT *ORPCthat;/* [ref] */
561                 struct MInterfacePointer **ppObject;/* [unique] */
562                 struct MInterfacePointer **ppCallResult;/* [unique] */
563                 WERROR result;
564         } out;
565
566 };
567
568
569 struct GetObjectAsync {
570         struct {
571                 struct ORPCTHIS ORPCthis;
572                 struct BSTR strObjectPath;
573                 int32_t lFlags;
574                 struct MInterfacePointer *pCtx;/* [ref] */
575                 struct MInterfacePointer *pResponseHandler;/* [ref] */
576         } in;
577
578         struct {
579                 struct ORPCTHAT *ORPCthat;/* [ref] */
580                 WERROR result;
581         } out;
582
583 };
584
585
586 struct PutClass {
587         struct {
588                 struct ORPCTHIS ORPCthis;
589                 struct MInterfacePointer *pObject;/* [ref] */
590                 int32_t lFlags;
591                 struct MInterfacePointer *pCtx;/* [ref] */
592                 struct MInterfacePointer **ppCallResult;/* [unique] */
593         } in;
594
595         struct {
596                 struct ORPCTHAT *ORPCthat;/* [ref] */
597                 struct MInterfacePointer **ppCallResult;/* [unique] */
598                 WERROR result;
599         } out;
600
601 };
602
603
604 struct PutClassAsync {
605         struct {
606                 struct ORPCTHIS ORPCthis;
607                 struct MInterfacePointer *pObject;/* [ref] */
608                 int32_t lFlags;
609                 struct MInterfacePointer *pCtx;/* [ref] */
610                 struct MInterfacePointer *pResponseHandler;/* [ref] */
611         } in;
612
613         struct {
614                 struct ORPCTHAT *ORPCthat;/* [ref] */
615                 WERROR result;
616         } out;
617
618 };
619
620
621 struct DeleteClass {
622         struct {
623                 struct ORPCTHIS ORPCthis;
624                 struct BSTR strClass;
625                 int32_t lFlags;
626                 struct MInterfacePointer *pCtx;/* [ref] */
627                 struct MInterfacePointer **ppCallResult;/* [unique] */
628         } in;
629
630         struct {
631                 struct ORPCTHAT *ORPCthat;/* [ref] */
632                 struct MInterfacePointer **ppCallResult;/* [unique] */
633                 WERROR result;
634         } out;
635
636 };
637
638
639 struct DeleteClassAsync {
640         struct {
641                 struct ORPCTHIS ORPCthis;
642                 struct BSTR strClass;
643                 int32_t lFlags;
644                 struct MInterfacePointer *pCtx;/* [ref] */
645                 struct MInterfacePointer *pResponseHandler;/* [ref] */
646         } in;
647
648         struct {
649                 struct ORPCTHAT *ORPCthat;/* [ref] */
650                 WERROR result;
651         } out;
652
653 };
654
655
656 struct CreateClassEnum {
657         struct {
658                 struct ORPCTHIS ORPCthis;
659                 struct BSTR strSuperclass;
660                 int32_t lFlags;
661                 struct MInterfacePointer *pCtx;/* [ref] */
662         } in;
663
664         struct {
665                 struct ORPCTHAT *ORPCthat;/* [ref] */
666                 struct MInterfacePointer **ppEnum;/* [ref] */
667                 WERROR result;
668         } out;
669
670 };
671
672
673 struct CreateClassEnumAsync {
674         struct {
675                 struct ORPCTHIS ORPCthis;
676                 struct BSTR strSuperclass;
677                 int32_t lFlags;
678                 struct MInterfacePointer *pCtx;/* [ref] */
679                 struct MInterfacePointer *pResponseHandler;/* [ref] */
680         } in;
681
682         struct {
683                 struct ORPCTHAT *ORPCthat;/* [ref] */
684                 WERROR result;
685         } out;
686
687 };
688
689
690 struct PutInstance {
691         struct {
692                 struct ORPCTHIS ORPCthis;
693                 struct MInterfacePointer *pInst;/* [ref] */
694                 int32_t lFlags;
695                 struct MInterfacePointer *pCtx;/* [ref] */
696                 struct MInterfacePointer **ppCallResult;/* [unique] */
697         } in;
698
699         struct {
700                 struct ORPCTHAT *ORPCthat;/* [ref] */
701                 struct MInterfacePointer **ppCallResult;/* [unique] */
702                 WERROR result;
703         } out;
704
705 };
706
707
708 struct PutInstanceAsync {
709         struct {
710                 struct ORPCTHIS ORPCthis;
711                 struct MInterfacePointer *pInst;/* [ref] */
712                 int32_t lFlags;
713                 struct MInterfacePointer *pCtx;/* [ref] */
714                 struct MInterfacePointer *pResponseHandler;/* [ref] */
715         } in;
716
717         struct {
718                 struct ORPCTHAT *ORPCthat;/* [ref] */
719                 WERROR result;
720         } out;
721
722 };
723
724
725 struct DeleteInstance {
726         struct {
727                 struct ORPCTHIS ORPCthis;
728                 struct BSTR strObjectPath;
729                 int32_t lFlags;
730                 struct MInterfacePointer *pCtx;/* [ref] */
731                 struct MInterfacePointer **ppCallResult;/* [unique] */
732         } in;
733
734         struct {
735                 struct ORPCTHAT *ORPCthat;/* [ref] */
736                 struct MInterfacePointer **ppCallResult;/* [unique] */
737                 WERROR result;
738         } out;
739
740 };
741
742
743 struct DeleteInstanceAsync {
744         struct {
745                 struct ORPCTHIS ORPCthis;
746                 struct BSTR strObjectPath;
747                 int32_t lFlags;
748                 struct MInterfacePointer *pCtx;/* [ref] */
749                 struct MInterfacePointer *pResponseHandler;/* [ref] */
750         } in;
751
752         struct {
753                 struct ORPCTHAT *ORPCthat;/* [ref] */
754                 WERROR result;
755         } out;
756
757 };
758
759
760 struct CreateInstanceEnum {
761         struct {
762                 struct ORPCTHIS ORPCthis;
763                 struct BSTR strFilter;
764                 int32_t lFlags;
765                 struct MInterfacePointer *pCtx;/* [unique] */
766         } in;
767
768         struct {
769                 struct ORPCTHAT *ORPCthat;/* [ref] */
770                 struct MInterfacePointer **ppEnum;/* [ref] */
771                 WERROR result;
772         } out;
773
774 };
775
776
777 struct CreateInstanceEnumAsync {
778         struct {
779                 struct ORPCTHIS ORPCthis;
780                 struct BSTR strSuperClass;
781                 int32_t lFlags;
782                 struct MInterfacePointer *pCtx;/* [ref] */
783                 struct MInterfacePointer *pResponseHandler;/* [ref] */
784         } in;
785
786         struct {
787                 struct ORPCTHAT *ORPCthat;/* [ref] */
788                 WERROR result;
789         } out;
790
791 };
792
793
794 struct ExecQuery {
795         struct {
796                 struct ORPCTHIS ORPCthis;
797                 struct BSTR strQueryLanguage;
798                 struct BSTR strQuery;
799                 int32_t lFlags;
800                 struct MInterfacePointer *pCtx;/* [unique] */
801         } in;
802
803         struct {
804                 struct ORPCTHAT *ORPCthat;/* [ref] */
805                 struct MInterfacePointer **ppEnum;/* [ref] */
806                 WERROR result;
807         } out;
808
809 };
810
811
812 struct ExecQueryAsync {
813         struct {
814                 struct ORPCTHIS ORPCthis;
815                 struct BSTR strQueryLanguage;
816                 struct BSTR strQuery;
817                 int32_t lFlags;
818                 struct MInterfacePointer *pCtx;/* [ref] */
819                 struct MInterfacePointer *pResponseHandler;/* [ref] */
820         } in;
821
822         struct {
823                 struct ORPCTHAT *ORPCthat;/* [ref] */
824                 WERROR result;
825         } out;
826
827 };
828
829
830 struct ExecNotificationQuery {
831         struct {
832                 struct ORPCTHIS ORPCthis;
833                 struct BSTR strQueryLanguage;
834                 struct BSTR strQuery;
835                 int32_t lFlags;
836                 struct MInterfacePointer *pCtx;/* [unique] */
837         } in;
838
839         struct {
840                 struct ORPCTHAT *ORPCthat;/* [ref] */
841                 struct MInterfacePointer **ppEnum;/* [ref] */
842                 WERROR result;
843         } out;
844
845 };
846
847
848 struct ExecNotificationQueryAsync {
849         struct {
850                 struct ORPCTHIS ORPCthis;
851                 struct BSTR strQueryLanguage;
852                 struct BSTR strQuery;
853                 int32_t lFlags;
854                 struct MInterfacePointer *pCtx;/* [ref] */
855                 struct MInterfacePointer *pResponseHandler;/* [ref] */
856         } in;
857
858         struct {
859                 struct ORPCTHAT *ORPCthat;/* [ref] */
860                 WERROR result;
861         } out;
862
863 };
864
865
866 struct ExecMethod {
867         struct {
868                 struct ORPCTHIS ORPCthis;
869                 struct BSTR strObjectPath;
870                 struct BSTR strMethodName;
871                 int32_t lFlags;
872                 struct MInterfacePointer *pCtx;/* [unique] */
873                 struct MInterfacePointer *pInParams;/* [unique] */
874                 struct MInterfacePointer **ppOutParams;/* [unique] */
875                 struct MInterfacePointer **ppCallResult;/* [unique] */
876         } in;
877
878         struct {
879                 struct ORPCTHAT *ORPCthat;/* [ref] */
880                 struct MInterfacePointer **ppOutParams;/* [unique] */
881                 struct MInterfacePointer **ppCallResult;/* [unique] */
882                 WERROR result;
883         } out;
884
885 };
886
887
888 struct ExecMethodAsync {
889         struct {
890                 struct ORPCTHIS ORPCthis;
891                 struct BSTR strObjectPath;
892                 struct BSTR strMethodName;
893                 uint32_t lFlags;
894                 struct MInterfacePointer *pCtx;/* [ref] */
895                 struct MInterfacePointer *pInParams;/* [ref] */
896                 struct MInterfacePointer *pResponseHandler;/* [ref] */
897         } in;
898
899         struct {
900                 struct ORPCTHAT *ORPCthat;/* [ref] */
901                 WERROR result;
902         } out;
903
904 };
905
906 #endif /* _HEADER_IWbemServices */
907 #ifndef _HEADER_IEnumWbemClassObject
908 #define _HEADER_IEnumWbemClassObject
909
910
911 struct Reset {
912         struct {
913                 struct ORPCTHIS ORPCthis;
914         } in;
915
916         struct {
917                 struct ORPCTHAT *ORPCthat;/* [ref] */
918                 WERROR result;
919         } out;
920
921 };
922
923
924 struct IEnumWbemClassObject_Next {
925         struct {
926                 struct ORPCTHIS ORPCthis;
927                 int32_t lTimeout;
928                 uint32_t uCount;
929         } in;
930
931         struct {
932                 struct ORPCTHAT *ORPCthat;/* [ref] */
933                 struct MInterfacePointer **apObjects;/* [ref,length_is(*puReturned),size_is(uCount)] */
934                 uint32_t *puReturned;/* [ref] */
935                 WERROR result;
936         } out;
937
938 };
939
940
941 struct NextAsync {
942         struct {
943                 struct ORPCTHIS ORPCthis;
944                 uint32_t uCount;
945                 struct MInterfacePointer *pSink;/* [ref] */
946         } in;
947
948         struct {
949                 struct ORPCTHAT *ORPCthat;/* [ref] */
950                 WERROR result;
951         } out;
952
953 };
954
955
956 struct IEnumWbemClassObject_Clone {
957         struct {
958                 struct ORPCTHIS ORPCthis;
959         } in;
960
961         struct {
962                 struct ORPCTHAT *ORPCthat;/* [ref] */
963                 struct MInterfacePointer **ppEnum;/* [ref] */
964                 WERROR result;
965         } out;
966
967 };
968
969
970 struct Skip {
971         struct {
972                 struct ORPCTHIS ORPCthis;
973                 int32_t lTimeout;
974                 uint32_t nCount;
975         } in;
976
977         struct {
978                 struct ORPCTHAT *ORPCthat;/* [ref] */
979                 WERROR result;
980         } out;
981
982 };
983
984 #endif /* _HEADER_IEnumWbemClassObject */
985 #ifndef _HEADER_IWbemContext
986 #define _HEADER_IWbemContext
987
988
989 struct Clone {
990         struct {
991                 struct ORPCTHIS ORPCthis;
992         } in;
993
994         struct {
995                 struct ORPCTHAT *ORPCthat;/* [ref] */
996                 struct MInterfacePointer **ppNewCopy;/* [ref] */
997                 WERROR result;
998         } out;
999
1000 };
1001
1002
1003 struct GetNames {
1004         struct {
1005                 struct ORPCTHIS ORPCthis;
1006         } in;
1007
1008         struct {
1009                 struct ORPCTHAT *ORPCthat;/* [ref] */
1010                 WERROR result;
1011         } out;
1012
1013 };
1014
1015
1016 struct BeginEnumeration {
1017         struct {
1018                 struct ORPCTHIS ORPCthis;
1019                 int32_t lFlags;
1020         } in;
1021
1022         struct {
1023                 struct ORPCTHAT *ORPCthat;/* [ref] */
1024                 WERROR result;
1025         } out;
1026
1027 };
1028
1029
1030 struct Next {
1031         struct {
1032                 struct ORPCTHIS ORPCthis;
1033         } in;
1034
1035         struct {
1036                 struct ORPCTHAT *ORPCthat;/* [ref] */
1037                 WERROR result;
1038         } out;
1039
1040 };
1041
1042
1043 struct EndEnumeration {
1044         struct {
1045                 struct ORPCTHIS ORPCthis;
1046         } in;
1047
1048         struct {
1049                 struct ORPCTHAT *ORPCthat;/* [ref] */
1050                 WERROR result;
1051         } out;
1052
1053 };
1054
1055
1056 struct SetValue {
1057         struct {
1058                 struct ORPCTHIS ORPCthis;
1059         } in;
1060
1061         struct {
1062                 struct ORPCTHAT *ORPCthat;/* [ref] */
1063                 WERROR result;
1064         } out;
1065
1066 };
1067
1068
1069 struct GetValue {
1070         struct {
1071                 struct ORPCTHIS ORPCthis;
1072         } in;
1073
1074         struct {
1075                 struct ORPCTHAT *ORPCthat;/* [ref] */
1076                 WERROR result;
1077         } out;
1078
1079 };
1080
1081
1082 struct DeleteValue {
1083         struct {
1084                 struct ORPCTHIS ORPCthis;
1085         } in;
1086
1087         struct {
1088                 struct ORPCTHAT *ORPCthat;/* [ref] */
1089                 WERROR result;
1090         } out;
1091
1092 };
1093
1094
1095 struct DeleteAll {
1096         struct {
1097                 struct ORPCTHIS ORPCthis;
1098         } in;
1099
1100         struct {
1101                 struct ORPCTHAT *ORPCthat;/* [ref] */
1102                 WERROR result;
1103         } out;
1104
1105 };
1106
1107 #endif /* _HEADER_IWbemContext */
1108 #ifndef _HEADER_IWbemLevel1Login
1109 #define _HEADER_IWbemLevel1Login
1110
1111
1112 struct EstablishPosition {
1113         struct {
1114                 struct ORPCTHIS ORPCthis;
1115                 const char *wszLocaleList;/* [unique,charset(UTF16)] */
1116                 uint32_t dwNumLocales;
1117         } in;
1118
1119         struct {
1120                 struct ORPCTHAT *ORPCthat;/* [ref] */
1121                 uint32_t *reserved;/* [ref] */
1122                 WERROR result;
1123         } out;
1124
1125 };
1126
1127
1128 struct RequestChallenge {
1129         struct {
1130                 struct ORPCTHIS ORPCthis;
1131                 const char *wszNetworkResource;/* [unique,charset(UTF16)] */
1132                 const char *wszUser;/* [unique,charset(UTF16)] */
1133         } in;
1134
1135         struct {
1136                 struct ORPCTHAT *ORPCthat;/* [ref] */
1137                 uint8_t *Nonce;/* [ref,length_is(16),size_is(16)] */
1138                 WERROR result;
1139         } out;
1140
1141 };
1142
1143
1144 struct WBEMLogin {
1145         struct {
1146                 struct ORPCTHIS ORPCthis;
1147                 const char *wszPreferredLocale;/* [unique,charset(UTF16)] */
1148                 uint8_t *AccessToken;/* [unique,length_is(16),size_is(16)] */
1149                 int32_t lFlags;
1150                 struct MInterfacePointer *pCtx;/* [ref] */
1151         } in;
1152
1153         struct {
1154                 struct ORPCTHAT *ORPCthat;/* [ref] */
1155                 struct MInterfacePointer **ppNamespace;/* [ref] */
1156                 WERROR result;
1157         } out;
1158
1159 };
1160
1161
1162 struct NTLMLogin {
1163         struct {
1164                 struct ORPCTHIS ORPCthis;
1165                 const char *wszNetworkResource;/* [unique,charset(UTF16)] */
1166                 const char *wszPreferredLocale;/* [unique,charset(UTF16)] */
1167                 int32_t lFlags;
1168                 struct MInterfacePointer *pCtx;/* [unique] */
1169         } in;
1170
1171         struct {
1172                 struct ORPCTHAT *ORPCthat;/* [ref] */
1173                 struct MInterfacePointer **ppNamespace;/* [ref] */
1174                 WERROR result;
1175         } out;
1176
1177 };
1178
1179 #endif /* _HEADER_IWbemLevel1Login */
1180 #ifndef _HEADER_IWbemWCOSmartEnum
1181 #define _HEADER_IWbemWCOSmartEnum
1182
1183 struct WBEMDATA {
1184         uint32_t size;
1185         uint8_t *data;
1186 };
1187
1188 enum WTYPES
1189 #ifndef USE_UINT_ENUMS
1190  {
1191         WTYPE_SCHEMA=(int)(1),
1192         WTYPE_CLASS=(int)(2),
1193         WTYPE_OBJECT=(int)(3)
1194 }
1195 #else
1196  { __donnot_use_enum_WTYPES=0x7FFFFFFF}
1197 #define WTYPE_SCHEMA ( 1 )
1198 #define WTYPE_CLASS ( 2 )
1199 #define WTYPE_OBJECT ( 3 )
1200 #endif
1201 ;
1202
1203 struct WBEMDATA4 {
1204         uint32_t data_size;
1205         uint8_t wtype;
1206 }/* [relative_base] */;
1207
1208 struct WBEMDATA3 {
1209         struct WBEMDATA4 *data;/* [relative] */
1210         uint32_t data_size;
1211         uint8_t wtype;
1212 }/* [relative_base] */;
1213
1214 struct WBEMDATA2 {
1215         struct WBEMDATA3 *data;/* [relative,size_is(obj_num)] */
1216         uint32_t data_size;
1217         uint32_t obj_num;
1218 }/* [relative_base] */;
1219
1220 struct WBEMDATA1 {
1221         struct WBEMDATA2 *data;/* [relative] */
1222         uint32_t data_size;
1223 }/* [relative_base] */;
1224
1225 struct WBEMDATA0 {
1226         uint32_t u1_0;
1227         uint64_t signature;
1228         struct WBEMDATA1 *data;/* [relative] */
1229         uint32_t data_size;
1230         uint32_t u2_0;
1231         uint8_t ver_major;
1232         uint8_t ver_minor;
1233 }/* [relative_base] */;
1234
1235
1236 struct IWbemWCOSmartEnum_Next {
1237         struct {
1238                 struct ORPCTHIS ORPCthis;
1239                 struct GUID *gEWCO;/* [ref] */
1240                 uint32_t lTimeOut;
1241                 uint32_t uCount;
1242                 uint32_t unknown;
1243                 struct GUID *gWCO;/* [ref] */
1244         } in;
1245
1246         struct {
1247                 struct ORPCTHAT *ORPCthat;/* [ref] */
1248                 uint32_t *puReturned;/* [ref] */
1249                 uint32_t *pSize;/* [ref] */
1250                 uint8_t **pData;/* [noprint,ref,size_is(,*pSize)] */
1251                 WERROR result;
1252         } out;
1253
1254 };
1255
1256 #endif /* _HEADER_IWbemWCOSmartEnum */
1257 #ifndef _HEADER_IWbemFetchSmartEnum
1258 #define _HEADER_IWbemFetchSmartEnum
1259
1260
1261 struct Fetch {
1262         struct {
1263                 struct ORPCTHIS ORPCthis;
1264         } in;
1265
1266         struct {
1267                 struct ORPCTHAT *ORPCthat;/* [ref] */
1268                 struct MInterfacePointer **ppEnum;/* [ref] */
1269                 WERROR result;
1270         } out;
1271
1272 };
1273
1274
1275 struct Test {
1276         struct {
1277                 struct ORPCTHIS ORPCthis;
1278         } in;
1279
1280         struct {
1281                 struct ORPCTHAT *ORPCthat;/* [ref] */
1282                 struct MInterfacePointer **ppEnum;/* [ref] */
1283                 WERROR result;
1284         } out;
1285
1286 };
1287
1288 #endif /* _HEADER_IWbemFetchSmartEnum */
1289 #ifndef _HEADER_IWbemCallResult
1290 #define _HEADER_IWbemCallResult
1291
1292
1293 struct GetResultObject {
1294         struct {
1295                 struct ORPCTHIS ORPCthis;
1296                 int32_t lTimeout;
1297         } in;
1298
1299         struct {
1300                 struct ORPCTHAT *ORPCthat;/* [ref] */
1301                 struct MInterfacePointer **ppResultObject;/* [ref] */
1302                 WERROR result;
1303         } out;
1304
1305 };
1306
1307
1308 struct GetResultString {
1309         struct {
1310                 struct ORPCTHIS ORPCthis;
1311                 int32_t lTimeout;
1312         } in;
1313
1314         struct {
1315                 struct ORPCTHAT *ORPCthat;/* [ref] */
1316                 struct BSTR *pstrResultString;/* [ref] */
1317                 WERROR result;
1318         } out;
1319
1320 };
1321
1322
1323 struct GetResultServices {
1324         struct {
1325                 struct ORPCTHIS ORPCthis;
1326                 int32_t lTimeout;
1327         } in;
1328
1329         struct {
1330                 struct ORPCTHAT *ORPCthat;/* [ref] */
1331                 struct MInterfacePointer **ppServices;/* [ref] */
1332                 WERROR result;
1333         } out;
1334
1335 };
1336
1337
1338 struct GetCallStatus {
1339         struct {
1340                 struct ORPCTHIS ORPCthis;
1341                 int32_t lTimeout;
1342         } in;
1343
1344         struct {
1345                 struct ORPCTHAT *ORPCthat;/* [ref] */
1346                 int32_t *plStatus;/* [ref] */
1347                 WERROR result;
1348         } out;
1349
1350 };
1351
1352 #endif /* _HEADER_IWbemCallResult */
1353 #ifndef _HEADER_IWbemObjectSink
1354 #define _HEADER_IWbemObjectSink
1355
1356
1357 struct SetStatus {
1358         struct {
1359                 struct ORPCTHIS ORPCthis;
1360                 int32_t lFlags;
1361                 WERROR hResult;
1362                 struct BSTR strParam;
1363                 struct MInterfacePointer *pObjParam;/* [ref] */
1364         } in;
1365
1366         struct {
1367                 struct ORPCTHAT *ORPCthat;/* [ref] */
1368                 WERROR result;
1369         } out;
1370
1371 };
1372
1373
1374 struct Indicate {
1375         struct {
1376                 struct ORPCTHIS ORPCthis;
1377                 int32_t lObjectCount;
1378                 struct MInterfacePointer **apObjArray;/* [ref,size_is(lObjectCount)] */
1379         } in;
1380
1381         struct {
1382                 struct ORPCTHAT *ORPCthat;/* [ref] */
1383                 WERROR result;
1384         } out;
1385
1386 };
1387
1388 #endif /* _HEADER_IWbemObjectSink */