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.

360 lines
11 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 iisrsta.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 __iisrsta_h__
  27. #define __iisrsta_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IIisServiceControl_FWD_DEFINED__
  33. #define __IIisServiceControl_FWD_DEFINED__
  34. typedef interface IIisServiceControl IIisServiceControl;
  35. #endif /* __IIisServiceControl_FWD_DEFINED__ */
  36. #ifndef __IisServiceControl_FWD_DEFINED__
  37. #define __IisServiceControl_FWD_DEFINED__
  38. #ifdef __cplusplus
  39. typedef class IisServiceControl IisServiceControl;
  40. #else
  41. typedef struct IisServiceControl IisServiceControl;
  42. #endif /* __cplusplus */
  43. #endif /* __IisServiceControl_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. /* interface __MIDL_itf_iisrsta_0000 */
  53. /* [local] */
  54. DEFINE_GUID(IID_IIisServiceControl, 0xE8FB8620, 0x588F, 0x11d2, 0x9d, 0x61, 0x0,0xc0, 0x4f, 0x79, 0xc5, 0xfe);
  55. DEFINE_GUID(CLSID_IisServiceControl, 0xE8FB8621, 0x588F, 0x11d2, 0x9d, 0x61, 0x0,0xc0, 0x4f, 0x79, 0xc5, 0xfe);
  56. DEFINE_GUID(LIBID_IISRSTALib, 0xE8FB8614, 0x588F, 0x11d2, 0x9d, 0x61, 0x0,0xc0, 0x4f, 0x79, 0xc5, 0xfe);
  57. extern RPC_IF_HANDLE __MIDL_itf_iisrsta_0000_v0_0_c_ifspec;
  58. extern RPC_IF_HANDLE __MIDL_itf_iisrsta_0000_v0_0_s_ifspec;
  59. #ifndef __IIisServiceControl_INTERFACE_DEFINED__
  60. #define __IIisServiceControl_INTERFACE_DEFINED__
  61. /* interface IIisServiceControl */
  62. /* [unique][helpstring][dual][uuid][object] */
  63. EXTERN_C const IID IID_IIisServiceControl;
  64. #if defined(__cplusplus) && !defined(CINTERFACE)
  65. MIDL_INTERFACE("E8FB8620-588F-11D2-9D61-00C04F79C5FE")
  66. IIisServiceControl : public IDispatch
  67. {
  68. public:
  69. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Stop(
  70. DWORD dwTimeoutMsecs,
  71. DWORD dwForce) = 0;
  72. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Start(
  73. DWORD dwTimeoutMsecs) = 0;
  74. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Reboot(
  75. DWORD dwTimeouMsecs,
  76. DWORD dwForceAppsClosed) = 0;
  77. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Status(
  78. /* [in] */ DWORD dwBufferSize,
  79. /* [size_is][out] */ unsigned char *pbBuffer,
  80. /* [out] */ DWORD *pdwMDRequiredBufferSize,
  81. /* [out] */ DWORD *pdwNumServices) = 0;
  82. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Kill( void) = 0;
  83. };
  84. #else /* C style interface */
  85. typedef struct IIisServiceControlVtbl
  86. {
  87. BEGIN_INTERFACE
  88. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  89. IIisServiceControl * This,
  90. /* [in] */ REFIID riid,
  91. /* [iid_is][out] */ void **ppvObject);
  92. ULONG ( STDMETHODCALLTYPE *AddRef )(
  93. IIisServiceControl * This);
  94. ULONG ( STDMETHODCALLTYPE *Release )(
  95. IIisServiceControl * This);
  96. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  97. IIisServiceControl * This,
  98. /* [out] */ UINT *pctinfo);
  99. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  100. IIisServiceControl * This,
  101. /* [in] */ UINT iTInfo,
  102. /* [in] */ LCID lcid,
  103. /* [out] */ ITypeInfo **ppTInfo);
  104. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  105. IIisServiceControl * This,
  106. /* [in] */ REFIID riid,
  107. /* [size_is][in] */ LPOLESTR *rgszNames,
  108. /* [in] */ UINT cNames,
  109. /* [in] */ LCID lcid,
  110. /* [size_is][out] */ DISPID *rgDispId);
  111. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  112. IIisServiceControl * This,
  113. /* [in] */ DISPID dispIdMember,
  114. /* [in] */ REFIID riid,
  115. /* [in] */ LCID lcid,
  116. /* [in] */ WORD wFlags,
  117. /* [out][in] */ DISPPARAMS *pDispParams,
  118. /* [out] */ VARIANT *pVarResult,
  119. /* [out] */ EXCEPINFO *pExcepInfo,
  120. /* [out] */ UINT *puArgErr);
  121. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Stop )(
  122. IIisServiceControl * This,
  123. DWORD dwTimeoutMsecs,
  124. DWORD dwForce);
  125. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Start )(
  126. IIisServiceControl * This,
  127. DWORD dwTimeoutMsecs);
  128. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Reboot )(
  129. IIisServiceControl * This,
  130. DWORD dwTimeouMsecs,
  131. DWORD dwForceAppsClosed);
  132. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Status )(
  133. IIisServiceControl * This,
  134. /* [in] */ DWORD dwBufferSize,
  135. /* [size_is][out] */ unsigned char *pbBuffer,
  136. /* [out] */ DWORD *pdwMDRequiredBufferSize,
  137. /* [out] */ DWORD *pdwNumServices);
  138. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Kill )(
  139. IIisServiceControl * This);
  140. END_INTERFACE
  141. } IIisServiceControlVtbl;
  142. interface IIisServiceControl
  143. {
  144. CONST_VTBL struct IIisServiceControlVtbl *lpVtbl;
  145. };
  146. #ifdef COBJMACROS
  147. #define IIisServiceControl_QueryInterface(This,riid,ppvObject) \
  148. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  149. #define IIisServiceControl_AddRef(This) \
  150. (This)->lpVtbl -> AddRef(This)
  151. #define IIisServiceControl_Release(This) \
  152. (This)->lpVtbl -> Release(This)
  153. #define IIisServiceControl_GetTypeInfoCount(This,pctinfo) \
  154. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  155. #define IIisServiceControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  156. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  157. #define IIisServiceControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  158. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  159. #define IIisServiceControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  160. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  161. #define IIisServiceControl_Stop(This,dwTimeoutMsecs,dwForce) \
  162. (This)->lpVtbl -> Stop(This,dwTimeoutMsecs,dwForce)
  163. #define IIisServiceControl_Start(This,dwTimeoutMsecs) \
  164. (This)->lpVtbl -> Start(This,dwTimeoutMsecs)
  165. #define IIisServiceControl_Reboot(This,dwTimeouMsecs,dwForceAppsClosed) \
  166. (This)->lpVtbl -> Reboot(This,dwTimeouMsecs,dwForceAppsClosed)
  167. #define IIisServiceControl_Status(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize,pdwNumServices) \
  168. (This)->lpVtbl -> Status(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize,pdwNumServices)
  169. #define IIisServiceControl_Kill(This) \
  170. (This)->lpVtbl -> Kill(This)
  171. #endif /* COBJMACROS */
  172. #endif /* C style interface */
  173. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIisServiceControl_Stop_Proxy(
  174. IIisServiceControl * This,
  175. DWORD dwTimeoutMsecs,
  176. DWORD dwForce);
  177. void __RPC_STUB IIisServiceControl_Stop_Stub(
  178. IRpcStubBuffer *This,
  179. IRpcChannelBuffer *_pRpcChannelBuffer,
  180. PRPC_MESSAGE _pRpcMessage,
  181. DWORD *_pdwStubPhase);
  182. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIisServiceControl_Start_Proxy(
  183. IIisServiceControl * This,
  184. DWORD dwTimeoutMsecs);
  185. void __RPC_STUB IIisServiceControl_Start_Stub(
  186. IRpcStubBuffer *This,
  187. IRpcChannelBuffer *_pRpcChannelBuffer,
  188. PRPC_MESSAGE _pRpcMessage,
  189. DWORD *_pdwStubPhase);
  190. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIisServiceControl_Reboot_Proxy(
  191. IIisServiceControl * This,
  192. DWORD dwTimeouMsecs,
  193. DWORD dwForceAppsClosed);
  194. void __RPC_STUB IIisServiceControl_Reboot_Stub(
  195. IRpcStubBuffer *This,
  196. IRpcChannelBuffer *_pRpcChannelBuffer,
  197. PRPC_MESSAGE _pRpcMessage,
  198. DWORD *_pdwStubPhase);
  199. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIisServiceControl_Status_Proxy(
  200. IIisServiceControl * This,
  201. /* [in] */ DWORD dwBufferSize,
  202. /* [size_is][out] */ unsigned char *pbBuffer,
  203. /* [out] */ DWORD *pdwMDRequiredBufferSize,
  204. /* [out] */ DWORD *pdwNumServices);
  205. void __RPC_STUB IIisServiceControl_Status_Stub(
  206. IRpcStubBuffer *This,
  207. IRpcChannelBuffer *_pRpcChannelBuffer,
  208. PRPC_MESSAGE _pRpcMessage,
  209. DWORD *_pdwStubPhase);
  210. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIisServiceControl_Kill_Proxy(
  211. IIisServiceControl * This);
  212. void __RPC_STUB IIisServiceControl_Kill_Stub(
  213. IRpcStubBuffer *This,
  214. IRpcChannelBuffer *_pRpcChannelBuffer,
  215. PRPC_MESSAGE _pRpcMessage,
  216. DWORD *_pdwStubPhase);
  217. #endif /* __IIisServiceControl_INTERFACE_DEFINED__ */
  218. #ifndef __IISRSTALib_LIBRARY_DEFINED__
  219. #define __IISRSTALib_LIBRARY_DEFINED__
  220. /* library IISRSTALib */
  221. /* [helpstring][version][uuid] */
  222. EXTERN_C const IID LIBID_IISRSTALib;
  223. EXTERN_C const CLSID CLSID_IisServiceControl;
  224. #ifdef __cplusplus
  225. class DECLSPEC_UUID("E8FB8621-588F-11D2-9D61-00C04F79C5FE")
  226. IisServiceControl;
  227. #endif
  228. #endif /* __IISRSTALib_LIBRARY_DEFINED__ */
  229. /* interface __MIDL_itf_iisrsta_0258 */
  230. /* [local] */
  231. typedef struct {
  232. DWORD iServiceName;
  233. DWORD iDisplayName;
  234. SERVICE_STATUS ServiceStatus;
  235. } SERIALIZED_ENUM_SERVICE_STATUS;
  236. extern RPC_IF_HANDLE __MIDL_itf_iisrsta_0258_v0_0_c_ifspec;
  237. extern RPC_IF_HANDLE __MIDL_itf_iisrsta_0258_v0_0_s_ifspec;
  238. /* Additional Prototypes for ALL interfaces */
  239. /* end of Additional Prototypes */
  240. #ifdef __cplusplus
  241. }
  242. #endif
  243. #endif