1 | /*** Autogenerated by WIDL 6.4 from include/wbemtran.idl - Do not edit ***/
|
---|
2 |
|
---|
3 | #ifdef _WIN32
|
---|
4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__
|
---|
5 | #define __REQUIRED_RPCNDR_H_VERSION__ 475
|
---|
6 | #endif
|
---|
7 | #include <rpc.h>
|
---|
8 | #include <rpcndr.h>
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | #ifndef COM_NO_WINDOWS_H
|
---|
12 | #include <windows.h>
|
---|
13 | #include <ole2.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | #ifndef __wbemtran_h__
|
---|
17 | #define __wbemtran_h__
|
---|
18 |
|
---|
19 | /* Forward declarations */
|
---|
20 |
|
---|
21 | #ifndef __WbemLevel1Login_FWD_DEFINED__
|
---|
22 | #define __WbemLevel1Login_FWD_DEFINED__
|
---|
23 | #ifdef __cplusplus
|
---|
24 | typedef class WbemLevel1Login WbemLevel1Login;
|
---|
25 | #else
|
---|
26 | typedef struct WbemLevel1Login WbemLevel1Login;
|
---|
27 | #endif /* defined __cplusplus */
|
---|
28 | #endif /* defined __WbemLevel1Login_FWD_DEFINED__ */
|
---|
29 |
|
---|
30 | #ifndef __WbemLocalAddrRes_FWD_DEFINED__
|
---|
31 | #define __WbemLocalAddrRes_FWD_DEFINED__
|
---|
32 | #ifdef __cplusplus
|
---|
33 | typedef class WbemLocalAddrRes WbemLocalAddrRes;
|
---|
34 | #else
|
---|
35 | typedef struct WbemLocalAddrRes WbemLocalAddrRes;
|
---|
36 | #endif /* defined __cplusplus */
|
---|
37 | #endif /* defined __WbemLocalAddrRes_FWD_DEFINED__ */
|
---|
38 |
|
---|
39 | #ifndef __WbemUninitializedClassObject_FWD_DEFINED__
|
---|
40 | #define __WbemUninitializedClassObject_FWD_DEFINED__
|
---|
41 | #ifdef __cplusplus
|
---|
42 | typedef class WbemUninitializedClassObject WbemUninitializedClassObject;
|
---|
43 | #else
|
---|
44 | typedef struct WbemUninitializedClassObject WbemUninitializedClassObject;
|
---|
45 | #endif /* defined __cplusplus */
|
---|
46 | #endif /* defined __WbemUninitializedClassObject_FWD_DEFINED__ */
|
---|
47 |
|
---|
48 | #ifndef __WbemDCOMTransport_FWD_DEFINED__
|
---|
49 | #define __WbemDCOMTransport_FWD_DEFINED__
|
---|
50 | #ifdef __cplusplus
|
---|
51 | typedef class WbemDCOMTransport WbemDCOMTransport;
|
---|
52 | #else
|
---|
53 | typedef struct WbemDCOMTransport WbemDCOMTransport;
|
---|
54 | #endif /* defined __cplusplus */
|
---|
55 | #endif /* defined __WbemDCOMTransport_FWD_DEFINED__ */
|
---|
56 |
|
---|
57 | #ifndef __IWbemLevel1Login_FWD_DEFINED__
|
---|
58 | #define __IWbemLevel1Login_FWD_DEFINED__
|
---|
59 | typedef interface IWbemLevel1Login IWbemLevel1Login;
|
---|
60 | #ifdef __cplusplus
|
---|
61 | interface IWbemLevel1Login;
|
---|
62 | #endif /* __cplusplus */
|
---|
63 | #endif
|
---|
64 |
|
---|
65 | #ifndef __IWbemConnectorLogin_FWD_DEFINED__
|
---|
66 | #define __IWbemConnectorLogin_FWD_DEFINED__
|
---|
67 | typedef interface IWbemConnectorLogin IWbemConnectorLogin;
|
---|
68 | #ifdef __cplusplus
|
---|
69 | interface IWbemConnectorLogin;
|
---|
70 | #endif /* __cplusplus */
|
---|
71 | #endif
|
---|
72 |
|
---|
73 | #ifndef __IWbemAddressResolution_FWD_DEFINED__
|
---|
74 | #define __IWbemAddressResolution_FWD_DEFINED__
|
---|
75 | typedef interface IWbemAddressResolution IWbemAddressResolution;
|
---|
76 | #ifdef __cplusplus
|
---|
77 | interface IWbemAddressResolution;
|
---|
78 | #endif /* __cplusplus */
|
---|
79 | #endif
|
---|
80 |
|
---|
81 | #ifndef __IWbemTransport_FWD_DEFINED__
|
---|
82 | #define __IWbemTransport_FWD_DEFINED__
|
---|
83 | typedef interface IWbemTransport IWbemTransport;
|
---|
84 | #ifdef __cplusplus
|
---|
85 | interface IWbemTransport;
|
---|
86 | #endif /* __cplusplus */
|
---|
87 | #endif
|
---|
88 |
|
---|
89 | #ifndef __IWbemConstructClassObject_FWD_DEFINED__
|
---|
90 | #define __IWbemConstructClassObject_FWD_DEFINED__
|
---|
91 | typedef interface IWbemConstructClassObject IWbemConstructClassObject;
|
---|
92 | #ifdef __cplusplus
|
---|
93 | interface IWbemConstructClassObject;
|
---|
94 | #endif /* __cplusplus */
|
---|
95 | #endif
|
---|
96 |
|
---|
97 | #ifndef __IWbemClientTransport_FWD_DEFINED__
|
---|
98 | #define __IWbemClientTransport_FWD_DEFINED__
|
---|
99 | typedef interface IWbemClientTransport IWbemClientTransport;
|
---|
100 | #ifdef __cplusplus
|
---|
101 | interface IWbemClientTransport;
|
---|
102 | #endif /* __cplusplus */
|
---|
103 | #endif
|
---|
104 |
|
---|
105 | #ifndef __IWbemClientConnectionTransport_FWD_DEFINED__
|
---|
106 | #define __IWbemClientConnectionTransport_FWD_DEFINED__
|
---|
107 | typedef interface IWbemClientConnectionTransport IWbemClientConnectionTransport;
|
---|
108 | #ifdef __cplusplus
|
---|
109 | interface IWbemClientConnectionTransport;
|
---|
110 | #endif /* __cplusplus */
|
---|
111 | #endif
|
---|
112 |
|
---|
113 | /* Headers for imported files */
|
---|
114 |
|
---|
115 | #include <objidl.h>
|
---|
116 | #include <oleidl.h>
|
---|
117 | #include <oaidl.h>
|
---|
118 | #include <wbemcli.h>
|
---|
119 |
|
---|
120 | #ifdef __cplusplus
|
---|
121 | extern "C" {
|
---|
122 | #endif
|
---|
123 |
|
---|
124 | /**
|
---|
125 | * This file is part of the mingw-w64 runtime package.
|
---|
126 | * No warranty is given; refer to the file DISCLAIMER within this package.
|
---|
127 | */
|
---|
128 |
|
---|
129 | #include <winapifamily.h>
|
---|
130 |
|
---|
131 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
---|
132 | #ifndef __IWbemTransport_FWD_DEFINED__
|
---|
133 | #define __IWbemTransport_FWD_DEFINED__
|
---|
134 | typedef interface IWbemTransport IWbemTransport;
|
---|
135 | #ifdef __cplusplus
|
---|
136 | interface IWbemTransport;
|
---|
137 | #endif /* __cplusplus */
|
---|
138 | #endif
|
---|
139 |
|
---|
140 | #ifndef __IWbemLevel1Login_FWD_DEFINED__
|
---|
141 | #define __IWbemLevel1Login_FWD_DEFINED__
|
---|
142 | typedef interface IWbemLevel1Login IWbemLevel1Login;
|
---|
143 | #ifdef __cplusplus
|
---|
144 | interface IWbemLevel1Login;
|
---|
145 | #endif /* __cplusplus */
|
---|
146 | #endif
|
---|
147 |
|
---|
148 | #ifndef __IWbemConnectorLogin_FWD_DEFINED__
|
---|
149 | #define __IWbemConnectorLogin_FWD_DEFINED__
|
---|
150 | typedef interface IWbemConnectorLogin IWbemConnectorLogin;
|
---|
151 | #ifdef __cplusplus
|
---|
152 | interface IWbemConnectorLogin;
|
---|
153 | #endif /* __cplusplus */
|
---|
154 | #endif
|
---|
155 |
|
---|
156 | #ifndef __IWbemAddressResolution_FWD_DEFINED__
|
---|
157 | #define __IWbemAddressResolution_FWD_DEFINED__
|
---|
158 | typedef interface IWbemAddressResolution IWbemAddressResolution;
|
---|
159 | #ifdef __cplusplus
|
---|
160 | interface IWbemAddressResolution;
|
---|
161 | #endif /* __cplusplus */
|
---|
162 | #endif
|
---|
163 |
|
---|
164 | #ifndef __IWbemClientTransport_FWD_DEFINED__
|
---|
165 | #define __IWbemClientTransport_FWD_DEFINED__
|
---|
166 | typedef interface IWbemClientTransport IWbemClientTransport;
|
---|
167 | #ifdef __cplusplus
|
---|
168 | interface IWbemClientTransport;
|
---|
169 | #endif /* __cplusplus */
|
---|
170 | #endif
|
---|
171 |
|
---|
172 | #ifndef __IWbemClientConnectionTransport_FWD_DEFINED__
|
---|
173 | #define __IWbemClientConnectionTransport_FWD_DEFINED__
|
---|
174 | typedef interface IWbemClientConnectionTransport IWbemClientConnectionTransport;
|
---|
175 | #ifdef __cplusplus
|
---|
176 | interface IWbemClientConnectionTransport;
|
---|
177 | #endif /* __cplusplus */
|
---|
178 | #endif
|
---|
179 |
|
---|
180 | typedef enum tag_WBEM_LOGIN_TYPE {
|
---|
181 | WBEM_FLAG_INPROC_LOGIN = 0,
|
---|
182 | WBEM_FLAG_LOCAL_LOGIN = 1,
|
---|
183 | WBEM_FLAG_REMOTE_LOGIN = 2,
|
---|
184 | WBEM_AUTHENTICATION_METHOD_MASK = 0xf,
|
---|
185 | WBEM_FLAG_USE_MULTIPLE_CHALLENGES = 0x10
|
---|
186 | } WBEM_LOGIN_TYPE;
|
---|
187 | typedef BYTE *WBEM_128BITS;
|
---|
188 | #ifndef __WbemTransports_v1_LIBRARY_DEFINED__
|
---|
189 | #define __WbemTransports_v1_LIBRARY_DEFINED__
|
---|
190 |
|
---|
191 | DEFINE_GUID(LIBID_WbemTransports_v1, 0x027947f3, 0xd731, 0x11ce, 0xa3,0x57, 0x00,0x00,0x00,0x00,0x00,0x01);
|
---|
192 |
|
---|
193 | /*****************************************************************************
|
---|
194 | * WbemLevel1Login coclass
|
---|
195 | */
|
---|
196 |
|
---|
197 | DEFINE_GUID(CLSID_WbemLevel1Login, 0x8bc3f05e, 0xd86b, 0x11d0, 0xa0,0x75, 0x00,0xc0,0x4f,0xb6,0x88,0x20);
|
---|
198 |
|
---|
199 | #ifdef __cplusplus
|
---|
200 | class DECLSPEC_UUID("8bc3f05e-d86b-11d0-a075-00c04fb68820") WbemLevel1Login;
|
---|
201 | #ifdef __CRT_UUID_DECL
|
---|
202 | __CRT_UUID_DECL(WbemLevel1Login, 0x8bc3f05e, 0xd86b, 0x11d0, 0xa0,0x75, 0x00,0xc0,0x4f,0xb6,0x88,0x20)
|
---|
203 | #endif
|
---|
204 | #endif
|
---|
205 |
|
---|
206 | /*****************************************************************************
|
---|
207 | * WbemLocalAddrRes coclass
|
---|
208 | */
|
---|
209 |
|
---|
210 | DEFINE_GUID(CLSID_WbemLocalAddrRes, 0xa1044801, 0x8f7e, 0x11d1, 0x9e,0x7c, 0x00,0xc0,0x4f,0xc3,0x24,0xa8);
|
---|
211 |
|
---|
212 | #ifdef __cplusplus
|
---|
213 | class DECLSPEC_UUID("a1044801-8f7e-11d1-9e7c-00c04fc324a8") WbemLocalAddrRes;
|
---|
214 | #ifdef __CRT_UUID_DECL
|
---|
215 | __CRT_UUID_DECL(WbemLocalAddrRes, 0xa1044801, 0x8f7e, 0x11d1, 0x9e,0x7c, 0x00,0xc0,0x4f,0xc3,0x24,0xa8)
|
---|
216 | #endif
|
---|
217 | #endif
|
---|
218 |
|
---|
219 | /*****************************************************************************
|
---|
220 | * WbemUninitializedClassObject coclass
|
---|
221 | */
|
---|
222 |
|
---|
223 | DEFINE_GUID(CLSID_WbemUninitializedClassObject, 0x7a0227f6, 0x7108, 0x11d1, 0xad,0x90, 0x00,0xc0,0x4f,0xd8,0xfd,0xff);
|
---|
224 |
|
---|
225 | #ifdef __cplusplus
|
---|
226 | class DECLSPEC_UUID("7a0227f6-7108-11d1-ad90-00c04fd8fdff") WbemUninitializedClassObject;
|
---|
227 | #ifdef __CRT_UUID_DECL
|
---|
228 | __CRT_UUID_DECL(WbemUninitializedClassObject, 0x7a0227f6, 0x7108, 0x11d1, 0xad,0x90, 0x00,0xc0,0x4f,0xd8,0xfd,0xff)
|
---|
229 | #endif
|
---|
230 | #endif
|
---|
231 |
|
---|
232 | /*****************************************************************************
|
---|
233 | * WbemDCOMTransport coclass
|
---|
234 | */
|
---|
235 |
|
---|
236 | DEFINE_GUID(CLSID_WbemDCOMTransport, 0xf7ce2e13, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8);
|
---|
237 |
|
---|
238 | #ifdef __cplusplus
|
---|
239 | class DECLSPEC_UUID("f7ce2e13-8c90-11d1-9e7b-00c04fc324a8") WbemDCOMTransport;
|
---|
240 | #ifdef __CRT_UUID_DECL
|
---|
241 | __CRT_UUID_DECL(WbemDCOMTransport, 0xf7ce2e13, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8)
|
---|
242 | #endif
|
---|
243 | #endif
|
---|
244 |
|
---|
245 | #endif /* __WbemTransports_v1_LIBRARY_DEFINED__ */
|
---|
246 | /*****************************************************************************
|
---|
247 | * IWbemLevel1Login interface
|
---|
248 | */
|
---|
249 | #ifndef __IWbemLevel1Login_INTERFACE_DEFINED__
|
---|
250 | #define __IWbemLevel1Login_INTERFACE_DEFINED__
|
---|
251 |
|
---|
252 | DEFINE_GUID(IID_IWbemLevel1Login, 0xf309ad18, 0xd86a, 0x11d0, 0xa0,0x75, 0x00,0xc0,0x4f,0xb6,0x88,0x20);
|
---|
253 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
254 | MIDL_INTERFACE("f309ad18-d86a-11d0-a075-00c04fb68820")
|
---|
255 | IWbemLevel1Login : public IUnknown
|
---|
256 | {
|
---|
257 | virtual HRESULT STDMETHODCALLTYPE EstablishPosition(
|
---|
258 | LPWSTR wszLocaleList,
|
---|
259 | DWORD dwNumLocales,
|
---|
260 | DWORD *reserved) = 0;
|
---|
261 |
|
---|
262 | virtual HRESULT STDMETHODCALLTYPE RequestChallenge(
|
---|
263 | LPWSTR wszNetworkResource,
|
---|
264 | LPWSTR wszUser,
|
---|
265 | WBEM_128BITS Nonce) = 0;
|
---|
266 |
|
---|
267 | virtual HRESULT STDMETHODCALLTYPE WBEMLogin(
|
---|
268 | LPWSTR wszPreferredLocale,
|
---|
269 | WBEM_128BITS AccessToken,
|
---|
270 | LONG lFlags,
|
---|
271 | IWbemContext *pCtx,
|
---|
272 | IWbemServices **ppNamespace) = 0;
|
---|
273 |
|
---|
274 | virtual HRESULT STDMETHODCALLTYPE NTLMLogin(
|
---|
275 | LPWSTR wszNetworkResource,
|
---|
276 | LPWSTR wszPreferredLocale,
|
---|
277 | LONG lFlags,
|
---|
278 | IWbemContext *pCtx,
|
---|
279 | IWbemServices **ppNamespace) = 0;
|
---|
280 |
|
---|
281 | };
|
---|
282 | #ifdef __CRT_UUID_DECL
|
---|
283 | __CRT_UUID_DECL(IWbemLevel1Login, 0xf309ad18, 0xd86a, 0x11d0, 0xa0,0x75, 0x00,0xc0,0x4f,0xb6,0x88,0x20)
|
---|
284 | #endif
|
---|
285 | #else
|
---|
286 | typedef struct IWbemLevel1LoginVtbl {
|
---|
287 | BEGIN_INTERFACE
|
---|
288 |
|
---|
289 | /*** IUnknown methods ***/
|
---|
290 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
291 | IWbemLevel1Login *This,
|
---|
292 | REFIID riid,
|
---|
293 | void **ppvObject);
|
---|
294 |
|
---|
295 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
296 | IWbemLevel1Login *This);
|
---|
297 |
|
---|
298 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
299 | IWbemLevel1Login *This);
|
---|
300 |
|
---|
301 | /*** IWbemLevel1Login methods ***/
|
---|
302 | HRESULT (STDMETHODCALLTYPE *EstablishPosition)(
|
---|
303 | IWbemLevel1Login *This,
|
---|
304 | LPWSTR wszLocaleList,
|
---|
305 | DWORD dwNumLocales,
|
---|
306 | DWORD *reserved);
|
---|
307 |
|
---|
308 | HRESULT (STDMETHODCALLTYPE *RequestChallenge)(
|
---|
309 | IWbemLevel1Login *This,
|
---|
310 | LPWSTR wszNetworkResource,
|
---|
311 | LPWSTR wszUser,
|
---|
312 | WBEM_128BITS Nonce);
|
---|
313 |
|
---|
314 | HRESULT (STDMETHODCALLTYPE *WBEMLogin)(
|
---|
315 | IWbemLevel1Login *This,
|
---|
316 | LPWSTR wszPreferredLocale,
|
---|
317 | WBEM_128BITS AccessToken,
|
---|
318 | LONG lFlags,
|
---|
319 | IWbemContext *pCtx,
|
---|
320 | IWbemServices **ppNamespace);
|
---|
321 |
|
---|
322 | HRESULT (STDMETHODCALLTYPE *NTLMLogin)(
|
---|
323 | IWbemLevel1Login *This,
|
---|
324 | LPWSTR wszNetworkResource,
|
---|
325 | LPWSTR wszPreferredLocale,
|
---|
326 | LONG lFlags,
|
---|
327 | IWbemContext *pCtx,
|
---|
328 | IWbemServices **ppNamespace);
|
---|
329 |
|
---|
330 | END_INTERFACE
|
---|
331 | } IWbemLevel1LoginVtbl;
|
---|
332 |
|
---|
333 | interface IWbemLevel1Login {
|
---|
334 | CONST_VTBL IWbemLevel1LoginVtbl* lpVtbl;
|
---|
335 | };
|
---|
336 |
|
---|
337 | #ifdef COBJMACROS
|
---|
338 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
339 | /*** IUnknown methods ***/
|
---|
340 | #define IWbemLevel1Login_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
341 | #define IWbemLevel1Login_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
342 | #define IWbemLevel1Login_Release(This) (This)->lpVtbl->Release(This)
|
---|
343 | /*** IWbemLevel1Login methods ***/
|
---|
344 | #define IWbemLevel1Login_EstablishPosition(This,wszLocaleList,dwNumLocales,reserved) (This)->lpVtbl->EstablishPosition(This,wszLocaleList,dwNumLocales,reserved)
|
---|
345 | #define IWbemLevel1Login_RequestChallenge(This,wszNetworkResource,wszUser,Nonce) (This)->lpVtbl->RequestChallenge(This,wszNetworkResource,wszUser,Nonce)
|
---|
346 | #define IWbemLevel1Login_WBEMLogin(This,wszPreferredLocale,AccessToken,lFlags,pCtx,ppNamespace) (This)->lpVtbl->WBEMLogin(This,wszPreferredLocale,AccessToken,lFlags,pCtx,ppNamespace)
|
---|
347 | #define IWbemLevel1Login_NTLMLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,ppNamespace) (This)->lpVtbl->NTLMLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,ppNamespace)
|
---|
348 | #else
|
---|
349 | /*** IUnknown methods ***/
|
---|
350 | static FORCEINLINE HRESULT IWbemLevel1Login_QueryInterface(IWbemLevel1Login* This,REFIID riid,void **ppvObject) {
|
---|
351 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
352 | }
|
---|
353 | static FORCEINLINE ULONG IWbemLevel1Login_AddRef(IWbemLevel1Login* This) {
|
---|
354 | return This->lpVtbl->AddRef(This);
|
---|
355 | }
|
---|
356 | static FORCEINLINE ULONG IWbemLevel1Login_Release(IWbemLevel1Login* This) {
|
---|
357 | return This->lpVtbl->Release(This);
|
---|
358 | }
|
---|
359 | /*** IWbemLevel1Login methods ***/
|
---|
360 | static FORCEINLINE HRESULT IWbemLevel1Login_EstablishPosition(IWbemLevel1Login* This,LPWSTR wszLocaleList,DWORD dwNumLocales,DWORD *reserved) {
|
---|
361 | return This->lpVtbl->EstablishPosition(This,wszLocaleList,dwNumLocales,reserved);
|
---|
362 | }
|
---|
363 | static FORCEINLINE HRESULT IWbemLevel1Login_RequestChallenge(IWbemLevel1Login* This,LPWSTR wszNetworkResource,LPWSTR wszUser,WBEM_128BITS Nonce) {
|
---|
364 | return This->lpVtbl->RequestChallenge(This,wszNetworkResource,wszUser,Nonce);
|
---|
365 | }
|
---|
366 | static FORCEINLINE HRESULT IWbemLevel1Login_WBEMLogin(IWbemLevel1Login* This,LPWSTR wszPreferredLocale,WBEM_128BITS AccessToken,LONG lFlags,IWbemContext *pCtx,IWbemServices **ppNamespace) {
|
---|
367 | return This->lpVtbl->WBEMLogin(This,wszPreferredLocale,AccessToken,lFlags,pCtx,ppNamespace);
|
---|
368 | }
|
---|
369 | static FORCEINLINE HRESULT IWbemLevel1Login_NTLMLogin(IWbemLevel1Login* This,LPWSTR wszNetworkResource,LPWSTR wszPreferredLocale,LONG lFlags,IWbemContext *pCtx,IWbemServices **ppNamespace) {
|
---|
370 | return This->lpVtbl->NTLMLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,ppNamespace);
|
---|
371 | }
|
---|
372 | #endif
|
---|
373 | #endif
|
---|
374 |
|
---|
375 | #endif
|
---|
376 |
|
---|
377 |
|
---|
378 | #endif /* __IWbemLevel1Login_INTERFACE_DEFINED__ */
|
---|
379 |
|
---|
380 | /*****************************************************************************
|
---|
381 | * IWbemConnectorLogin interface
|
---|
382 | */
|
---|
383 | #ifndef __IWbemConnectorLogin_INTERFACE_DEFINED__
|
---|
384 | #define __IWbemConnectorLogin_INTERFACE_DEFINED__
|
---|
385 |
|
---|
386 | DEFINE_GUID(IID_IWbemConnectorLogin, 0xd8ec9cb1, 0xb135, 0x4f10, 0x8b,0x1b, 0xc7,0x18,0x8b,0xb0,0xd1,0x86);
|
---|
387 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
388 | MIDL_INTERFACE("d8ec9cb1-b135-4f10-8b1b-c7188bb0d186")
|
---|
389 | IWbemConnectorLogin : public IUnknown
|
---|
390 | {
|
---|
391 | virtual HRESULT STDMETHODCALLTYPE ConnectorLogin(
|
---|
392 | LPWSTR wszNetworkResource,
|
---|
393 | LPWSTR wszPreferredLocale,
|
---|
394 | LONG lFlags,
|
---|
395 | IWbemContext *pCtx,
|
---|
396 | REFIID riid,
|
---|
397 | void **pInterface) = 0;
|
---|
398 |
|
---|
399 | };
|
---|
400 | #ifdef __CRT_UUID_DECL
|
---|
401 | __CRT_UUID_DECL(IWbemConnectorLogin, 0xd8ec9cb1, 0xb135, 0x4f10, 0x8b,0x1b, 0xc7,0x18,0x8b,0xb0,0xd1,0x86)
|
---|
402 | #endif
|
---|
403 | #else
|
---|
404 | typedef struct IWbemConnectorLoginVtbl {
|
---|
405 | BEGIN_INTERFACE
|
---|
406 |
|
---|
407 | /*** IUnknown methods ***/
|
---|
408 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
409 | IWbemConnectorLogin *This,
|
---|
410 | REFIID riid,
|
---|
411 | void **ppvObject);
|
---|
412 |
|
---|
413 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
414 | IWbemConnectorLogin *This);
|
---|
415 |
|
---|
416 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
417 | IWbemConnectorLogin *This);
|
---|
418 |
|
---|
419 | /*** IWbemConnectorLogin methods ***/
|
---|
420 | HRESULT (STDMETHODCALLTYPE *ConnectorLogin)(
|
---|
421 | IWbemConnectorLogin *This,
|
---|
422 | LPWSTR wszNetworkResource,
|
---|
423 | LPWSTR wszPreferredLocale,
|
---|
424 | LONG lFlags,
|
---|
425 | IWbemContext *pCtx,
|
---|
426 | REFIID riid,
|
---|
427 | void **pInterface);
|
---|
428 |
|
---|
429 | END_INTERFACE
|
---|
430 | } IWbemConnectorLoginVtbl;
|
---|
431 |
|
---|
432 | interface IWbemConnectorLogin {
|
---|
433 | CONST_VTBL IWbemConnectorLoginVtbl* lpVtbl;
|
---|
434 | };
|
---|
435 |
|
---|
436 | #ifdef COBJMACROS
|
---|
437 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
438 | /*** IUnknown methods ***/
|
---|
439 | #define IWbemConnectorLogin_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
440 | #define IWbemConnectorLogin_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
441 | #define IWbemConnectorLogin_Release(This) (This)->lpVtbl->Release(This)
|
---|
442 | /*** IWbemConnectorLogin methods ***/
|
---|
443 | #define IWbemConnectorLogin_ConnectorLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,riid,pInterface) (This)->lpVtbl->ConnectorLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,riid,pInterface)
|
---|
444 | #else
|
---|
445 | /*** IUnknown methods ***/
|
---|
446 | static FORCEINLINE HRESULT IWbemConnectorLogin_QueryInterface(IWbemConnectorLogin* This,REFIID riid,void **ppvObject) {
|
---|
447 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
448 | }
|
---|
449 | static FORCEINLINE ULONG IWbemConnectorLogin_AddRef(IWbemConnectorLogin* This) {
|
---|
450 | return This->lpVtbl->AddRef(This);
|
---|
451 | }
|
---|
452 | static FORCEINLINE ULONG IWbemConnectorLogin_Release(IWbemConnectorLogin* This) {
|
---|
453 | return This->lpVtbl->Release(This);
|
---|
454 | }
|
---|
455 | /*** IWbemConnectorLogin methods ***/
|
---|
456 | static FORCEINLINE HRESULT IWbemConnectorLogin_ConnectorLogin(IWbemConnectorLogin* This,LPWSTR wszNetworkResource,LPWSTR wszPreferredLocale,LONG lFlags,IWbemContext *pCtx,REFIID riid,void **pInterface) {
|
---|
457 | return This->lpVtbl->ConnectorLogin(This,wszNetworkResource,wszPreferredLocale,lFlags,pCtx,riid,pInterface);
|
---|
458 | }
|
---|
459 | #endif
|
---|
460 | #endif
|
---|
461 |
|
---|
462 | #endif
|
---|
463 |
|
---|
464 |
|
---|
465 | #endif /* __IWbemConnectorLogin_INTERFACE_DEFINED__ */
|
---|
466 |
|
---|
467 | /*****************************************************************************
|
---|
468 | * IWbemAddressResolution interface
|
---|
469 | */
|
---|
470 | #ifndef __IWbemAddressResolution_INTERFACE_DEFINED__
|
---|
471 | #define __IWbemAddressResolution_INTERFACE_DEFINED__
|
---|
472 |
|
---|
473 | DEFINE_GUID(IID_IWbemAddressResolution, 0xf7ce2e12, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8);
|
---|
474 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
475 | MIDL_INTERFACE("f7ce2e12-8c90-11d1-9e7b-00c04fc324a8")
|
---|
476 | IWbemAddressResolution : public IUnknown
|
---|
477 | {
|
---|
478 | virtual HRESULT STDMETHODCALLTYPE Resolve(
|
---|
479 | LPWSTR wszNamespacePath,
|
---|
480 | LPWSTR wszAddressType,
|
---|
481 | DWORD *pdwAddressLength,
|
---|
482 | BYTE **pabBinaryAddress) = 0;
|
---|
483 |
|
---|
484 | };
|
---|
485 | #ifdef __CRT_UUID_DECL
|
---|
486 | __CRT_UUID_DECL(IWbemAddressResolution, 0xf7ce2e12, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8)
|
---|
487 | #endif
|
---|
488 | #else
|
---|
489 | typedef struct IWbemAddressResolutionVtbl {
|
---|
490 | BEGIN_INTERFACE
|
---|
491 |
|
---|
492 | /*** IUnknown methods ***/
|
---|
493 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
494 | IWbemAddressResolution *This,
|
---|
495 | REFIID riid,
|
---|
496 | void **ppvObject);
|
---|
497 |
|
---|
498 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
499 | IWbemAddressResolution *This);
|
---|
500 |
|
---|
501 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
502 | IWbemAddressResolution *This);
|
---|
503 |
|
---|
504 | /*** IWbemAddressResolution methods ***/
|
---|
505 | HRESULT (STDMETHODCALLTYPE *Resolve)(
|
---|
506 | IWbemAddressResolution *This,
|
---|
507 | LPWSTR wszNamespacePath,
|
---|
508 | LPWSTR wszAddressType,
|
---|
509 | DWORD *pdwAddressLength,
|
---|
510 | BYTE **pabBinaryAddress);
|
---|
511 |
|
---|
512 | END_INTERFACE
|
---|
513 | } IWbemAddressResolutionVtbl;
|
---|
514 |
|
---|
515 | interface IWbemAddressResolution {
|
---|
516 | CONST_VTBL IWbemAddressResolutionVtbl* lpVtbl;
|
---|
517 | };
|
---|
518 |
|
---|
519 | #ifdef COBJMACROS
|
---|
520 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
521 | /*** IUnknown methods ***/
|
---|
522 | #define IWbemAddressResolution_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
523 | #define IWbemAddressResolution_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
524 | #define IWbemAddressResolution_Release(This) (This)->lpVtbl->Release(This)
|
---|
525 | /*** IWbemAddressResolution methods ***/
|
---|
526 | #define IWbemAddressResolution_Resolve(This,wszNamespacePath,wszAddressType,pdwAddressLength,pabBinaryAddress) (This)->lpVtbl->Resolve(This,wszNamespacePath,wszAddressType,pdwAddressLength,pabBinaryAddress)
|
---|
527 | #else
|
---|
528 | /*** IUnknown methods ***/
|
---|
529 | static FORCEINLINE HRESULT IWbemAddressResolution_QueryInterface(IWbemAddressResolution* This,REFIID riid,void **ppvObject) {
|
---|
530 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
531 | }
|
---|
532 | static FORCEINLINE ULONG IWbemAddressResolution_AddRef(IWbemAddressResolution* This) {
|
---|
533 | return This->lpVtbl->AddRef(This);
|
---|
534 | }
|
---|
535 | static FORCEINLINE ULONG IWbemAddressResolution_Release(IWbemAddressResolution* This) {
|
---|
536 | return This->lpVtbl->Release(This);
|
---|
537 | }
|
---|
538 | /*** IWbemAddressResolution methods ***/
|
---|
539 | static FORCEINLINE HRESULT IWbemAddressResolution_Resolve(IWbemAddressResolution* This,LPWSTR wszNamespacePath,LPWSTR wszAddressType,DWORD *pdwAddressLength,BYTE **pabBinaryAddress) {
|
---|
540 | return This->lpVtbl->Resolve(This,wszNamespacePath,wszAddressType,pdwAddressLength,pabBinaryAddress);
|
---|
541 | }
|
---|
542 | #endif
|
---|
543 | #endif
|
---|
544 |
|
---|
545 | #endif
|
---|
546 |
|
---|
547 |
|
---|
548 | #endif /* __IWbemAddressResolution_INTERFACE_DEFINED__ */
|
---|
549 |
|
---|
550 | /*****************************************************************************
|
---|
551 | * IWbemTransport interface
|
---|
552 | */
|
---|
553 | #ifndef __IWbemTransport_INTERFACE_DEFINED__
|
---|
554 | #define __IWbemTransport_INTERFACE_DEFINED__
|
---|
555 |
|
---|
556 | DEFINE_GUID(IID_IWbemTransport, 0x553fe584, 0x2156, 0x11d0, 0xb6,0xae, 0x00,0xaa,0x00,0x32,0x40,0xc7);
|
---|
557 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
558 | MIDL_INTERFACE("553fe584-2156-11d0-b6ae-00aa003240c7")
|
---|
559 | IWbemTransport : public IUnknown
|
---|
560 | {
|
---|
561 | virtual HRESULT STDMETHODCALLTYPE Initialize(
|
---|
562 | ) = 0;
|
---|
563 |
|
---|
564 | };
|
---|
565 | #ifdef __CRT_UUID_DECL
|
---|
566 | __CRT_UUID_DECL(IWbemTransport, 0x553fe584, 0x2156, 0x11d0, 0xb6,0xae, 0x00,0xaa,0x00,0x32,0x40,0xc7)
|
---|
567 | #endif
|
---|
568 | #else
|
---|
569 | typedef struct IWbemTransportVtbl {
|
---|
570 | BEGIN_INTERFACE
|
---|
571 |
|
---|
572 | /*** IUnknown methods ***/
|
---|
573 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
574 | IWbemTransport *This,
|
---|
575 | REFIID riid,
|
---|
576 | void **ppvObject);
|
---|
577 |
|
---|
578 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
579 | IWbemTransport *This);
|
---|
580 |
|
---|
581 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
582 | IWbemTransport *This);
|
---|
583 |
|
---|
584 | /*** IWbemTransport methods ***/
|
---|
585 | HRESULT (STDMETHODCALLTYPE *Initialize)(
|
---|
586 | IWbemTransport *This);
|
---|
587 |
|
---|
588 | END_INTERFACE
|
---|
589 | } IWbemTransportVtbl;
|
---|
590 |
|
---|
591 | interface IWbemTransport {
|
---|
592 | CONST_VTBL IWbemTransportVtbl* lpVtbl;
|
---|
593 | };
|
---|
594 |
|
---|
595 | #ifdef COBJMACROS
|
---|
596 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
597 | /*** IUnknown methods ***/
|
---|
598 | #define IWbemTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
599 | #define IWbemTransport_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
600 | #define IWbemTransport_Release(This) (This)->lpVtbl->Release(This)
|
---|
601 | /*** IWbemTransport methods ***/
|
---|
602 | #define IWbemTransport_Initialize(This) (This)->lpVtbl->Initialize(This)
|
---|
603 | #else
|
---|
604 | /*** IUnknown methods ***/
|
---|
605 | static FORCEINLINE HRESULT IWbemTransport_QueryInterface(IWbemTransport* This,REFIID riid,void **ppvObject) {
|
---|
606 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
607 | }
|
---|
608 | static FORCEINLINE ULONG IWbemTransport_AddRef(IWbemTransport* This) {
|
---|
609 | return This->lpVtbl->AddRef(This);
|
---|
610 | }
|
---|
611 | static FORCEINLINE ULONG IWbemTransport_Release(IWbemTransport* This) {
|
---|
612 | return This->lpVtbl->Release(This);
|
---|
613 | }
|
---|
614 | /*** IWbemTransport methods ***/
|
---|
615 | static FORCEINLINE HRESULT IWbemTransport_Initialize(IWbemTransport* This) {
|
---|
616 | return This->lpVtbl->Initialize(This);
|
---|
617 | }
|
---|
618 | #endif
|
---|
619 | #endif
|
---|
620 |
|
---|
621 | #endif
|
---|
622 |
|
---|
623 |
|
---|
624 | #endif /* __IWbemTransport_INTERFACE_DEFINED__ */
|
---|
625 |
|
---|
626 | /*****************************************************************************
|
---|
627 | * IWbemConstructClassObject interface
|
---|
628 | */
|
---|
629 | #ifndef __IWbemConstructClassObject_INTERFACE_DEFINED__
|
---|
630 | #define __IWbemConstructClassObject_INTERFACE_DEFINED__
|
---|
631 |
|
---|
632 | DEFINE_GUID(IID_IWbemConstructClassObject, 0x9ef76194, 0x70d5, 0x11d1, 0xad,0x90, 0x00,0xc0,0x4f,0xd8,0xfd,0xff);
|
---|
633 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
634 | MIDL_INTERFACE("9ef76194-70d5-11d1-ad90-00c04fd8fdff")
|
---|
635 | IWbemConstructClassObject : public IUnknown
|
---|
636 | {
|
---|
637 | virtual HRESULT STDMETHODCALLTYPE SetInheritanceChain(
|
---|
638 | LONG lNumAntecedents,
|
---|
639 | LPWSTR *awszAntecedents) = 0;
|
---|
640 |
|
---|
641 | virtual HRESULT STDMETHODCALLTYPE SetPropertyOrigin(
|
---|
642 | LPCWSTR wszPropertyName,
|
---|
643 | LONG lOriginIndex) = 0;
|
---|
644 |
|
---|
645 | virtual HRESULT STDMETHODCALLTYPE SetMethodOrigin(
|
---|
646 | LPCWSTR wszMethodName,
|
---|
647 | LONG lOriginIndex) = 0;
|
---|
648 |
|
---|
649 | virtual HRESULT STDMETHODCALLTYPE SetServerNamespace(
|
---|
650 | LPCWSTR wszServer,
|
---|
651 | LPCWSTR wszNamespace) = 0;
|
---|
652 |
|
---|
653 | };
|
---|
654 | #ifdef __CRT_UUID_DECL
|
---|
655 | __CRT_UUID_DECL(IWbemConstructClassObject, 0x9ef76194, 0x70d5, 0x11d1, 0xad,0x90, 0x00,0xc0,0x4f,0xd8,0xfd,0xff)
|
---|
656 | #endif
|
---|
657 | #else
|
---|
658 | typedef struct IWbemConstructClassObjectVtbl {
|
---|
659 | BEGIN_INTERFACE
|
---|
660 |
|
---|
661 | /*** IUnknown methods ***/
|
---|
662 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
663 | IWbemConstructClassObject *This,
|
---|
664 | REFIID riid,
|
---|
665 | void **ppvObject);
|
---|
666 |
|
---|
667 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
668 | IWbemConstructClassObject *This);
|
---|
669 |
|
---|
670 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
671 | IWbemConstructClassObject *This);
|
---|
672 |
|
---|
673 | /*** IWbemConstructClassObject methods ***/
|
---|
674 | HRESULT (STDMETHODCALLTYPE *SetInheritanceChain)(
|
---|
675 | IWbemConstructClassObject *This,
|
---|
676 | LONG lNumAntecedents,
|
---|
677 | LPWSTR *awszAntecedents);
|
---|
678 |
|
---|
679 | HRESULT (STDMETHODCALLTYPE *SetPropertyOrigin)(
|
---|
680 | IWbemConstructClassObject *This,
|
---|
681 | LPCWSTR wszPropertyName,
|
---|
682 | LONG lOriginIndex);
|
---|
683 |
|
---|
684 | HRESULT (STDMETHODCALLTYPE *SetMethodOrigin)(
|
---|
685 | IWbemConstructClassObject *This,
|
---|
686 | LPCWSTR wszMethodName,
|
---|
687 | LONG lOriginIndex);
|
---|
688 |
|
---|
689 | HRESULT (STDMETHODCALLTYPE *SetServerNamespace)(
|
---|
690 | IWbemConstructClassObject *This,
|
---|
691 | LPCWSTR wszServer,
|
---|
692 | LPCWSTR wszNamespace);
|
---|
693 |
|
---|
694 | END_INTERFACE
|
---|
695 | } IWbemConstructClassObjectVtbl;
|
---|
696 |
|
---|
697 | interface IWbemConstructClassObject {
|
---|
698 | CONST_VTBL IWbemConstructClassObjectVtbl* lpVtbl;
|
---|
699 | };
|
---|
700 |
|
---|
701 | #ifdef COBJMACROS
|
---|
702 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
703 | /*** IUnknown methods ***/
|
---|
704 | #define IWbemConstructClassObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
705 | #define IWbemConstructClassObject_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
706 | #define IWbemConstructClassObject_Release(This) (This)->lpVtbl->Release(This)
|
---|
707 | /*** IWbemConstructClassObject methods ***/
|
---|
708 | #define IWbemConstructClassObject_SetInheritanceChain(This,lNumAntecedents,awszAntecedents) (This)->lpVtbl->SetInheritanceChain(This,lNumAntecedents,awszAntecedents)
|
---|
709 | #define IWbemConstructClassObject_SetPropertyOrigin(This,wszPropertyName,lOriginIndex) (This)->lpVtbl->SetPropertyOrigin(This,wszPropertyName,lOriginIndex)
|
---|
710 | #define IWbemConstructClassObject_SetMethodOrigin(This,wszMethodName,lOriginIndex) (This)->lpVtbl->SetMethodOrigin(This,wszMethodName,lOriginIndex)
|
---|
711 | #define IWbemConstructClassObject_SetServerNamespace(This,wszServer,wszNamespace) (This)->lpVtbl->SetServerNamespace(This,wszServer,wszNamespace)
|
---|
712 | #else
|
---|
713 | /*** IUnknown methods ***/
|
---|
714 | static FORCEINLINE HRESULT IWbemConstructClassObject_QueryInterface(IWbemConstructClassObject* This,REFIID riid,void **ppvObject) {
|
---|
715 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
716 | }
|
---|
717 | static FORCEINLINE ULONG IWbemConstructClassObject_AddRef(IWbemConstructClassObject* This) {
|
---|
718 | return This->lpVtbl->AddRef(This);
|
---|
719 | }
|
---|
720 | static FORCEINLINE ULONG IWbemConstructClassObject_Release(IWbemConstructClassObject* This) {
|
---|
721 | return This->lpVtbl->Release(This);
|
---|
722 | }
|
---|
723 | /*** IWbemConstructClassObject methods ***/
|
---|
724 | static FORCEINLINE HRESULT IWbemConstructClassObject_SetInheritanceChain(IWbemConstructClassObject* This,LONG lNumAntecedents,LPWSTR *awszAntecedents) {
|
---|
725 | return This->lpVtbl->SetInheritanceChain(This,lNumAntecedents,awszAntecedents);
|
---|
726 | }
|
---|
727 | static FORCEINLINE HRESULT IWbemConstructClassObject_SetPropertyOrigin(IWbemConstructClassObject* This,LPCWSTR wszPropertyName,LONG lOriginIndex) {
|
---|
728 | return This->lpVtbl->SetPropertyOrigin(This,wszPropertyName,lOriginIndex);
|
---|
729 | }
|
---|
730 | static FORCEINLINE HRESULT IWbemConstructClassObject_SetMethodOrigin(IWbemConstructClassObject* This,LPCWSTR wszMethodName,LONG lOriginIndex) {
|
---|
731 | return This->lpVtbl->SetMethodOrigin(This,wszMethodName,lOriginIndex);
|
---|
732 | }
|
---|
733 | static FORCEINLINE HRESULT IWbemConstructClassObject_SetServerNamespace(IWbemConstructClassObject* This,LPCWSTR wszServer,LPCWSTR wszNamespace) {
|
---|
734 | return This->lpVtbl->SetServerNamespace(This,wszServer,wszNamespace);
|
---|
735 | }
|
---|
736 | #endif
|
---|
737 | #endif
|
---|
738 |
|
---|
739 | #endif
|
---|
740 |
|
---|
741 |
|
---|
742 | #endif /* __IWbemConstructClassObject_INTERFACE_DEFINED__ */
|
---|
743 |
|
---|
744 | /*****************************************************************************
|
---|
745 | * IWbemClientTransport interface
|
---|
746 | */
|
---|
747 | #ifndef __IWbemClientTransport_INTERFACE_DEFINED__
|
---|
748 | #define __IWbemClientTransport_INTERFACE_DEFINED__
|
---|
749 |
|
---|
750 | DEFINE_GUID(IID_IWbemClientTransport, 0xf7ce2e11, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8);
|
---|
751 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
752 | MIDL_INTERFACE("f7ce2e11-8c90-11d1-9e7b-00c04fc324a8")
|
---|
753 | IWbemClientTransport : public IUnknown
|
---|
754 | {
|
---|
755 | virtual HRESULT STDMETHODCALLTYPE ConnectServer(
|
---|
756 | BSTR strAddressType,
|
---|
757 | DWORD dwBinaryAddressLength,
|
---|
758 | BYTE *abBinaryAddress,
|
---|
759 | BSTR strNetworkResource,
|
---|
760 | BSTR strUser,
|
---|
761 | BSTR strPassword,
|
---|
762 | BSTR strLocale,
|
---|
763 | LONG lSecurityFlags,
|
---|
764 | BSTR strAuthority,
|
---|
765 | IWbemContext *pCtx,
|
---|
766 | IWbemServices **ppNamespace) = 0;
|
---|
767 |
|
---|
768 | };
|
---|
769 | #ifdef __CRT_UUID_DECL
|
---|
770 | __CRT_UUID_DECL(IWbemClientTransport, 0xf7ce2e11, 0x8c90, 0x11d1, 0x9e,0x7b, 0x00,0xc0,0x4f,0xc3,0x24,0xa8)
|
---|
771 | #endif
|
---|
772 | #else
|
---|
773 | typedef struct IWbemClientTransportVtbl {
|
---|
774 | BEGIN_INTERFACE
|
---|
775 |
|
---|
776 | /*** IUnknown methods ***/
|
---|
777 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
778 | IWbemClientTransport *This,
|
---|
779 | REFIID riid,
|
---|
780 | void **ppvObject);
|
---|
781 |
|
---|
782 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
783 | IWbemClientTransport *This);
|
---|
784 |
|
---|
785 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
786 | IWbemClientTransport *This);
|
---|
787 |
|
---|
788 | /*** IWbemClientTransport methods ***/
|
---|
789 | HRESULT (STDMETHODCALLTYPE *ConnectServer)(
|
---|
790 | IWbemClientTransport *This,
|
---|
791 | BSTR strAddressType,
|
---|
792 | DWORD dwBinaryAddressLength,
|
---|
793 | BYTE *abBinaryAddress,
|
---|
794 | BSTR strNetworkResource,
|
---|
795 | BSTR strUser,
|
---|
796 | BSTR strPassword,
|
---|
797 | BSTR strLocale,
|
---|
798 | LONG lSecurityFlags,
|
---|
799 | BSTR strAuthority,
|
---|
800 | IWbemContext *pCtx,
|
---|
801 | IWbemServices **ppNamespace);
|
---|
802 |
|
---|
803 | END_INTERFACE
|
---|
804 | } IWbemClientTransportVtbl;
|
---|
805 |
|
---|
806 | interface IWbemClientTransport {
|
---|
807 | CONST_VTBL IWbemClientTransportVtbl* lpVtbl;
|
---|
808 | };
|
---|
809 |
|
---|
810 | #ifdef COBJMACROS
|
---|
811 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
812 | /*** IUnknown methods ***/
|
---|
813 | #define IWbemClientTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
814 | #define IWbemClientTransport_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
815 | #define IWbemClientTransport_Release(This) (This)->lpVtbl->Release(This)
|
---|
816 | /*** IWbemClientTransport methods ***/
|
---|
817 | #define IWbemClientTransport_ConnectServer(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace) (This)->lpVtbl->ConnectServer(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace)
|
---|
818 | #else
|
---|
819 | /*** IUnknown methods ***/
|
---|
820 | static FORCEINLINE HRESULT IWbemClientTransport_QueryInterface(IWbemClientTransport* This,REFIID riid,void **ppvObject) {
|
---|
821 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
822 | }
|
---|
823 | static FORCEINLINE ULONG IWbemClientTransport_AddRef(IWbemClientTransport* This) {
|
---|
824 | return This->lpVtbl->AddRef(This);
|
---|
825 | }
|
---|
826 | static FORCEINLINE ULONG IWbemClientTransport_Release(IWbemClientTransport* This) {
|
---|
827 | return This->lpVtbl->Release(This);
|
---|
828 | }
|
---|
829 | /*** IWbemClientTransport methods ***/
|
---|
830 | static FORCEINLINE HRESULT IWbemClientTransport_ConnectServer(IWbemClientTransport* This,BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,BSTR strNetworkResource,BSTR strUser,BSTR strPassword,BSTR strLocale,LONG lSecurityFlags,BSTR strAuthority,IWbemContext *pCtx,IWbemServices **ppNamespace) {
|
---|
831 | return This->lpVtbl->ConnectServer(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace);
|
---|
832 | }
|
---|
833 | #endif
|
---|
834 | #endif
|
---|
835 |
|
---|
836 | #endif
|
---|
837 |
|
---|
838 |
|
---|
839 | #endif /* __IWbemClientTransport_INTERFACE_DEFINED__ */
|
---|
840 |
|
---|
841 | /*****************************************************************************
|
---|
842 | * IWbemClientConnectionTransport interface
|
---|
843 | */
|
---|
844 | #ifndef __IWbemClientConnectionTransport_INTERFACE_DEFINED__
|
---|
845 | #define __IWbemClientConnectionTransport_INTERFACE_DEFINED__
|
---|
846 |
|
---|
847 | DEFINE_GUID(IID_IWbemClientConnectionTransport, 0xa889c72a, 0xfcc1, 0x4a9e, 0xaf,0x61, 0xed,0x07,0x13,0x33,0xfb,0x5b);
|
---|
848 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
849 | MIDL_INTERFACE("a889c72a-fcc1-4a9e-af61-ed071333fb5b")
|
---|
850 | IWbemClientConnectionTransport : public IUnknown
|
---|
851 | {
|
---|
852 | virtual HRESULT STDMETHODCALLTYPE Open(
|
---|
853 | BSTR strAddressType,
|
---|
854 | DWORD dwBinaryAddressLength,
|
---|
855 | BYTE *abBinaryAddress,
|
---|
856 | const BSTR strObject,
|
---|
857 | const BSTR strUser,
|
---|
858 | const BSTR strPassword,
|
---|
859 | const BSTR strLocale,
|
---|
860 | LONG lFlags,
|
---|
861 | IWbemContext *pCtx,
|
---|
862 | REFIID riid,
|
---|
863 | void **pInterface,
|
---|
864 | IWbemCallResult **pCallRes) = 0;
|
---|
865 |
|
---|
866 | virtual HRESULT STDMETHODCALLTYPE OpenAsync(
|
---|
867 | BSTR strAddressType,
|
---|
868 | DWORD dwBinaryAddressLength,
|
---|
869 | BYTE *abBinaryAddress,
|
---|
870 | const BSTR strObject,
|
---|
871 | const BSTR strUser,
|
---|
872 | const BSTR strPassword,
|
---|
873 | const BSTR strLocale,
|
---|
874 | LONG lFlags,
|
---|
875 | IWbemContext *pCtx,
|
---|
876 | REFIID riid,
|
---|
877 | IWbemObjectSink *pResponseHandler) = 0;
|
---|
878 |
|
---|
879 | virtual HRESULT STDMETHODCALLTYPE Cancel(
|
---|
880 | LONG lFlags,
|
---|
881 | IWbemObjectSink *pHandler) = 0;
|
---|
882 |
|
---|
883 | };
|
---|
884 | #ifdef __CRT_UUID_DECL
|
---|
885 | __CRT_UUID_DECL(IWbemClientConnectionTransport, 0xa889c72a, 0xfcc1, 0x4a9e, 0xaf,0x61, 0xed,0x07,0x13,0x33,0xfb,0x5b)
|
---|
886 | #endif
|
---|
887 | #else
|
---|
888 | typedef struct IWbemClientConnectionTransportVtbl {
|
---|
889 | BEGIN_INTERFACE
|
---|
890 |
|
---|
891 | /*** IUnknown methods ***/
|
---|
892 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
893 | IWbemClientConnectionTransport *This,
|
---|
894 | REFIID riid,
|
---|
895 | void **ppvObject);
|
---|
896 |
|
---|
897 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
898 | IWbemClientConnectionTransport *This);
|
---|
899 |
|
---|
900 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
901 | IWbemClientConnectionTransport *This);
|
---|
902 |
|
---|
903 | /*** IWbemClientConnectionTransport methods ***/
|
---|
904 | HRESULT (STDMETHODCALLTYPE *Open)(
|
---|
905 | IWbemClientConnectionTransport *This,
|
---|
906 | BSTR strAddressType,
|
---|
907 | DWORD dwBinaryAddressLength,
|
---|
908 | BYTE *abBinaryAddress,
|
---|
909 | const BSTR strObject,
|
---|
910 | const BSTR strUser,
|
---|
911 | const BSTR strPassword,
|
---|
912 | const BSTR strLocale,
|
---|
913 | LONG lFlags,
|
---|
914 | IWbemContext *pCtx,
|
---|
915 | REFIID riid,
|
---|
916 | void **pInterface,
|
---|
917 | IWbemCallResult **pCallRes);
|
---|
918 |
|
---|
919 | HRESULT (STDMETHODCALLTYPE *OpenAsync)(
|
---|
920 | IWbemClientConnectionTransport *This,
|
---|
921 | BSTR strAddressType,
|
---|
922 | DWORD dwBinaryAddressLength,
|
---|
923 | BYTE *abBinaryAddress,
|
---|
924 | const BSTR strObject,
|
---|
925 | const BSTR strUser,
|
---|
926 | const BSTR strPassword,
|
---|
927 | const BSTR strLocale,
|
---|
928 | LONG lFlags,
|
---|
929 | IWbemContext *pCtx,
|
---|
930 | REFIID riid,
|
---|
931 | IWbemObjectSink *pResponseHandler);
|
---|
932 |
|
---|
933 | HRESULT (STDMETHODCALLTYPE *Cancel)(
|
---|
934 | IWbemClientConnectionTransport *This,
|
---|
935 | LONG lFlags,
|
---|
936 | IWbemObjectSink *pHandler);
|
---|
937 |
|
---|
938 | END_INTERFACE
|
---|
939 | } IWbemClientConnectionTransportVtbl;
|
---|
940 |
|
---|
941 | interface IWbemClientConnectionTransport {
|
---|
942 | CONST_VTBL IWbemClientConnectionTransportVtbl* lpVtbl;
|
---|
943 | };
|
---|
944 |
|
---|
945 | #ifdef COBJMACROS
|
---|
946 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
947 | /*** IUnknown methods ***/
|
---|
948 | #define IWbemClientConnectionTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
949 | #define IWbemClientConnectionTransport_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
950 | #define IWbemClientConnectionTransport_Release(This) (This)->lpVtbl->Release(This)
|
---|
951 | /*** IWbemClientConnectionTransport methods ***/
|
---|
952 | #define IWbemClientConnectionTransport_Open(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pInterface,pCallRes) (This)->lpVtbl->Open(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pInterface,pCallRes)
|
---|
953 | #define IWbemClientConnectionTransport_OpenAsync(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pResponseHandler) (This)->lpVtbl->OpenAsync(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pResponseHandler)
|
---|
954 | #define IWbemClientConnectionTransport_Cancel(This,lFlags,pHandler) (This)->lpVtbl->Cancel(This,lFlags,pHandler)
|
---|
955 | #else
|
---|
956 | /*** IUnknown methods ***/
|
---|
957 | static FORCEINLINE HRESULT IWbemClientConnectionTransport_QueryInterface(IWbemClientConnectionTransport* This,REFIID riid,void **ppvObject) {
|
---|
958 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
959 | }
|
---|
960 | static FORCEINLINE ULONG IWbemClientConnectionTransport_AddRef(IWbemClientConnectionTransport* This) {
|
---|
961 | return This->lpVtbl->AddRef(This);
|
---|
962 | }
|
---|
963 | static FORCEINLINE ULONG IWbemClientConnectionTransport_Release(IWbemClientConnectionTransport* This) {
|
---|
964 | return This->lpVtbl->Release(This);
|
---|
965 | }
|
---|
966 | /*** IWbemClientConnectionTransport methods ***/
|
---|
967 | static FORCEINLINE HRESULT IWbemClientConnectionTransport_Open(IWbemClientConnectionTransport* This,BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,const BSTR strObject,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,LONG lFlags,IWbemContext *pCtx,REFIID riid,void **pInterface,IWbemCallResult **pCallRes) {
|
---|
968 | return This->lpVtbl->Open(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pInterface,pCallRes);
|
---|
969 | }
|
---|
970 | static FORCEINLINE HRESULT IWbemClientConnectionTransport_OpenAsync(IWbemClientConnectionTransport* This,BSTR strAddressType,DWORD dwBinaryAddressLength,BYTE *abBinaryAddress,const BSTR strObject,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,LONG lFlags,IWbemContext *pCtx,REFIID riid,IWbemObjectSink *pResponseHandler) {
|
---|
971 | return This->lpVtbl->OpenAsync(This,strAddressType,dwBinaryAddressLength,abBinaryAddress,strObject,strUser,strPassword,strLocale,lFlags,pCtx,riid,pResponseHandler);
|
---|
972 | }
|
---|
973 | static FORCEINLINE HRESULT IWbemClientConnectionTransport_Cancel(IWbemClientConnectionTransport* This,LONG lFlags,IWbemObjectSink *pHandler) {
|
---|
974 | return This->lpVtbl->Cancel(This,lFlags,pHandler);
|
---|
975 | }
|
---|
976 | #endif
|
---|
977 | #endif
|
---|
978 |
|
---|
979 | #endif
|
---|
980 |
|
---|
981 |
|
---|
982 | #endif /* __IWbemClientConnectionTransport_INTERFACE_DEFINED__ */
|
---|
983 |
|
---|
984 | #endif
|
---|
985 | /* Begin additional prototypes for all interfaces */
|
---|
986 |
|
---|
987 |
|
---|
988 | /* End additional prototypes */
|
---|
989 |
|
---|
990 | #ifdef __cplusplus
|
---|
991 | }
|
---|
992 | #endif
|
---|
993 |
|
---|
994 | #endif /* __wbemtran_h__ */
|
---|