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.

753 lines
24 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 wamreg.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 __iwamreg_h__
  27. #define __iwamreg_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWamAdmin_FWD_DEFINED__
  33. #define __IWamAdmin_FWD_DEFINED__
  34. typedef interface IWamAdmin IWamAdmin;
  35. #endif /* __IWamAdmin_FWD_DEFINED__ */
  36. #ifndef __IWamAdmin2_FWD_DEFINED__
  37. #define __IWamAdmin2_FWD_DEFINED__
  38. typedef interface IWamAdmin2 IWamAdmin2;
  39. #endif /* __IWamAdmin2_FWD_DEFINED__ */
  40. #ifndef __IIISApplicationAdmin_FWD_DEFINED__
  41. #define __IIISApplicationAdmin_FWD_DEFINED__
  42. typedef interface IIISApplicationAdmin IIISApplicationAdmin;
  43. #endif /* __IIISApplicationAdmin_FWD_DEFINED__ */
  44. #ifndef __WamAdmin_FWD_DEFINED__
  45. #define __WamAdmin_FWD_DEFINED__
  46. #ifdef __cplusplus
  47. typedef class WamAdmin WamAdmin;
  48. #else
  49. typedef struct WamAdmin WamAdmin;
  50. #endif /* __cplusplus */
  51. #endif /* __WamAdmin_FWD_DEFINED__ */
  52. /* header files for imported files */
  53. #include "oaidl.h"
  54. #include "ocidl.h"
  55. #ifdef __cplusplus
  56. extern "C"{
  57. #endif
  58. void * __RPC_USER MIDL_user_allocate(size_t);
  59. void __RPC_USER MIDL_user_free( void * );
  60. /* interface __MIDL_itf_wamreg_0000 */
  61. /* [local] */
  62. /*++
  63. Copyright (c) 1997-2001 Microsoft Corporation
  64. Module Name: iwamreg.h
  65. WAM (Web Application Manager) Interfaces
  66. --*/
  67. #ifndef __WAMREG_IADM__IID
  68. #define __WAMREG_IADM__IID
  69. DEFINE_GUID(IID_IWamAdmin, 0x29822AB7, 0xF302, 0x11D0, 0x99, 0x53, 0x00, 0xC0, 0x4F, 0xD9, 0x19, 0xC1);
  70. DEFINE_GUID(IID_IWamAdmin2, 0x29822AB8, 0xF302, 0x11D0, 0x99, 0x53, 0x00, 0xC0, 0x4F, 0xD9, 0x19, 0xC1);
  71. DEFINE_GUID(IID_IIISApplicationAdmin, 0x7C4E1804, 0xE342, 0x483D, 0xA4, 0x3E, 0xA8, 0x50, 0xCF, 0xCC, 0x8D, 0x18);
  72. DEFINE_GUID(LIBID_WAMREGLib, 0x29822AA8, 0xF302, 0x11D0, 0x99, 0x53, 0x00, 0xC0, 0x4F, 0xD9, 0x19, 0xC1);
  73. DEFINE_GUID(CLSID_WamAdmin, 0x61738644, 0xF196, 0x11D0, 0x99, 0x53, 0x00, 0xC0, 0x4F, 0xD9, 0x19, 0xC1);
  74. #endif //__WAMREG_IADM__IID
  75. #define APPSTATUS_STOPPED 0
  76. #define APPSTATUS_RUNNING 1
  77. #define APPSTATUS_NOTDEFINED 2
  78. typedef /* [public] */
  79. enum __MIDL___MIDL_itf_wamreg_0000_0001
  80. { eAppRunInProc = 0,
  81. eAppRunOutProcIsolated = eAppRunInProc + 1,
  82. eAppRunOutProcInDefaultPool = eAppRunOutProcIsolated + 1
  83. } EAppMode;
  84. extern RPC_IF_HANDLE __MIDL_itf_wamreg_0000_v0_0_c_ifspec;
  85. extern RPC_IF_HANDLE __MIDL_itf_wamreg_0000_v0_0_s_ifspec;
  86. #ifndef __IWamAdmin_INTERFACE_DEFINED__
  87. #define __IWamAdmin_INTERFACE_DEFINED__
  88. /* interface IWamAdmin */
  89. /* [object][unique][helpstring][uuid] */
  90. EXTERN_C const IID IID_IWamAdmin;
  91. #if defined(__cplusplus) && !defined(CINTERFACE)
  92. MIDL_INTERFACE("29822AB7-F302-11D0-9953-00C04FD919C1")
  93. IWamAdmin : public IUnknown
  94. {
  95. public:
  96. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AppCreate(
  97. /* [string][unique][in] */ LPCWSTR szMDPath,
  98. /* [in] */ BOOL fInProc) = 0;
  99. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AppDelete(
  100. /* [string][unique][in] */ LPCWSTR szMDPath,
  101. /* [in] */ BOOL fRecursive) = 0;
  102. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AppUnLoad(
  103. /* [string][unique][in] */ LPCWSTR szMDPath,
  104. /* [in] */ BOOL fRecursive) = 0;
  105. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AppGetStatus(
  106. /* [string][unique][in] */ LPCWSTR szMDPath,
  107. /* [out] */ DWORD *pdwAppStatus) = 0;
  108. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AppDeleteRecoverable(
  109. /* [string][unique][in] */ LPCWSTR szMDPath,
  110. /* [in] */ BOOL fRecursive) = 0;
  111. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AppRecover(
  112. /* [string][unique][in] */ LPCWSTR szMDPath,
  113. /* [in] */ BOOL fRecursive) = 0;
  114. };
  115. #else /* C style interface */
  116. typedef struct IWamAdminVtbl
  117. {
  118. BEGIN_INTERFACE
  119. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  120. IWamAdmin * This,
  121. /* [in] */ REFIID riid,
  122. /* [iid_is][out] */ void **ppvObject);
  123. ULONG ( STDMETHODCALLTYPE *AddRef )(
  124. IWamAdmin * This);
  125. ULONG ( STDMETHODCALLTYPE *Release )(
  126. IWamAdmin * This);
  127. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppCreate )(
  128. IWamAdmin * This,
  129. /* [string][unique][in] */ LPCWSTR szMDPath,
  130. /* [in] */ BOOL fInProc);
  131. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppDelete )(
  132. IWamAdmin * This,
  133. /* [string][unique][in] */ LPCWSTR szMDPath,
  134. /* [in] */ BOOL fRecursive);
  135. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppUnLoad )(
  136. IWamAdmin * This,
  137. /* [string][unique][in] */ LPCWSTR szMDPath,
  138. /* [in] */ BOOL fRecursive);
  139. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppGetStatus )(
  140. IWamAdmin * This,
  141. /* [string][unique][in] */ LPCWSTR szMDPath,
  142. /* [out] */ DWORD *pdwAppStatus);
  143. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppDeleteRecoverable )(
  144. IWamAdmin * This,
  145. /* [string][unique][in] */ LPCWSTR szMDPath,
  146. /* [in] */ BOOL fRecursive);
  147. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppRecover )(
  148. IWamAdmin * This,
  149. /* [string][unique][in] */ LPCWSTR szMDPath,
  150. /* [in] */ BOOL fRecursive);
  151. END_INTERFACE
  152. } IWamAdminVtbl;
  153. interface IWamAdmin
  154. {
  155. CONST_VTBL struct IWamAdminVtbl *lpVtbl;
  156. };
  157. #ifdef COBJMACROS
  158. #define IWamAdmin_QueryInterface(This,riid,ppvObject) \
  159. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  160. #define IWamAdmin_AddRef(This) \
  161. (This)->lpVtbl -> AddRef(This)
  162. #define IWamAdmin_Release(This) \
  163. (This)->lpVtbl -> Release(This)
  164. #define IWamAdmin_AppCreate(This,szMDPath,fInProc) \
  165. (This)->lpVtbl -> AppCreate(This,szMDPath,fInProc)
  166. #define IWamAdmin_AppDelete(This,szMDPath,fRecursive) \
  167. (This)->lpVtbl -> AppDelete(This,szMDPath,fRecursive)
  168. #define IWamAdmin_AppUnLoad(This,szMDPath,fRecursive) \
  169. (This)->lpVtbl -> AppUnLoad(This,szMDPath,fRecursive)
  170. #define IWamAdmin_AppGetStatus(This,szMDPath,pdwAppStatus) \
  171. (This)->lpVtbl -> AppGetStatus(This,szMDPath,pdwAppStatus)
  172. #define IWamAdmin_AppDeleteRecoverable(This,szMDPath,fRecursive) \
  173. (This)->lpVtbl -> AppDeleteRecoverable(This,szMDPath,fRecursive)
  174. #define IWamAdmin_AppRecover(This,szMDPath,fRecursive) \
  175. (This)->lpVtbl -> AppRecover(This,szMDPath,fRecursive)
  176. #endif /* COBJMACROS */
  177. #endif /* C style interface */
  178. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWamAdmin_AppCreate_Proxy(
  179. IWamAdmin * This,
  180. /* [string][unique][in] */ LPCWSTR szMDPath,
  181. /* [in] */ BOOL fInProc);
  182. void __RPC_STUB IWamAdmin_AppCreate_Stub(
  183. IRpcStubBuffer *This,
  184. IRpcChannelBuffer *_pRpcChannelBuffer,
  185. PRPC_MESSAGE _pRpcMessage,
  186. DWORD *_pdwStubPhase);
  187. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWamAdmin_AppDelete_Proxy(
  188. IWamAdmin * This,
  189. /* [string][unique][in] */ LPCWSTR szMDPath,
  190. /* [in] */ BOOL fRecursive);
  191. void __RPC_STUB IWamAdmin_AppDelete_Stub(
  192. IRpcStubBuffer *This,
  193. IRpcChannelBuffer *_pRpcChannelBuffer,
  194. PRPC_MESSAGE _pRpcMessage,
  195. DWORD *_pdwStubPhase);
  196. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWamAdmin_AppUnLoad_Proxy(
  197. IWamAdmin * This,
  198. /* [string][unique][in] */ LPCWSTR szMDPath,
  199. /* [in] */ BOOL fRecursive);
  200. void __RPC_STUB IWamAdmin_AppUnLoad_Stub(
  201. IRpcStubBuffer *This,
  202. IRpcChannelBuffer *_pRpcChannelBuffer,
  203. PRPC_MESSAGE _pRpcMessage,
  204. DWORD *_pdwStubPhase);
  205. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWamAdmin_AppGetStatus_Proxy(
  206. IWamAdmin * This,
  207. /* [string][unique][in] */ LPCWSTR szMDPath,
  208. /* [out] */ DWORD *pdwAppStatus);
  209. void __RPC_STUB IWamAdmin_AppGetStatus_Stub(
  210. IRpcStubBuffer *This,
  211. IRpcChannelBuffer *_pRpcChannelBuffer,
  212. PRPC_MESSAGE _pRpcMessage,
  213. DWORD *_pdwStubPhase);
  214. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWamAdmin_AppDeleteRecoverable_Proxy(
  215. IWamAdmin * This,
  216. /* [string][unique][in] */ LPCWSTR szMDPath,
  217. /* [in] */ BOOL fRecursive);
  218. void __RPC_STUB IWamAdmin_AppDeleteRecoverable_Stub(
  219. IRpcStubBuffer *This,
  220. IRpcChannelBuffer *_pRpcChannelBuffer,
  221. PRPC_MESSAGE _pRpcMessage,
  222. DWORD *_pdwStubPhase);
  223. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWamAdmin_AppRecover_Proxy(
  224. IWamAdmin * This,
  225. /* [string][unique][in] */ LPCWSTR szMDPath,
  226. /* [in] */ BOOL fRecursive);
  227. void __RPC_STUB IWamAdmin_AppRecover_Stub(
  228. IRpcStubBuffer *This,
  229. IRpcChannelBuffer *_pRpcChannelBuffer,
  230. PRPC_MESSAGE _pRpcMessage,
  231. DWORD *_pdwStubPhase);
  232. #endif /* __IWamAdmin_INTERFACE_DEFINED__ */
  233. #ifndef __IWamAdmin2_INTERFACE_DEFINED__
  234. #define __IWamAdmin2_INTERFACE_DEFINED__
  235. /* interface IWamAdmin2 */
  236. /* [object][unique][helpstring][uuid] */
  237. EXTERN_C const IID IID_IWamAdmin2;
  238. #if defined(__cplusplus) && !defined(CINTERFACE)
  239. MIDL_INTERFACE("29822AB8-F302-11D0-9953-00C04FD919C1")
  240. IWamAdmin2 : public IWamAdmin
  241. {
  242. public:
  243. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AppCreate2(
  244. /* [string][unique][in] */ LPCWSTR szMDPath,
  245. /* [in] */ DWORD dwAppMode) = 0;
  246. };
  247. #else /* C style interface */
  248. typedef struct IWamAdmin2Vtbl
  249. {
  250. BEGIN_INTERFACE
  251. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  252. IWamAdmin2 * This,
  253. /* [in] */ REFIID riid,
  254. /* [iid_is][out] */ void **ppvObject);
  255. ULONG ( STDMETHODCALLTYPE *AddRef )(
  256. IWamAdmin2 * This);
  257. ULONG ( STDMETHODCALLTYPE *Release )(
  258. IWamAdmin2 * This);
  259. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppCreate )(
  260. IWamAdmin2 * This,
  261. /* [string][unique][in] */ LPCWSTR szMDPath,
  262. /* [in] */ BOOL fInProc);
  263. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppDelete )(
  264. IWamAdmin2 * This,
  265. /* [string][unique][in] */ LPCWSTR szMDPath,
  266. /* [in] */ BOOL fRecursive);
  267. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppUnLoad )(
  268. IWamAdmin2 * This,
  269. /* [string][unique][in] */ LPCWSTR szMDPath,
  270. /* [in] */ BOOL fRecursive);
  271. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppGetStatus )(
  272. IWamAdmin2 * This,
  273. /* [string][unique][in] */ LPCWSTR szMDPath,
  274. /* [out] */ DWORD *pdwAppStatus);
  275. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppDeleteRecoverable )(
  276. IWamAdmin2 * This,
  277. /* [string][unique][in] */ LPCWSTR szMDPath,
  278. /* [in] */ BOOL fRecursive);
  279. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppRecover )(
  280. IWamAdmin2 * This,
  281. /* [string][unique][in] */ LPCWSTR szMDPath,
  282. /* [in] */ BOOL fRecursive);
  283. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppCreate2 )(
  284. IWamAdmin2 * This,
  285. /* [string][unique][in] */ LPCWSTR szMDPath,
  286. /* [in] */ DWORD dwAppMode);
  287. END_INTERFACE
  288. } IWamAdmin2Vtbl;
  289. interface IWamAdmin2
  290. {
  291. CONST_VTBL struct IWamAdmin2Vtbl *lpVtbl;
  292. };
  293. #ifdef COBJMACROS
  294. #define IWamAdmin2_QueryInterface(This,riid,ppvObject) \
  295. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  296. #define IWamAdmin2_AddRef(This) \
  297. (This)->lpVtbl -> AddRef(This)
  298. #define IWamAdmin2_Release(This) \
  299. (This)->lpVtbl -> Release(This)
  300. #define IWamAdmin2_AppCreate(This,szMDPath,fInProc) \
  301. (This)->lpVtbl -> AppCreate(This,szMDPath,fInProc)
  302. #define IWamAdmin2_AppDelete(This,szMDPath,fRecursive) \
  303. (This)->lpVtbl -> AppDelete(This,szMDPath,fRecursive)
  304. #define IWamAdmin2_AppUnLoad(This,szMDPath,fRecursive) \
  305. (This)->lpVtbl -> AppUnLoad(This,szMDPath,fRecursive)
  306. #define IWamAdmin2_AppGetStatus(This,szMDPath,pdwAppStatus) \
  307. (This)->lpVtbl -> AppGetStatus(This,szMDPath,pdwAppStatus)
  308. #define IWamAdmin2_AppDeleteRecoverable(This,szMDPath,fRecursive) \
  309. (This)->lpVtbl -> AppDeleteRecoverable(This,szMDPath,fRecursive)
  310. #define IWamAdmin2_AppRecover(This,szMDPath,fRecursive) \
  311. (This)->lpVtbl -> AppRecover(This,szMDPath,fRecursive)
  312. #define IWamAdmin2_AppCreate2(This,szMDPath,dwAppMode) \
  313. (This)->lpVtbl -> AppCreate2(This,szMDPath,dwAppMode)
  314. #endif /* COBJMACROS */
  315. #endif /* C style interface */
  316. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWamAdmin2_AppCreate2_Proxy(
  317. IWamAdmin2 * This,
  318. /* [string][unique][in] */ LPCWSTR szMDPath,
  319. /* [in] */ DWORD dwAppMode);
  320. void __RPC_STUB IWamAdmin2_AppCreate2_Stub(
  321. IRpcStubBuffer *This,
  322. IRpcChannelBuffer *_pRpcChannelBuffer,
  323. PRPC_MESSAGE _pRpcMessage,
  324. DWORD *_pdwStubPhase);
  325. #endif /* __IWamAdmin2_INTERFACE_DEFINED__ */
  326. #ifndef __IIISApplicationAdmin_INTERFACE_DEFINED__
  327. #define __IIISApplicationAdmin_INTERFACE_DEFINED__
  328. /* interface IIISApplicationAdmin */
  329. /* [object][unique][helpstring][uuid] */
  330. EXTERN_C const IID IID_IIISApplicationAdmin;
  331. #if defined(__cplusplus) && !defined(CINTERFACE)
  332. MIDL_INTERFACE("7C4E1804-E342-483D-A43E-A850CFCC8D18")
  333. IIISApplicationAdmin : public IUnknown
  334. {
  335. public:
  336. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateApplication(
  337. /* [string][unique][in] */ LPCWSTR szMDPath,
  338. /* [in] */ DWORD dwAppMode,
  339. /* [string][unique][in] */ LPCWSTR szAppPoolId,
  340. /* [in] */ BOOL fCreatePool) = 0;
  341. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteApplication(
  342. /* [string][unique][in] */ LPCWSTR szMDPath,
  343. /* [in] */ BOOL fRecursive) = 0;
  344. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateApplicationPool(
  345. /* [string][unique][in] */ LPCWSTR szPool) = 0;
  346. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteApplicationPool(
  347. /* [string][unique][in] */ LPCWSTR szPool) = 0;
  348. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnumerateApplicationsInPool(
  349. /* [string][unique][in] */ LPCWSTR szPool,
  350. /* [out] */ BSTR *bstrBuffer) = 0;
  351. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RecycleApplicationPool(
  352. /* [string][unique][in] */ LPCWSTR szPool) = 0;
  353. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetProcessMode(
  354. /* [out] */ DWORD *pdwMode) = 0;
  355. };
  356. #else /* C style interface */
  357. typedef struct IIISApplicationAdminVtbl
  358. {
  359. BEGIN_INTERFACE
  360. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  361. IIISApplicationAdmin * This,
  362. /* [in] */ REFIID riid,
  363. /* [iid_is][out] */ void **ppvObject);
  364. ULONG ( STDMETHODCALLTYPE *AddRef )(
  365. IIISApplicationAdmin * This);
  366. ULONG ( STDMETHODCALLTYPE *Release )(
  367. IIISApplicationAdmin * This);
  368. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateApplication )(
  369. IIISApplicationAdmin * This,
  370. /* [string][unique][in] */ LPCWSTR szMDPath,
  371. /* [in] */ DWORD dwAppMode,
  372. /* [string][unique][in] */ LPCWSTR szAppPoolId,
  373. /* [in] */ BOOL fCreatePool);
  374. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteApplication )(
  375. IIISApplicationAdmin * This,
  376. /* [string][unique][in] */ LPCWSTR szMDPath,
  377. /* [in] */ BOOL fRecursive);
  378. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateApplicationPool )(
  379. IIISApplicationAdmin * This,
  380. /* [string][unique][in] */ LPCWSTR szPool);
  381. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteApplicationPool )(
  382. IIISApplicationAdmin * This,
  383. /* [string][unique][in] */ LPCWSTR szPool);
  384. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumerateApplicationsInPool )(
  385. IIISApplicationAdmin * This,
  386. /* [string][unique][in] */ LPCWSTR szPool,
  387. /* [out] */ BSTR *bstrBuffer);
  388. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RecycleApplicationPool )(
  389. IIISApplicationAdmin * This,
  390. /* [string][unique][in] */ LPCWSTR szPool);
  391. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetProcessMode )(
  392. IIISApplicationAdmin * This,
  393. /* [out] */ DWORD *pdwMode);
  394. END_INTERFACE
  395. } IIISApplicationAdminVtbl;
  396. interface IIISApplicationAdmin
  397. {
  398. CONST_VTBL struct IIISApplicationAdminVtbl *lpVtbl;
  399. };
  400. #ifdef COBJMACROS
  401. #define IIISApplicationAdmin_QueryInterface(This,riid,ppvObject) \
  402. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  403. #define IIISApplicationAdmin_AddRef(This) \
  404. (This)->lpVtbl -> AddRef(This)
  405. #define IIISApplicationAdmin_Release(This) \
  406. (This)->lpVtbl -> Release(This)
  407. #define IIISApplicationAdmin_CreateApplication(This,szMDPath,dwAppMode,szAppPoolId,fCreatePool) \
  408. (This)->lpVtbl -> CreateApplication(This,szMDPath,dwAppMode,szAppPoolId,fCreatePool)
  409. #define IIISApplicationAdmin_DeleteApplication(This,szMDPath,fRecursive) \
  410. (This)->lpVtbl -> DeleteApplication(This,szMDPath,fRecursive)
  411. #define IIISApplicationAdmin_CreateApplicationPool(This,szPool) \
  412. (This)->lpVtbl -> CreateApplicationPool(This,szPool)
  413. #define IIISApplicationAdmin_DeleteApplicationPool(This,szPool) \
  414. (This)->lpVtbl -> DeleteApplicationPool(This,szPool)
  415. #define IIISApplicationAdmin_EnumerateApplicationsInPool(This,szPool,bstrBuffer) \
  416. (This)->lpVtbl -> EnumerateApplicationsInPool(This,szPool,bstrBuffer)
  417. #define IIISApplicationAdmin_RecycleApplicationPool(This,szPool) \
  418. (This)->lpVtbl -> RecycleApplicationPool(This,szPool)
  419. #define IIISApplicationAdmin_GetProcessMode(This,pdwMode) \
  420. (This)->lpVtbl -> GetProcessMode(This,pdwMode)
  421. #endif /* COBJMACROS */
  422. #endif /* C style interface */
  423. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IIISApplicationAdmin_CreateApplication_Proxy(
  424. IIISApplicationAdmin * This,
  425. /* [string][unique][in] */ LPCWSTR szMDPath,
  426. /* [in] */ DWORD dwAppMode,
  427. /* [string][unique][in] */ LPCWSTR szAppPoolId,
  428. /* [in] */ BOOL fCreatePool);
  429. void __RPC_STUB IIISApplicationAdmin_CreateApplication_Stub(
  430. IRpcStubBuffer *This,
  431. IRpcChannelBuffer *_pRpcChannelBuffer,
  432. PRPC_MESSAGE _pRpcMessage,
  433. DWORD *_pdwStubPhase);
  434. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IIISApplicationAdmin_DeleteApplication_Proxy(
  435. IIISApplicationAdmin * This,
  436. /* [string][unique][in] */ LPCWSTR szMDPath,
  437. /* [in] */ BOOL fRecursive);
  438. void __RPC_STUB IIISApplicationAdmin_DeleteApplication_Stub(
  439. IRpcStubBuffer *This,
  440. IRpcChannelBuffer *_pRpcChannelBuffer,
  441. PRPC_MESSAGE _pRpcMessage,
  442. DWORD *_pdwStubPhase);
  443. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IIISApplicationAdmin_CreateApplicationPool_Proxy(
  444. IIISApplicationAdmin * This,
  445. /* [string][unique][in] */ LPCWSTR szPool);
  446. void __RPC_STUB IIISApplicationAdmin_CreateApplicationPool_Stub(
  447. IRpcStubBuffer *This,
  448. IRpcChannelBuffer *_pRpcChannelBuffer,
  449. PRPC_MESSAGE _pRpcMessage,
  450. DWORD *_pdwStubPhase);
  451. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IIISApplicationAdmin_DeleteApplicationPool_Proxy(
  452. IIISApplicationAdmin * This,
  453. /* [string][unique][in] */ LPCWSTR szPool);
  454. void __RPC_STUB IIISApplicationAdmin_DeleteApplicationPool_Stub(
  455. IRpcStubBuffer *This,
  456. IRpcChannelBuffer *_pRpcChannelBuffer,
  457. PRPC_MESSAGE _pRpcMessage,
  458. DWORD *_pdwStubPhase);
  459. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IIISApplicationAdmin_EnumerateApplicationsInPool_Proxy(
  460. IIISApplicationAdmin * This,
  461. /* [string][unique][in] */ LPCWSTR szPool,
  462. /* [out] */ BSTR *bstrBuffer);
  463. void __RPC_STUB IIISApplicationAdmin_EnumerateApplicationsInPool_Stub(
  464. IRpcStubBuffer *This,
  465. IRpcChannelBuffer *_pRpcChannelBuffer,
  466. PRPC_MESSAGE _pRpcMessage,
  467. DWORD *_pdwStubPhase);
  468. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IIISApplicationAdmin_RecycleApplicationPool_Proxy(
  469. IIISApplicationAdmin * This,
  470. /* [string][unique][in] */ LPCWSTR szPool);
  471. void __RPC_STUB IIISApplicationAdmin_RecycleApplicationPool_Stub(
  472. IRpcStubBuffer *This,
  473. IRpcChannelBuffer *_pRpcChannelBuffer,
  474. PRPC_MESSAGE _pRpcMessage,
  475. DWORD *_pdwStubPhase);
  476. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IIISApplicationAdmin_GetProcessMode_Proxy(
  477. IIISApplicationAdmin * This,
  478. /* [out] */ DWORD *pdwMode);
  479. void __RPC_STUB IIISApplicationAdmin_GetProcessMode_Stub(
  480. IRpcStubBuffer *This,
  481. IRpcChannelBuffer *_pRpcChannelBuffer,
  482. PRPC_MESSAGE _pRpcMessage,
  483. DWORD *_pdwStubPhase);
  484. #endif /* __IIISApplicationAdmin_INTERFACE_DEFINED__ */
  485. #ifndef __WAMREGLib_LIBRARY_DEFINED__
  486. #define __WAMREGLib_LIBRARY_DEFINED__
  487. /* library WAMREGLib */
  488. /* [helpstring][version][uuid] */
  489. EXTERN_C const IID LIBID_WAMREGLib;
  490. EXTERN_C const CLSID CLSID_WamAdmin;
  491. #ifdef __cplusplus
  492. class DECLSPEC_UUID("61738644-F196-11D0-9953-00C04FD919C1")
  493. WamAdmin;
  494. #endif
  495. #endif /* __WAMREGLib_LIBRARY_DEFINED__ */
  496. /* Additional Prototypes for ALL interfaces */
  497. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  498. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  499. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  500. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  501. /* end of Additional Prototypes */
  502. #ifdef __cplusplus
  503. }
  504. #endif
  505. #endif