Iwamreg.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:23k
源码类别:

模拟服务器

开发平台:

C/C++

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