|
|
|
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 napservermanagement.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 __napservermanagement_h__ |
43 |
|
#define __napservermanagement_h__ |
44 |
|
|
45 |
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020) |
46 |
|
#pragma once |
47 |
|
#endif |
48 |
|
|
49 |
|
/* Forward Declarations */ |
50 |
|
|
51 |
|
#ifndef __INapServerInfo_FWD_DEFINED__ |
52 |
|
#define __INapServerInfo_FWD_DEFINED__ |
53 |
|
typedef interface INapServerInfo INapServerInfo; |
54 |
|
#endif /* __INapServerInfo_FWD_DEFINED__ */ |
55 |
|
|
56 |
|
|
57 |
|
#ifndef __INapServerManagement_FWD_DEFINED__ |
58 |
|
#define __INapServerManagement_FWD_DEFINED__ |
59 |
|
typedef interface INapServerManagement INapServerManagement; |
60 |
|
#endif /* __INapServerManagement_FWD_DEFINED__ */ |
61 |
|
|
62 |
|
|
63 |
|
/* header files for imported files */ |
64 |
|
#include "NapTypes.h" |
65 |
|
|
66 |
|
#ifdef __cplusplus |
67 |
|
extern "C"{ |
68 |
|
#endif |
69 |
|
|
70 |
|
|
71 |
|
#ifndef __INapServerInfo_INTERFACE_DEFINED__ |
72 |
|
#define __INapServerInfo_INTERFACE_DEFINED__ |
73 |
|
|
74 |
|
/* interface INapServerInfo */ |
75 |
|
/* [unique][uuid][object] */ |
76 |
|
|
77 |
|
|
78 |
|
EXTERN_C const IID IID_INapServerInfo; |
79 |
|
|
80 |
|
#if defined(__cplusplus) && !defined(CINTERFACE) |
81 |
|
|
82 |
|
MIDL_INTERFACE("599F9021-5643-4965-9949-E88975EFFF0E") |
83 |
|
INapServerInfo : public IUnknown |
84 |
|
{ |
85 |
|
public: |
86 |
|
virtual HRESULT STDMETHODCALLTYPE GetNapServerInfo( |
87 |
|
/* [out] */ __RPC__deref_out_opt CountedString **serverName, |
88 |
|
/* [out] */ __RPC__deref_out_opt CountedString **serverDescription, |
89 |
|
/* [out] */ __RPC__deref_out_opt CountedString **protocolVersion) = 0; |
90 |
|
|
91 |
|
virtual HRESULT STDMETHODCALLTYPE GetRegisteredSystemHealthValidators( |
92 |
|
/* [out] */ __RPC__out SystemHealthEntityCount *count, |
93 |
|
/* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*count) NapComponentRegistrationInfo **validators, |
94 |
|
/* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*count) CLSID **validatorClsids) = 0; |
95 |
|
|
96 |
|
virtual HRESULT STDMETHODCALLTYPE GetFailureCategoryMappings( |
97 |
|
/* [in] */ SystemHealthEntityId id, |
98 |
|
/* [out] */ __RPC__out FailureCategoryMapping *mapping) = 0; |
99 |
|
|
100 |
|
}; |
101 |
|
|
102 |
|
#else /* C style interface */ |
103 |
|
|
104 |
|
typedef struct INapServerInfoVtbl |
105 |
|
{ |
106 |
|
BEGIN_INTERFACE |
107 |
|
|
108 |
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
109 |
|
INapServerInfo * This, |
110 |
|
/* [in] */ __RPC__in REFIID riid, |
111 |
|
/* [iid_is][out] */ |
112 |
|
__RPC__deref_out void **ppvObject); |
113 |
|
|
114 |
|
ULONG ( STDMETHODCALLTYPE *AddRef )( |
115 |
|
INapServerInfo * This); |
116 |
|
|
117 |
|
ULONG ( STDMETHODCALLTYPE *Release )( |
118 |
|
INapServerInfo * This); |
119 |
|
|
120 |
|
HRESULT ( STDMETHODCALLTYPE *GetNapServerInfo )( |
121 |
|
INapServerInfo * This, |
122 |
|
/* [out] */ __RPC__deref_out_opt CountedString **serverName, |
123 |
|
/* [out] */ __RPC__deref_out_opt CountedString **serverDescription, |
124 |
|
/* [out] */ __RPC__deref_out_opt CountedString **protocolVersion); |
125 |
|
|
126 |
|
HRESULT ( STDMETHODCALLTYPE *GetRegisteredSystemHealthValidators )( |
127 |
|
INapServerInfo * This, |
128 |
|
/* [out] */ __RPC__out SystemHealthEntityCount *count, |
129 |
|
/* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*count) NapComponentRegistrationInfo **validators, |
130 |
|
/* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*count) CLSID **validatorClsids); |
131 |
|
|
132 |
|
HRESULT ( STDMETHODCALLTYPE *GetFailureCategoryMappings )( |
133 |
|
INapServerInfo * This, |
134 |
|
/* [in] */ SystemHealthEntityId id, |
135 |
|
/* [out] */ __RPC__out FailureCategoryMapping *mapping); |
136 |
|
|
137 |
|
END_INTERFACE |
138 |
|
} INapServerInfoVtbl; |
139 |
|
|
140 |
|
interface INapServerInfo |
141 |
|
{ |
142 |
|
CONST_VTBL struct INapServerInfoVtbl *lpVtbl; |
143 |
|
}; |
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
#ifdef COBJMACROS |
148 |
|
|
149 |
|
|
150 |
|
#define INapServerInfo_QueryInterface(This,riid,ppvObject) \ |
151 |
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
152 |
|
|
153 |
|
#define INapServerInfo_AddRef(This) \ |
154 |
|
( (This)->lpVtbl -> AddRef(This) ) |
155 |
|
|
156 |
|
#define INapServerInfo_Release(This) \ |
157 |
|
( (This)->lpVtbl -> Release(This) ) |
158 |
|
|
159 |
|
|
160 |
|
#define INapServerInfo_GetNapServerInfo(This,serverName,serverDescription,protocolVersion) \ |
161 |
|
( (This)->lpVtbl -> GetNapServerInfo(This,serverName,serverDescription,protocolVersion) ) |
172 |
|
#endif /* C style interface */ |
173 |
|
|
174 |
|
|
175 |
|
|
176 |
|
|
177 |
|
#endif /* __INapServerInfo_INTERFACE_DEFINED__ */ |
178 |
|
|
179 |
|
|
180 |
|
#ifndef __INapServerManagement_INTERFACE_DEFINED__ |
181 |
|
#define __INapServerManagement_INTERFACE_DEFINED__ |
182 |
|
|
183 |
|
/* interface INapServerManagement */ |
184 |
|
/* [unique][uuid][object] */ |
185 |
|
|
186 |
|
|
187 |
|
EXTERN_C const IID IID_INapServerManagement; |
188 |
|
|
189 |
|
#if defined(__cplusplus) && !defined(CINTERFACE) |
190 |
|
|
191 |
|
MIDL_INTERFACE("9DE543E7-0F23-47e0-A8BC-971A894F86D4") |
192 |
|
INapServerManagement : public IUnknown |
193 |
|
{ |
194 |
|
public: |
195 |
|
virtual HRESULT STDMETHODCALLTYPE RegisterSystemHealthValidator( |
196 |
|
/* [in] */ __RPC__in const NapComponentRegistrationInfo *validator, |
197 |
|
/* [in] */ __RPC__in const CLSID *validatorClsid) = 0; |
198 |
|
|
199 |
|
virtual HRESULT STDMETHODCALLTYPE UnregisterSystemHealthValidator( |
200 |
|
/* [in] */ SystemHealthEntityId id) = 0; |
201 |
|
|
202 |
|
virtual HRESULT STDMETHODCALLTYPE SetFailureCategoryMappings( |
203 |
|
/* [in] */ SystemHealthEntityId id, |
204 |
|
/* [in] */ const FailureCategoryMapping mapping) = 0; |
205 |
|
|
206 |
|
}; |
207 |
|
|
208 |
|
#else /* C style interface */ |
209 |
|
|
210 |
|
typedef struct INapServerManagementVtbl |
211 |
|
{ |
212 |
|
BEGIN_INTERFACE |
213 |
|
|
214 |
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
215 |
|
INapServerManagement * This, |
216 |
|
/* [in] */ __RPC__in REFIID riid, |
217 |
|
/* [iid_is][out] */ |
218 |
|
__RPC__deref_out void **ppvObject); |
219 |
|
|
220 |
|
ULONG ( STDMETHODCALLTYPE *AddRef )( |
221 |
|
INapServerManagement * This); |
222 |
|
|
223 |
|
ULONG ( STDMETHODCALLTYPE *Release )( |
224 |
|
INapServerManagement * This); |
225 |
|
|
226 |
|
HRESULT ( STDMETHODCALLTYPE *RegisterSystemHealthValidator )( |
227 |
|
INapServerManagement * This, |
228 |
|
/* [in] */ __RPC__in const NapComponentRegistrationInfo *validator, |
229 |
|
/* [in] */ __RPC__in const CLSID *validatorClsid); |
230 |
|
|
231 |
|
HRESULT ( STDMETHODCALLTYPE *UnregisterSystemHealthValidator )( |
232 |
|
INapServerManagement * This, |
233 |
|
/* [in] */ SystemHealthEntityId id); |
234 |
|
|
235 |
|
HRESULT ( STDMETHODCALLTYPE *SetFailureCategoryMappings )( |
236 |
|
INapServerManagement * This, |
237 |
|
/* [in] */ SystemHealthEntityId id, |
238 |
|
/* [in] */ const FailureCategoryMapping mapping); |
239 |
|
|
240 |
|
END_INTERFACE |
241 |
|
} INapServerManagementVtbl; |
242 |
|
|
243 |
|
interface INapServerManagement |
244 |
|
{ |
245 |
|
CONST_VTBL struct INapServerManagementVtbl *lpVtbl; |
246 |
|
}; |
247 |
|
|
248 |
|
|
249 |
|
|
250 |
|
#ifdef COBJMACROS |
251 |
|
|
252 |
|
|
253 |
|
#define INapServerManagement_QueryInterface(This,riid,ppvObject) \ |
254 |
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
255 |
|
|
256 |
|
#define INapServerManagement_AddRef(This) \ |
257 |
|
( (This)->lpVtbl -> AddRef(This) ) |
258 |
|
|
259 |
|
#define INapServerManagement_Release(This) \ |
260 |
|
( (This)->lpVtbl -> Release(This) ) |
261 |
|
|
262 |
|
|
263 |
|
#define INapServerManagement_RegisterSystemHealthValidator(This,validator,validatorClsid) \ |
264 |
|
( (This)->lpVtbl -> RegisterSystemHealthValidator(This,validator,validatorClsid) ) |
265 |
|
|
266 |
|
#define INapServerManagement_UnregisterSystemHealthValidator(This,id) \ |
267 |
|
( (This)->lpVtbl -> UnregisterSystemHealthValidator(This,id) ) |
268 |
|
|
269 |
|
#define INapServerManagement_SetFailureCategoryMappings(This,id,mapping) \ |
270 |
|
( (This)->lpVtbl -> SetFailureCategoryMappings(This,id,mapping) ) |
271 |
|
|
272 |
|
#endif /* COBJMACROS */ |
273 |
|
|
274 |
|
|
275 |
|
#endif /* C style interface */ |
276 |
|
|
277 |
|
|
278 |
|
|
279 |
|
|
280 |
|
#endif /* __INapServerManagement_INTERFACE_DEFINED__ */ |
281 |
|
|
282 |
|
|
283 |
|
/* interface __MIDL_itf_napservermanagement_0000_0002 */ |
284 |
|
/* [local] */ |
285 |
|
|
286 |
|
// Declarations of CLSIDs of objects provided |
287 |
|
// by the system. Link to uuid.lib to get them |
288 |
|
// defined. |
289 |
|
EXTERN_C const CLSID |
290 |
|
CLSID_NapServerInfo; |
291 |
|
EXTERN_C const CLSID |
292 |
|
CLSID_NapServerManagement; |
293 |
|
|
294 |
|
|
295 |
|
extern RPC_IF_HANDLE __MIDL_itf_napservermanagement_0000_0002_v0_0_c_ifspec; |
296 |
|
extern RPC_IF_HANDLE __MIDL_itf_napservermanagement_0000_0002_v0_0_s_ifspec; |
297 |
|
|
298 |
|
/* Additional Prototypes for ALL interfaces */ |
299 |
|
|
300 |
|
/* end of Additional Prototypes */ |
301 |
|
|
302 |
|
#ifdef __cplusplus |
303 |
|
} |
304 |
|
#endif |
305 |
|
|
306 |
|
#endif |
307 |
|
|
308 |
|
|
309 |
|
|
310 |
|
|
|
|
|