| 1 | /** | 
 
 
 
 
 | 2 | * This file has no copyright assigned and is placed in the Public Domain. | 
 
 
 
 
 | 3 | * This file is part of the mingw-w64 runtime package. | 
 
 
 
 
 | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 
 
 
 
 
 | 5 | */ | 
 
 
 
 
 | 6 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 
 
 
 
 
 | 7 | #define __REQUIRED_RPCNDR_H_VERSION__ 475 | 
 
 
 
 
 | 8 | #endif | 
 
 
 
 
 | 9 |  | 
 
 
 
 
 | 10 | #include "rpc.h" | 
 
 
 
 
 | 11 | #include "rpcndr.h" | 
 
 
 
 
 | 12 |  | 
 
 
 
 
 | 13 | #ifndef __RPCNDR_H_VERSION__ | 
 
 
 
 
 | 14 | #error This stub requires an updated version of <rpcndr.h> | 
 
 
 
 
 | 15 | #endif | 
 
 
 
 
 | 16 |  | 
 
 
 
 
 | 17 | #ifndef COM_NO_WINDOWS_H | 
 
 
 
 
 | 18 | #include "windows.h" | 
 
 
 
 
 | 19 | #include "ole2.h" | 
 
 
 
 
 | 20 | #endif | 
 
 
 
 
 | 21 |  | 
 
 
 
 
 | 22 | #ifndef __iisrsta_h__ | 
 
 
 
 
 | 23 | #define __iisrsta_h__ | 
 
 
 
 
 | 24 |  | 
 
 
 
 
 | 25 | #ifndef __IIisServiceControl_FWD_DEFINED__ | 
 
 
 
 
 | 26 | #define __IIisServiceControl_FWD_DEFINED__ | 
 
 
 
 
 | 27 | typedef struct IIisServiceControl IIisServiceControl; | 
 
 
 
 
 | 28 | #endif | 
 
 
 
 
 | 29 |  | 
 
 
 
 
 | 30 | #ifndef __IisServiceControl_FWD_DEFINED__ | 
 
 
 
 
 | 31 | #define __IisServiceControl_FWD_DEFINED__ | 
 
 
 
 
 | 32 | #ifdef __cplusplus | 
 
 
 
 
 | 33 | typedef class IisServiceControl IisServiceControl; | 
 
 
 
 
 | 34 | #else | 
 
 
 
 
 | 35 | typedef struct IisServiceControl IisServiceControl; | 
 
 
 
 
 | 36 | #endif | 
 
 
 
 
 | 37 | #endif | 
 
 
 
 
 | 38 |  | 
 
 
 
 
 | 39 | #include "oaidl.h" | 
 
 
 
 
 | 40 | #include "ocidl.h" | 
 
 
 
 
 | 41 |  | 
 
 
 
 
 | 42 | #ifdef __cplusplus | 
 
 
 
 
 | 43 | extern "C"{ | 
 
 
 
 
 | 44 | #endif | 
 
 
 
 
 | 45 |  | 
 
 
 
 
 | 46 | #ifndef __MIDL_user_allocate_free_DEFINED__ | 
 
 
 
 
 | 47 | #define __MIDL_user_allocate_free_DEFINED__ | 
 
 
 
 
 | 48 | void *__RPC_API MIDL_user_allocate(size_t); | 
 
 
 
 
 | 49 | void __RPC_API MIDL_user_free(void *); | 
 
 
 
 
 | 50 | #endif | 
 
 
 
 
 | 51 |  | 
 
 
 
 
 | 52 | DEFINE_GUID(IID_IIisServiceControl,0xE8FB8620,0x588F,0x11d2,0x9d,0x61,0x0,0xc0,0x4f,0x79,0xc5,0xfe); | 
 
 
 
 
 | 53 | DEFINE_GUID(CLSID_IisServiceControl,0xE8FB8621,0x588F,0x11d2,0x9d,0x61,0x0,0xc0,0x4f,0x79,0xc5,0xfe); | 
 
 
 
 
 | 54 | DEFINE_GUID(LIBID_IISRSTALib,0xE8FB8614,0x588F,0x11d2,0x9d,0x61,0x0,0xc0,0x4f,0x79,0xc5,0xfe); | 
 
 
 
 
 | 55 |  | 
 
 
 
 
 | 56 | extern RPC_IF_HANDLE __MIDL_itf_iisrsta_0000_v0_0_c_ifspec; | 
 
 
 
 
 | 57 | extern RPC_IF_HANDLE __MIDL_itf_iisrsta_0000_v0_0_s_ifspec; | 
 
 
 
 
 | 58 |  | 
 
 
 
 
 | 59 | #ifndef __IIisServiceControl_INTERFACE_DEFINED__ | 
 
 
 
 
 | 60 | #define __IIisServiceControl_INTERFACE_DEFINED__ | 
 
 
 
 
 | 61 | EXTERN_C const IID IID_IIisServiceControl; | 
 
 
 
 
 | 62 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 63 | struct IIisServiceControl : public IDispatch { | 
 
 
 
 
 | 64 | public: | 
 
 
 
 
 | 65 | virtual HRESULT WINAPI Stop(DWORD dwTimeoutMsecs,DWORD dwForce) = 0; | 
 
 
 
 
 | 66 | virtual HRESULT WINAPI Start(DWORD dwTimeoutMsecs) = 0; | 
 
 
 
 
 | 67 | virtual HRESULT WINAPI Reboot(DWORD dwTimeouMsecs,DWORD dwForceAppsClosed) = 0; | 
 
 
 
 
 | 68 | virtual HRESULT WINAPI Status(DWORD dwBufferSize,unsigned char *pbBuffer,DWORD *pdwMDRequiredBufferSize,DWORD *pdwNumServices) = 0; | 
 
 
 
 
 | 69 | virtual HRESULT WINAPI Kill(void) = 0; | 
 
 
 
 
 | 70 | }; | 
 
 
 
 
 | 71 | #else | 
 
 
 
 
 | 72 | typedef struct IIisServiceControlVtbl { | 
 
 
 
 
 | 73 | BEGIN_INTERFACE | 
 
 
 
 
 | 74 | HRESULT (WINAPI *QueryInterface)(IIisServiceControl *This,REFIID riid,void **ppvObject); | 
 
 
 
 
 | 75 | ULONG (WINAPI *AddRef)(IIisServiceControl *This); | 
 
 
 
 
 | 76 | ULONG (WINAPI *Release)(IIisServiceControl *This); | 
 
 
 
 
 | 77 | HRESULT (WINAPI *GetTypeInfoCount)(IIisServiceControl *This,UINT *pctinfo); | 
 
 
 
 
 | 78 | HRESULT (WINAPI *GetTypeInfo)(IIisServiceControl *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo); | 
 
 
 
 
 | 79 | HRESULT (WINAPI *GetIDsOfNames)(IIisServiceControl *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId); | 
 
 
 
 
 | 80 | HRESULT (WINAPI *Invoke)(IIisServiceControl *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr); | 
 
 
 
 
 | 81 | HRESULT (WINAPI *Stop)(IIisServiceControl *This,DWORD dwTimeoutMsecs,DWORD dwForce); | 
 
 
 
 
 | 82 | HRESULT (WINAPI *Start)(IIisServiceControl *This,DWORD dwTimeoutMsecs); | 
 
 
 
 
 | 83 | HRESULT (WINAPI *Reboot)(IIisServiceControl *This,DWORD dwTimeouMsecs,DWORD dwForceAppsClosed); | 
 
 
 
 
 | 84 | HRESULT (WINAPI *Status)(IIisServiceControl *This,DWORD dwBufferSize,unsigned char *pbBuffer,DWORD *pdwMDRequiredBufferSize,DWORD *pdwNumServices); | 
 
 
 
 
 | 85 | HRESULT (WINAPI *Kill)(IIisServiceControl *This); | 
 
 
 
 
 | 86 | END_INTERFACE | 
 
 
 
 
 | 87 | } IIisServiceControlVtbl; | 
 
 
 
 
 | 88 | struct IIisServiceControl { | 
 
 
 
 
 | 89 | CONST_VTBL struct IIisServiceControlVtbl *lpVtbl; | 
 
 
 
 
 | 90 | }; | 
 
 
 
 
 | 91 | #ifdef COBJMACROS | 
 
 
 
 
 | 92 | #define IIisServiceControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | 
 
 
 
 
 | 93 | #define IIisServiceControl_AddRef(This) (This)->lpVtbl->AddRef(This) | 
 
 
 
 
 | 94 | #define IIisServiceControl_Release(This) (This)->lpVtbl->Release(This) | 
 
 
 
 
 | 95 | #define IIisServiceControl_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) | 
 
 
 
 
 | 96 | #define IIisServiceControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) | 
 
 
 
 
 | 97 | #define IIisServiceControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) | 
 
 
 
 
 | 98 | #define IIisServiceControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) | 
 
 
 
 
 | 99 | #define IIisServiceControl_Stop(This,dwTimeoutMsecs,dwForce) (This)->lpVtbl->Stop(This,dwTimeoutMsecs,dwForce) | 
 
 
 
 
 | 100 | #define IIisServiceControl_Start(This,dwTimeoutMsecs) (This)->lpVtbl->Start(This,dwTimeoutMsecs) | 
 
 
 
 
 | 101 | #define IIisServiceControl_Reboot(This,dwTimeouMsecs,dwForceAppsClosed) (This)->lpVtbl->Reboot(This,dwTimeouMsecs,dwForceAppsClosed) | 
 
 
 
 
 | 102 | #define IIisServiceControl_Status(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize,pdwNumServices) (This)->lpVtbl->Status(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize,pdwNumServices) | 
 
 
 
 
 | 103 | #define IIisServiceControl_Kill(This) (This)->lpVtbl->Kill(This) | 
 
 
 
 
 | 104 | #endif | 
 
 
 
 
 | 105 | #endif | 
 
 
 
 
 | 106 | HRESULT WINAPI IIisServiceControl_Stop_Proxy(IIisServiceControl *This,DWORD dwTimeoutMsecs,DWORD dwForce); | 
 
 
 
 
 | 107 | void __RPC_STUB IIisServiceControl_Stop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); | 
 
 
 
 
 | 108 | HRESULT WINAPI IIisServiceControl_Start_Proxy(IIisServiceControl *This,DWORD dwTimeoutMsecs); | 
 
 
 
 
 | 109 | void __RPC_STUB IIisServiceControl_Start_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); | 
 
 
 
 
 | 110 | HRESULT WINAPI IIisServiceControl_Reboot_Proxy(IIisServiceControl *This,DWORD dwTimeouMsecs,DWORD dwForceAppsClosed); | 
 
 
 
 
 | 111 | void __RPC_STUB IIisServiceControl_Reboot_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); | 
 
 
 
 
 | 112 | HRESULT WINAPI IIisServiceControl_Status_Proxy(IIisServiceControl *This,DWORD dwBufferSize,unsigned char *pbBuffer,DWORD *pdwMDRequiredBufferSize,DWORD *pdwNumServices); | 
 
 
 
 
 | 113 | void __RPC_STUB IIisServiceControl_Status_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); | 
 
 
 
 
 | 114 | HRESULT WINAPI IIisServiceControl_Kill_Proxy(IIisServiceControl *This); | 
 
 
 
 
 | 115 | void __RPC_STUB IIisServiceControl_Kill_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); | 
 
 
 
 
 | 116 | #endif | 
 
 
 
 
 | 117 |  | 
 
 
 
 
 | 118 | #ifndef __IISRSTALib_LIBRARY_DEFINED__ | 
 
 
 
 
 | 119 | #define __IISRSTALib_LIBRARY_DEFINED__ | 
 
 
 
 
 | 120 | EXTERN_C const IID LIBID_IISRSTALib; | 
 
 
 
 
 | 121 | EXTERN_C const CLSID CLSID_IisServiceControl; | 
 
 
 
 
 | 122 | #ifdef __cplusplus | 
 
 
 
 
 | 123 | class IisServiceControl; | 
 
 
 
 
 | 124 | #endif | 
 
 
 
 
 | 125 | #endif | 
 
 
 
 
 | 126 |  | 
 
 
 
 
 | 127 | typedef struct { | 
 
 
 
 
 | 128 | DWORD iServiceName; | 
 
 
 
 
 | 129 | DWORD iDisplayName; | 
 
 
 
 
 | 130 | SERVICE_STATUS ServiceStatus; | 
 
 
 
 
 | 131 | } SERIALIZED_ENUM_SERVICE_STATUS; | 
 
 
 
 
 | 132 |  | 
 
 
 
 
 | 133 | extern RPC_IF_HANDLE __MIDL_itf_iisrsta_0262_v0_0_c_ifspec; | 
 
 
 
 
 | 134 | extern RPC_IF_HANDLE __MIDL_itf_iisrsta_0262_v0_0_s_ifspec; | 
 
 
 
 
 | 135 |  | 
 
 
 
 
 | 136 | #ifdef __cplusplus | 
 
 
 
 
 | 137 | } | 
 
 
 
 
 | 138 | #endif | 
 
 
 
 
 | 139 | #endif |