|
|
|
1 |
|
|
2 |
|
|
3 |
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
4 |
|
|
5 |
|
|
6 |
|
/* File created by MIDL compiler version 7.00.0499 */ |
7 |
|
/* Compiler settings for iisrsta.idl: |
8 |
|
Oicf, W1, Zp8, env=Win32 (32b run) |
9 |
|
protocol : dce , ms_ext, c_ext, robust |
10 |
|
error checks: allocation ref bounds_check enum stub_data |
11 |
|
VC __declspec() decoration level: |
12 |
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable) |
13 |
|
DECLSPEC_UUID(), MIDL_INTERFACE() |
14 |
|
*/ |
15 |
|
//@@MIDL_FILE_HEADING( ) |
16 |
|
|
17 |
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */ |
18 |
|
|
19 |
|
|
20 |
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/ |
21 |
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__ |
22 |
|
#define __REQUIRED_RPCNDR_H_VERSION__ 500 |
23 |
|
#endif |
24 |
|
|
25 |
|
/* verify that the <rpcsal.h> version is high enough to compile this file*/ |
26 |
|
#ifndef __REQUIRED_RPCSAL_H_VERSION__ |
27 |
|
#define __REQUIRED_RPCSAL_H_VERSION__ 100 |
28 |
|
#endif |
29 |
|
|
30 |
|
#include "rpc.h" |
31 |
|
#include "rpcndr.h" |
32 |
|
|
33 |
|
#ifndef __RPCNDR_H_VERSION__ |
34 |
|
#error this stub requires an updated version of <rpcndr.h> |
35 |
|
#endif // __RPCNDR_H_VERSION__ |
36 |
|
|
37 |
|
#ifndef COM_NO_WINDOWS_H |
38 |
|
#include "windows.h" |
39 |
|
#include "ole2.h" |
40 |
|
#endif /*COM_NO_WINDOWS_H*/ |
41 |
|
|
42 |
|
#ifndef __iisrsta_h__ |
43 |
|
#define __iisrsta_h__ |
44 |
|
|
45 |
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020) |
46 |
|
#pragma once |
47 |
|
#endif |
48 |
|
|
49 |
|
/* Forward Declarations */ |
50 |
|
|
51 |
|
#ifndef __IIisServiceControl_FWD_DEFINED__ |
52 |
|
#define __IIisServiceControl_FWD_DEFINED__ |
53 |
|
typedef interface IIisServiceControl IIisServiceControl; |
54 |
|
#endif /* __IIisServiceControl_FWD_DEFINED__ */ |
55 |
|
|
56 |
|
|
57 |
|
#ifndef __IisServiceControl_FWD_DEFINED__ |
58 |
|
#define __IisServiceControl_FWD_DEFINED__ |
59 |
|
|
60 |
|
#ifdef __cplusplus |
61 |
|
typedef class IisServiceControl IisServiceControl; |
62 |
|
#else |
63 |
|
typedef struct IisServiceControl IisServiceControl; |
64 |
|
#endif /* __cplusplus */ |
65 |
|
|
66 |
|
#endif /* __IisServiceControl_FWD_DEFINED__ */ |
67 |
|
|
68 |
|
|
69 |
|
/* header files for imported files */ |
70 |
|
#include "oaidl.h" |
71 |
|
#include "ocidl.h" |
72 |
|
|
73 |
|
#ifdef __cplusplus |
74 |
|
extern "C"{ |
75 |
|
#endif |
76 |
|
|
77 |
|
|
78 |
|
/* interface __MIDL_itf_iisrsta_0000_0000 */ |
79 |
|
/* [local] */ |
80 |
|
|
81 |
|
DEFINE_GUID(IID_IIisServiceControl, 0xE8FB8620, 0x588F, 0x11d2, 0x9d, 0x61, 0x0,0xc0, 0x4f, 0x79, 0xc5, 0xfe); |
82 |
|
DEFINE_GUID(CLSID_IisServiceControl, 0xE8FB8621, 0x588F, 0x11d2, 0x9d, 0x61, 0x0,0xc0, 0x4f, 0x79, 0xc5, 0xfe); |
83 |
|
DEFINE_GUID(LIBID_IISRSTALib, 0xE8FB8614, 0x588F, 0x11d2, 0x9d, 0x61, 0x0,0xc0, 0x4f, 0x79, 0xc5, 0xfe); |
84 |
|
|
85 |
|
|
86 |
|
extern RPC_IF_HANDLE __MIDL_itf_iisrsta_0000_0000_v0_0_c_ifspec; |
87 |
|
extern RPC_IF_HANDLE __MIDL_itf_iisrsta_0000_0000_v0_0_s_ifspec; |
88 |
|
|
89 |
|
#ifndef __IIisServiceControl_INTERFACE_DEFINED__ |
90 |
|
#define __IIisServiceControl_INTERFACE_DEFINED__ |
91 |
|
|
92 |
|
/* interface IIisServiceControl */ |
93 |
|
/* [unique][helpstring][dual][uuid][object] */ |
94 |
|
|
95 |
|
|
96 |
|
EXTERN_C const IID IID_IIisServiceControl; |
97 |
|
|
98 |
|
#if defined(__cplusplus) && !defined(CINTERFACE) |
99 |
|
|
100 |
|
MIDL_INTERFACE("E8FB8620-588F-11D2-9D61-00C04F79C5FE") |
101 |
|
IIisServiceControl : public IDispatch |
102 |
|
{ |
103 |
|
public: |
104 |
|
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Stop( |
105 |
|
DWORD dwTimeoutMsecs, |
106 |
|
DWORD dwForce) = 0; |
107 |
|
|
108 |
|
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Start( |
109 |
|
DWORD dwTimeoutMsecs) = 0; |
110 |
|
|
111 |
|
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Reboot( |
112 |
|
DWORD dwTimeouMsecs, |
113 |
|
DWORD dwForceAppsClosed) = 0; |
114 |
|
|
115 |
|
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Status( |
116 |
|
/* [in] */ DWORD dwBufferSize, |
117 |
|
/* [size_is][out] */ __RPC__out_ecount_full(dwBufferSize) unsigned char *pbBuffer, |
118 |
|
/* [out] */ __RPC__out DWORD *pdwMDRequiredBufferSize, |
119 |
|
/* [out] */ __RPC__out DWORD *pdwNumServices) = 0; |
120 |
|
|
121 |
|
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Kill( void) = 0; |
122 |
|
|
123 |
|
}; |
124 |
|
|
125 |
|
#else /* C style interface */ |
126 |
|
|
127 |
|
typedef struct IIisServiceControlVtbl |
128 |
|
{ |
129 |
|
BEGIN_INTERFACE |
130 |
|
|
131 |
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
132 |
|
IIisServiceControl * This, |
133 |
|
/* [in] */ __RPC__in REFIID riid, |
134 |
|
/* [iid_is][out] */ |
135 |
|
__RPC__deref_out void **ppvObject); |
136 |
|
|
137 |
|
ULONG ( STDMETHODCALLTYPE *AddRef )( |
138 |
|
IIisServiceControl * This); |
139 |
|
|
140 |
|
ULONG ( STDMETHODCALLTYPE *Release )( |
141 |
|
IIisServiceControl * This); |
142 |
|
|
143 |
|
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( |
144 |
|
IIisServiceControl * This, |
145 |
|
/* [out] */ __RPC__out UINT *pctinfo); |
146 |
|
|
147 |
|
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( |
148 |
|
IIisServiceControl * This, |
149 |
|
/* [in] */ UINT iTInfo, |
150 |
|
/* [in] */ LCID lcid, |
151 |
|
/* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); |
152 |
|
|
153 |
|
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( |
154 |
|
IIisServiceControl * This, |
155 |
|
/* [in] */ __RPC__in REFIID riid, |
156 |
|
/* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, |
157 |
|
/* [range][in] */ UINT cNames, |
168 |
|
/* [out] */ VARIANT *pVarResult, |
169 |
|
/* [out] */ EXCEPINFO *pExcepInfo, |
170 |
|
/* [out] */ UINT *puArgErr); |
171 |
|
|
172 |
|
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Stop )( |
173 |
|
IIisServiceControl * This, |
174 |
|
DWORD dwTimeoutMsecs, |
175 |
|
DWORD dwForce); |
176 |
|
|
177 |
|
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Start )( |
178 |
|
IIisServiceControl * This, |
179 |
|
DWORD dwTimeoutMsecs); |
180 |
|
|
181 |
|
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Reboot )( |
182 |
|
IIisServiceControl * This, |
183 |
|
DWORD dwTimeouMsecs, |
184 |
|
DWORD dwForceAppsClosed); |
185 |
|
|
186 |
|
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Status )( |
187 |
|
IIisServiceControl * This, |
188 |
|
/* [in] */ DWORD dwBufferSize, |
189 |
|
/* [size_is][out] */ __RPC__out_ecount_full(dwBufferSize) unsigned char *pbBuffer, |
190 |
|
/* [out] */ __RPC__out DWORD *pdwMDRequiredBufferSize, |
191 |
|
/* [out] */ __RPC__out DWORD *pdwNumServices); |
192 |
|
|
193 |
|
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Kill )( |
194 |
|
IIisServiceControl * This); |
195 |
|
|
196 |
|
END_INTERFACE |
197 |
|
} IIisServiceControlVtbl; |
198 |
|
|
199 |
|
interface IIisServiceControl |
200 |
|
{ |
201 |
|
CONST_VTBL struct IIisServiceControlVtbl *lpVtbl; |
202 |
|
}; |
203 |
|
|
204 |
|
|
205 |
|
|
206 |
|
#ifdef COBJMACROS |
207 |
|
|
208 |
|
|
209 |
|
#define IIisServiceControl_QueryInterface(This,riid,ppvObject) \ |
210 |
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
211 |
|
|
212 |
|
#define IIisServiceControl_AddRef(This) \ |
213 |
|
( (This)->lpVtbl -> AddRef(This) ) |
214 |
|
|
215 |
|
#define IIisServiceControl_Release(This) \ |
216 |
|
( (This)->lpVtbl -> Release(This) ) |
217 |
|
|
218 |
|
|
219 |
|
#define IIisServiceControl_GetTypeInfoCount(This,pctinfo) \ |
220 |
|
( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) |
221 |
|
|
222 |
|
#define IIisServiceControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ |
223 |
|
( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) |
224 |
|
|
225 |
|
#define IIisServiceControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ |
226 |
|
( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) |
227 |
|
|
228 |
|
#define IIisServiceControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ |
229 |
|
( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) |
230 |
|
|
231 |
|
|
232 |
|
#define IIisServiceControl_Stop(This,dwTimeoutMsecs,dwForce) \ |
233 |
|
( (This)->lpVtbl -> Stop(This,dwTimeoutMsecs,dwForce) ) |
234 |
|
|
235 |
|
#define IIisServiceControl_Start(This,dwTimeoutMsecs) \ |
236 |
|
( (This)->lpVtbl -> Start(This,dwTimeoutMsecs) ) |
237 |
|
|
238 |
|
#define IIisServiceControl_Reboot(This,dwTimeouMsecs,dwForceAppsClosed) \ |
239 |
|
( (This)->lpVtbl -> Reboot(This,dwTimeouMsecs,dwForceAppsClosed) ) |
240 |
|
|
241 |
|
#define IIisServiceControl_Status(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize,pdwNumServices) \ |
242 |
|
( (This)->lpVtbl -> Status(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize,pdwNumServices) ) |
243 |
|
|
244 |
|
#define IIisServiceControl_Kill(This) \ |
245 |
|
( (This)->lpVtbl -> Kill(This) ) |
246 |
|
|
247 |
|
#endif /* COBJMACROS */ |
248 |
|
|
249 |
|
|
250 |
|
#endif /* C style interface */ |
251 |
|
|
252 |
|
|
253 |
|
|
254 |
|
|
255 |
|
#endif /* __IIisServiceControl_INTERFACE_DEFINED__ */ |
256 |
|
|
257 |
|
|
258 |
|
|
259 |
|
#ifndef __IISRSTALib_LIBRARY_DEFINED__ |
260 |
|
#define __IISRSTALib_LIBRARY_DEFINED__ |
261 |
|
|
262 |
|
/* library IISRSTALib */ |
263 |
|
/* [helpstring][version][uuid] */ |
264 |
|
|
265 |
|
|
266 |
|
EXTERN_C const IID LIBID_IISRSTALib; |
267 |
|
|
268 |
|
EXTERN_C const CLSID CLSID_IisServiceControl; |
269 |
|
|
270 |
|
#ifdef __cplusplus |
271 |
|
|
272 |
|
class DECLSPEC_UUID("E8FB8621-588F-11D2-9D61-00C04F79C5FE") |
273 |
|
IisServiceControl; |
274 |
|
#endif |
275 |
|
#endif /* __IISRSTALib_LIBRARY_DEFINED__ */ |
276 |
|
|
277 |
|
/* interface __MIDL_itf_iisrsta_0000_0001 */ |
278 |
|
/* [local] */ |
279 |
|
|
280 |
|
typedef struct { |
281 |
|
DWORD iServiceName; |
282 |
|
DWORD iDisplayName; |
283 |
|
SERVICE_STATUS ServiceStatus; |
284 |
|
} SERIALIZED_ENUM_SERVICE_STATUS; |
285 |
|
|
286 |
|
|
287 |
|
extern RPC_IF_HANDLE __MIDL_itf_iisrsta_0000_0001_v0_0_c_ifspec; |
288 |
|
extern RPC_IF_HANDLE __MIDL_itf_iisrsta_0000_0001_v0_0_s_ifspec; |
289 |
|
|
290 |
|
/* Additional Prototypes for ALL interfaces */ |
291 |
|
|
292 |
|
/* end of Additional Prototypes */ |
293 |
|
|
294 |
|
#ifdef __cplusplus |
295 |
|
} |
296 |
|
#endif |
297 |
|
|
298 |
|
#endif |
299 |
|
|
300 |
|
|
301 |
|
|
302 |
|
|
|
|
|