Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

307 lines
9.7 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for schemamanager.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __schemamanager_h__
  27. #define __schemamanager_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWMIFilterManager_FWD_DEFINED__
  33. #define __IWMIFilterManager_FWD_DEFINED__
  34. typedef interface IWMIFilterManager IWMIFilterManager;
  35. #endif /* __IWMIFilterManager_FWD_DEFINED__ */
  36. #ifndef __WMIFilterManager_FWD_DEFINED__
  37. #define __WMIFilterManager_FWD_DEFINED__
  38. #ifdef __cplusplus
  39. typedef class WMIFilterManager WMIFilterManager;
  40. #else
  41. typedef struct WMIFilterManager WMIFilterManager;
  42. #endif /* __cplusplus */
  43. #endif /* __WMIFilterManager_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "oaidl.h"
  46. #include "ocidl.h"
  47. #ifdef __cplusplus
  48. extern "C"{
  49. #endif
  50. void * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void * );
  52. #ifndef __IWMIFilterManager_INTERFACE_DEFINED__
  53. #define __IWMIFilterManager_INTERFACE_DEFINED__
  54. /* interface IWMIFilterManager */
  55. /* [unique][helpstring][dual][uuid][object] */
  56. EXTERN_C const IID IID_IWMIFilterManager;
  57. #if defined(__cplusplus) && !defined(CINTERFACE)
  58. MIDL_INTERFACE("64DCCA00-14A6-473C-9006-5AB79DC68491")
  59. IWMIFilterManager : public IDispatch
  60. {
  61. public:
  62. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RunManager(
  63. /* [in] */ HWND hwndParent,
  64. /* [in] */ BSTR bstrDomain,
  65. /* [retval][out] */ VARIANT *vSelection) = 0;
  66. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetMultiSelection(
  67. /* [in] */ VARIANT_BOOL vbValue) = 0;
  68. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RunBrowser(
  69. /* [in] */ HWND hwndParent,
  70. /* [in] */ BSTR bstrDomain,
  71. /* [retval][out] */ VARIANT *vSelection) = 0;
  72. };
  73. #else /* C style interface */
  74. typedef struct IWMIFilterManagerVtbl
  75. {
  76. BEGIN_INTERFACE
  77. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  78. IWMIFilterManager * This,
  79. /* [in] */ REFIID riid,
  80. /* [iid_is][out] */ void **ppvObject);
  81. ULONG ( STDMETHODCALLTYPE *AddRef )(
  82. IWMIFilterManager * This);
  83. ULONG ( STDMETHODCALLTYPE *Release )(
  84. IWMIFilterManager * This);
  85. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  86. IWMIFilterManager * This,
  87. /* [out] */ UINT *pctinfo);
  88. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  89. IWMIFilterManager * This,
  90. /* [in] */ UINT iTInfo,
  91. /* [in] */ LCID lcid,
  92. /* [out] */ ITypeInfo **ppTInfo);
  93. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  94. IWMIFilterManager * This,
  95. /* [in] */ REFIID riid,
  96. /* [size_is][in] */ LPOLESTR *rgszNames,
  97. /* [in] */ UINT cNames,
  98. /* [in] */ LCID lcid,
  99. /* [size_is][out] */ DISPID *rgDispId);
  100. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  101. IWMIFilterManager * This,
  102. /* [in] */ DISPID dispIdMember,
  103. /* [in] */ REFIID riid,
  104. /* [in] */ LCID lcid,
  105. /* [in] */ WORD wFlags,
  106. /* [out][in] */ DISPPARAMS *pDispParams,
  107. /* [out] */ VARIANT *pVarResult,
  108. /* [out] */ EXCEPINFO *pExcepInfo,
  109. /* [out] */ UINT *puArgErr);
  110. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RunManager )(
  111. IWMIFilterManager * This,
  112. /* [in] */ HWND hwndParent,
  113. /* [in] */ BSTR bstrDomain,
  114. /* [retval][out] */ VARIANT *vSelection);
  115. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetMultiSelection )(
  116. IWMIFilterManager * This,
  117. /* [in] */ VARIANT_BOOL vbValue);
  118. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RunBrowser )(
  119. IWMIFilterManager * This,
  120. /* [in] */ HWND hwndParent,
  121. /* [in] */ BSTR bstrDomain,
  122. /* [retval][out] */ VARIANT *vSelection);
  123. END_INTERFACE
  124. } IWMIFilterManagerVtbl;
  125. interface IWMIFilterManager
  126. {
  127. CONST_VTBL struct IWMIFilterManagerVtbl *lpVtbl;
  128. };
  129. #ifdef COBJMACROS
  130. #define IWMIFilterManager_QueryInterface(This,riid,ppvObject) \
  131. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  132. #define IWMIFilterManager_AddRef(This) \
  133. (This)->lpVtbl -> AddRef(This)
  134. #define IWMIFilterManager_Release(This) \
  135. (This)->lpVtbl -> Release(This)
  136. #define IWMIFilterManager_GetTypeInfoCount(This,pctinfo) \
  137. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  138. #define IWMIFilterManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  139. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  140. #define IWMIFilterManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  141. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  142. #define IWMIFilterManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  143. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  144. #define IWMIFilterManager_RunManager(This,hwndParent,bstrDomain,vSelection) \
  145. (This)->lpVtbl -> RunManager(This,hwndParent,bstrDomain,vSelection)
  146. #define IWMIFilterManager_SetMultiSelection(This,vbValue) \
  147. (This)->lpVtbl -> SetMultiSelection(This,vbValue)
  148. #define IWMIFilterManager_RunBrowser(This,hwndParent,bstrDomain,vSelection) \
  149. (This)->lpVtbl -> RunBrowser(This,hwndParent,bstrDomain,vSelection)
  150. #endif /* COBJMACROS */
  151. #endif /* C style interface */
  152. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMIFilterManager_RunManager_Proxy(
  153. IWMIFilterManager * This,
  154. /* [in] */ HWND hwndParent,
  155. /* [in] */ BSTR bstrDomain,
  156. /* [retval][out] */ VARIANT *vSelection);
  157. void __RPC_STUB IWMIFilterManager_RunManager_Stub(
  158. IRpcStubBuffer *This,
  159. IRpcChannelBuffer *_pRpcChannelBuffer,
  160. PRPC_MESSAGE _pRpcMessage,
  161. DWORD *_pdwStubPhase);
  162. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMIFilterManager_SetMultiSelection_Proxy(
  163. IWMIFilterManager * This,
  164. /* [in] */ VARIANT_BOOL vbValue);
  165. void __RPC_STUB IWMIFilterManager_SetMultiSelection_Stub(
  166. IRpcStubBuffer *This,
  167. IRpcChannelBuffer *_pRpcChannelBuffer,
  168. PRPC_MESSAGE _pRpcMessage,
  169. DWORD *_pdwStubPhase);
  170. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMIFilterManager_RunBrowser_Proxy(
  171. IWMIFilterManager * This,
  172. /* [in] */ HWND hwndParent,
  173. /* [in] */ BSTR bstrDomain,
  174. /* [retval][out] */ VARIANT *vSelection);
  175. void __RPC_STUB IWMIFilterManager_RunBrowser_Stub(
  176. IRpcStubBuffer *This,
  177. IRpcChannelBuffer *_pRpcChannelBuffer,
  178. PRPC_MESSAGE _pRpcMessage,
  179. DWORD *_pdwStubPhase);
  180. #endif /* __IWMIFilterManager_INTERFACE_DEFINED__ */
  181. #ifndef __SCHEMAMANAGERLib_LIBRARY_DEFINED__
  182. #define __SCHEMAMANAGERLib_LIBRARY_DEFINED__
  183. /* library SCHEMAMANAGERLib */
  184. /* [helpstring][version][uuid] */
  185. EXTERN_C const IID LIBID_SCHEMAMANAGERLib;
  186. EXTERN_C const CLSID CLSID_WMIFilterManager;
  187. #ifdef __cplusplus
  188. class DECLSPEC_UUID("D86A8E9B-F53F-45AD-8C49-0A0A5230DE28")
  189. WMIFilterManager;
  190. #endif
  191. #endif /* __SCHEMAMANAGERLib_LIBRARY_DEFINED__ */
  192. /* Additional Prototypes for ALL interfaces */
  193. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  194. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  195. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  196. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  197. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  198. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  199. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  200. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  201. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  202. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  203. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  204. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  205. /* end of Additional Prototypes */
  206. #ifdef __cplusplus
  207. }
  208. #endif
  209. #endif