1
2
3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
4
5
6  /* File created by MIDL compiler version 7.00.0499 */
7 /* Compiler settings for wbemads.idl:
8       Oicf, W1, Zp8, env=Win32 (32b run)
9       protocol : dce , ms_ext, c_ext, robust
10       error checks: allocation ref bounds_check enum stub_data 
11       VC __declspec() decoration level: 
12                __declspec(uuid()), __declspec(selectany), __declspec(novtable)
13                DECLSPEC_UUID(), MIDL_INTERFACE()
14 */
15 //@@MIDL_FILE_HEADING(  )
16
17 #pragma warning( disable: 4049 )  /* more than 64k source lines */
18
19
20 /* verify that the <rpcndr.h> version is high enough to compile this file*/
21 #ifndef __REQUIRED_RPCNDR_H_VERSION__
22 #define __REQUIRED_RPCNDR_H_VERSION__ 500
23 #endif
24
25 /* verify that the <rpcsal.h> version is high enough to compile this file*/
26 #ifndef __REQUIRED_RPCSAL_H_VERSION__
27 #define __REQUIRED_RPCSAL_H_VERSION__ 100
28 #endif
29
30 #include "rpc.h"
31 #include "rpcndr.h"
32
33 #ifndef __RPCNDR_H_VERSION__
34 #error this stub requires an updated version of <rpcndr.h>
35 #endif // __RPCNDR_H_VERSION__
36
37 #ifndef COM_NO_WINDOWS_H
38 #include "windows.h"
39 #include "ole2.h"
40 #endif /*COM_NO_WINDOWS_H*/
41
42 #ifndef __wbemads_h__
43 #define __wbemads_h__
44
45 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
46 #pragma once
47 #endif
48
49 /* Forward Declarations */ 
50
51 #ifndef __IWMIExtension_FWD_DEFINED__
52 #define __IWMIExtension_FWD_DEFINED__
53 typedef interface IWMIExtension IWMIExtension;
54 #endif     /* __IWMIExtension_FWD_DEFINED__ */
55
56
57 #ifndef __WMIExtension_FWD_DEFINED__
58 #define __WMIExtension_FWD_DEFINED__
59
60 #ifdef __cplusplus
61 typedef class WMIExtension WMIExtension;
62 #else
63 typedef struct WMIExtension WMIExtension;
64 #endif /* __cplusplus */
65
66 #endif     /* __WMIExtension_FWD_DEFINED__ */
67
68
69 #ifndef __IWMIExtension_FWD_DEFINED__
70 #define __IWMIExtension_FWD_DEFINED__
71 typedef interface IWMIExtension IWMIExtension;
72 #endif     /* __IWMIExtension_FWD_DEFINED__ */
73
74
75 /* header files for imported files */
76 #include "oaidl.h"
77 #include "ocidl.h"
78 #include "wbemdisp.h"
79
80 #ifdef __cplusplus
81 extern "C"{
82 #endif 
83
84
85 /* interface __MIDL_itf_wbemads_0000_0000 */
86 /* [local] */ 
87
88 /*******************************************************************************/
89 /*                                                                                                                                */
90 /*      Copyright (c) Microsoft Corporation.  All rights reserved.                         */
91 /*                                                                                                                                */
92 /*      IDL source for WMI ADSI extension                                                                  */
93 /*                                                                                                                                */
94 /*******************************************************************************/
95
96
97 extern RPC_IF_HANDLE __MIDL_itf_wbemads_0000_0000_v0_0_c_ifspec;
98 extern RPC_IF_HANDLE __MIDL_itf_wbemads_0000_0000_v0_0_s_ifspec;
99
100
101 #ifndef __WMIEXTENSIONLib_LIBRARY_DEFINED__
102 #define __WMIEXTENSIONLib_LIBRARY_DEFINED__
103
104 /* library WMIEXTENSIONLib */
105 /* [helpstring][version][uuid] */ 
106
107
108
109 EXTERN_C const IID LIBID_WMIEXTENSIONLib;
110
111 #ifndef __IWMIExtension_INTERFACE_DEFINED__
112 #define __IWMIExtension_INTERFACE_DEFINED__
113
114 /* interface IWMIExtension */
115 /* [unique][helpstring][dual][uuid][object] */ 
116
117
118 EXTERN_C const IID IID_IWMIExtension;
119
120 #if defined(__cplusplus) && !defined(CINTERFACE)
121       
122       MIDL_INTERFACE("adc1f06e-5c7e-11d2-8b74-00104b2afb41")
123       IWMIExtension : public IDispatch
124       {
125       public:
126              virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_WMIObjectPath( 
127                     /* [retval][out] */ __RPC__deref_out_opt BSTR *strWMIObjectPath) = 0;
128              
129              virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWMIObject( 
130                     /* [retval][out] */ __RPC__deref_out_opt ISWbemObject **objWMIObject) = 0;
131              
132              virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWMIServices( 
133                     /* [retval][out] */ __RPC__deref_out_opt ISWbemServices **objWMIServices) = 0;
134              
135       };
136       
137 #else     /* C style interface */
138
139       typedef struct IWMIExtensionVtbl
140       {
141              BEGIN_INTERFACE
142              
143              HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
144                     IWMIExtension * This,
145                     /* [in] */ __RPC__in REFIID riid,
146                     /* [iid_is][out] */ 
147                     __RPC__deref_out  void **ppvObject);
Lines 148 ... 157 are skipped.
158              
159              HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
160                     IWMIExtension * This,
161                     /* [in] */ UINT iTInfo,
162                     /* [in] */ LCID lcid,
163                     /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo);
164              
165              HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
166                     IWMIExtension * This,
167                     /* [in] */ __RPC__in REFIID riid,
168                     /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames,
169                     /* [range][in] */ UINT cNames,
170                     /* [in] */ LCID lcid,
171                     /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId);
172              
173              /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
174                     IWMIExtension * This,
175                     /* [in] */ DISPID dispIdMember,
176                     /* [in] */ REFIID riid,
177                     /* [in] */ LCID lcid,
178                     /* [in] */ WORD wFlags,
179                     /* [out][in] */ DISPPARAMS *pDispParams,
180                     /* [out] */ VARIANT *pVarResult,
181                     /* [out] */ EXCEPINFO *pExcepInfo,
182                     /* [out] */ UINT *puArgErr);
183              
184              /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_WMIObjectPath )( 
185                     IWMIExtension * This,
186                     /* [retval][out] */ __RPC__deref_out_opt BSTR *strWMIObjectPath);
187              
188              /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetWMIObject )( 
189                     IWMIExtension * This,
190                     /* [retval][out] */ __RPC__deref_out_opt ISWbemObject **objWMIObject);
191              
192              /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetWMIServices )( 
193                     IWMIExtension * This,
194                     /* [retval][out] */ __RPC__deref_out_opt ISWbemServices **objWMIServices);
195              
196              END_INTERFACE
197       } IWMIExtensionVtbl;
198
199       interface IWMIExtension
200       {
201              CONST_VTBL struct IWMIExtensionVtbl *lpVtbl;
202       };
203
204       
205
206 #ifdef COBJMACROS
207
208
209 #define IWMIExtension_QueryInterface(This,riid,ppvObject)    \
210       ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
211
212 #define IWMIExtension_AddRef(This)    \
213       ( (This)->lpVtbl -> AddRef(This) ) 
214
215 #define IWMIExtension_Release(This)    \
216       ( (This)->lpVtbl -> Release(This) ) 
217
218
219 #define IWMIExtension_GetTypeInfoCount(This,pctinfo)    \
220       ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
221
222 #define IWMIExtension_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
223       ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
224
225 #define IWMIExtension_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
226       ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
227
228 #define IWMIExtension_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
229       ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
230
231
232 #define IWMIExtension_get_WMIObjectPath(This,strWMIObjectPath)    \
233       ( (This)->lpVtbl -> get_WMIObjectPath(This,strWMIObjectPath) ) 
234
235 #define IWMIExtension_GetWMIObject(This,objWMIObject)    \
236       ( (This)->lpVtbl -> GetWMIObject(This,objWMIObject) ) 
237
238 #define IWMIExtension_GetWMIServices(This,objWMIServices)    \
239       ( (This)->lpVtbl -> GetWMIServices(This,objWMIServices) ) 
240
241 #endif /* COBJMACROS */
242
243
244 #endif     /* C style interface */
245
246
247
248
249 #endif     /* __IWMIExtension_INTERFACE_DEFINED__ */
250
251
252 EXTERN_C const CLSID CLSID_WMIExtension;
253
254 #ifdef __cplusplus
255
256 class DECLSPEC_UUID("f0975afe-5c7f-11d2-8b74-00104b2afb41")
257 WMIExtension;
258 #endif
259 #endif /* __WMIEXTENSIONLib_LIBRARY_DEFINED__ */
260
261 /* Additional Prototypes for ALL interfaces */
262
263 unsigned long                     __RPC_USER  BSTR_UserSize(        unsigned long *, unsigned long                    , BSTR * ); 
264 unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
265 unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
266 void                                    __RPC_USER  BSTR_UserFree(        unsigned long *, BSTR * ); 
267
268 unsigned long                     __RPC_USER  BSTR_UserSize64(        unsigned long *, unsigned long                    , BSTR * ); 
269 unsigned char * __RPC_USER  BSTR_UserMarshal64(  unsigned long *, unsigned char *, BSTR * ); 
270 unsigned char * __RPC_USER  BSTR_UserUnmarshal64(unsigned long *, unsigned char *, BSTR * ); 
271 void                                    __RPC_USER  BSTR_UserFree64(        unsigned long *, BSTR * ); 
272
273 /* end of Additional Prototypes */
274
275 #ifdef __cplusplus
276 }
277 #endif
278
279 #endif
280
281
282
283