1 /*** Autogenerated by WIDL 1.6 from include/napservermanagement.idl - Do not edit ***/
2 
3 #ifndef __REQUIRED_RPCNDR_H_VERSION__
4 #define __REQUIRED_RPCNDR_H_VERSION__ 475
5 #endif
6 
7 #include <rpc.h>
8 #include <rpcndr.h>
9 
10 #ifndef COM_NO_WINDOWS_H
11 #include <windows.h>
12 #include <ole2.h>
13 #endif
14 
15 #ifndef __napservermanagement_h__
16 #define __napservermanagement_h__
17 
18 /* Forward declarations */
19 
20 #ifndef __INapServerManagement_FWD_DEFINED__
21 #define __INapServerManagement_FWD_DEFINED__
22 typedef interface INapServerManagement INapServerManagement;
23 #endif
24 
25 #ifndef __INapServerInfo_FWD_DEFINED__
26 #define __INapServerInfo_FWD_DEFINED__
27 typedef interface INapServerInfo INapServerInfo;
28 #endif
29 
30 /* Headers for imported files */
31 
32 #include <naptypes.h>
33 #include <unknwn.h>
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 #include <winapifamily.h>
40 
41 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
42 #ifndef __INapServerInfo_FWD_DEFINED__
43 #define __INapServerInfo_FWD_DEFINED__
44 typedef interface INapServerInfo INapServerInfo;
45 #endif
46 
47 #ifndef __INapServerManagement_FWD_DEFINED__
48 #define __INapServerManagement_FWD_DEFINED__
49 typedef interface INapServerManagement INapServerManagement;
50 #endif
51 
52 EXTERN_C const CLSID CLSID_NapServerManagement;
53 EXTERN_C const CLSID CLSID_NapServerInfo;
54 /*****************************************************************************
55  * INapServerManagement interface
56  */
57 #ifndef __INapServerManagement_INTERFACE_DEFINED__
58 #define __INapServerManagement_INTERFACE_DEFINED__
59 
60 DEFINE_GUID(IID_INapServerManagement, 0x9de543e7, 0x0f23, 0x47e0, 0xa8,0xbc, 0x97,0x1a,0x89,0x4f,0x86,0xd4);
61 #if defined(__cplusplus) && !defined(CINTERFACE)
62 MIDL_INTERFACE("9de543e7-0f23-47e0-a8bc-971a894f86d4")
63 INapServerManagement : public IUnknown
64 {
65     virtual HRESULT STDMETHODCALLTYPE RegisterSystemHealthValidator(
66         const NapComponentRegistrationInfo *validator,
67         const CLSID *validatorClsid) = 0;
68 
69     virtual HRESULT STDMETHODCALLTYPE UnregisterSystemHealthValidator(
70         SystemHealthEntityId id) = 0;
71 
72     virtual HRESULT STDMETHODCALLTYPE SetFailureCategoryMappings(
73         SystemHealthEntityId id,
74         const FailureCategoryMapping mapping) = 0;
75 
76 };
77 #ifdef __CRT_UUID_DECL
78 __CRT_UUID_DECL(INapServerManagement, 0x9de543e7, 0x0f23, 0x47e0, 0xa8,0xbc, 0x97,0x1a,0x89,0x4f,0x86,0xd4)
79 #endif
80 #else
81 typedef struct INapServerManagementVtbl {
82     BEGIN_INTERFACE
83 
84     /*** IUnknown methods ***/
85     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
86         INapServerManagement* This,
87         REFIID riid,
88         void **ppvObject);
89 
90     ULONG (STDMETHODCALLTYPE *AddRef)(
91         INapServerManagement* This);
92 
93     ULONG (STDMETHODCALLTYPE *Release)(
94         INapServerManagement* This);
95 
96     /*** INapServerManagement methods ***/
97     HRESULT (STDMETHODCALLTYPE *RegisterSystemHealthValidator)(
98         INapServerManagement* This,
99         const NapComponentRegistrationInfo *validator,
100         const CLSID *validatorClsid);
101 
102     HRESULT (STDMETHODCALLTYPE *UnregisterSystemHealthValidator)(
103         INapServerManagement* This,
104         SystemHealthEntityId id);
105 
106     HRESULT (STDMETHODCALLTYPE *SetFailureCategoryMappings)(
107         INapServerManagement* This,
108         SystemHealthEntityId id,
109         const FailureCategoryMapping mapping);
110 
111     END_INTERFACE
112 } INapServerManagementVtbl;
113 interface INapServerManagement {
114     CONST_VTBL INapServerManagementVtbl* lpVtbl;
115 };
116 
117 #ifdef COBJMACROS
118 #ifndef WIDL_C_INLINE_WRAPPERS
119 /*** IUnknown methods ***/
120 #define INapServerManagement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
121 #define INapServerManagement_AddRef(This) (This)->lpVtbl->AddRef(This)
122 #define INapServerManagement_Release(This) (This)->lpVtbl->Release(This)
123 /*** INapServerManagement methods ***/
124 #define INapServerManagement_RegisterSystemHealthValidator(This,validator,validatorClsid) (This)->lpVtbl->RegisterSystemHealthValidator(This,validator,validatorClsid)
125 #define INapServerManagement_UnregisterSystemHealthValidator(This,id) (This)->lpVtbl->UnregisterSystemHealthValidator(This,id)
126 #define INapServerManagement_SetFailureCategoryMappings(This,id,mapping) (This)->lpVtbl->SetFailureCategoryMappings(This,id,mapping)
127 #else
128 /*** IUnknown methods ***/
129 static FORCEINLINE HRESULT INapServerManagement_QueryInterface(INapServerManagement* This,REFIID riid,void **ppvObject) {
130     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
131 }
132 static FORCEINLINE ULONG INapServerManagement_AddRef(INapServerManagement* This) {
133     return This->lpVtbl->AddRef(This);
134 }
135 static FORCEINLINE ULONG INapServerManagement_Release(INapServerManagement* This) {
136     return This->lpVtbl->Release(This);
137 }
138 /*** INapServerManagement methods ***/
139 static FORCEINLINE HRESULT INapServerManagement_RegisterSystemHealthValidator(INapServerManagement* This,const NapComponentRegistrationInfo *validator,const CLSID *validatorClsid) {
140     return This->lpVtbl->RegisterSystemHealthValidator(This,validator,validatorClsid);
141 }
142 static FORCEINLINE HRESULT INapServerManagement_UnregisterSystemHealthValidator(INapServerManagement* This,SystemHealthEntityId id) {
143     return This->lpVtbl->UnregisterSystemHealthValidator(This,id);
144 }
145 static FORCEINLINE HRESULT INapServerManagement_SetFailureCategoryMappings(INapServerManagement* This,SystemHealthEntityId id,const FailureCategoryMapping mapping) {
146     return This->lpVtbl->SetFailureCategoryMappings(This,id,mapping);
147 }
148 #endif
149 #endif
150 
151 #endif
152 
153 HRESULT STDMETHODCALLTYPE INapServerManagement_RegisterSystemHealthValidator_Proxy(
154     INapServerManagement* This,
155     const NapComponentRegistrationInfo *validator,
156     const CLSID *validatorClsid);
157 void __RPC_STUB INapServerManagement_RegisterSystemHealthValidator_Stub(
158     IRpcStubBuffer* This,
159     IRpcChannelBuffer* pRpcChannelBuffer,
160     PRPC_MESSAGE pRpcMessage,
161     DWORD* pdwStubPhase);
162 HRESULT STDMETHODCALLTYPE INapServerManagement_UnregisterSystemHealthValidator_Proxy(
163     INapServerManagement* This,
164     SystemHealthEntityId id);
165 void __RPC_STUB INapServerManagement_UnregisterSystemHealthValidator_Stub(
166     IRpcStubBuffer* This,
167     IRpcChannelBuffer* pRpcChannelBuffer,
168     PRPC_MESSAGE pRpcMessage,
169     DWORD* pdwStubPhase);
170 HRESULT STDMETHODCALLTYPE INapServerManagement_SetFailureCategoryMappings_Proxy(
171     INapServerManagement* This,
172     SystemHealthEntityId id,
173     const FailureCategoryMapping mapping);
174 void __RPC_STUB INapServerManagement_SetFailureCategoryMappings_Stub(
175     IRpcStubBuffer* This,
176     IRpcChannelBuffer* pRpcChannelBuffer,
177     PRPC_MESSAGE pRpcMessage,
178     DWORD* pdwStubPhase);
179 
180 #endif  /* __INapServerManagement_INTERFACE_DEFINED__ */
181 
182 /*****************************************************************************
183  * INapServerInfo interface
184  */
185 #ifndef __INapServerInfo_INTERFACE_DEFINED__
186 #define __INapServerInfo_INTERFACE_DEFINED__
187 
188 DEFINE_GUID(IID_INapServerInfo, 0x599f9021, 0x5643, 0x4965, 0x99,0x49, 0xe8,0x89,0x75,0xef,0xff,0x0e);
189 #if defined(__cplusplus) && !defined(CINTERFACE)
190 MIDL_INTERFACE("599f9021-5643-4965-9949-e88975efff0e")
191 INapServerInfo : public IUnknown
192 {
193     virtual HRESULT STDMETHODCALLTYPE GetNapServerInfo(
194         CountedString **serverName,
195         CountedString **serverDescription,
196         CountedString **protocolVersion) = 0;
197 
198     virtual HRESULT STDMETHODCALLTYPE GetRegisteredSystemHealthValidators(
199         SystemHealthEntityCount *count,
200         NapComponentRegistrationInfo **validators,
201         CLSID **validatorClsids) = 0;
202 
203     virtual HRESULT STDMETHODCALLTYPE GetFailureCategoryMappings(
204         SystemHealthEntityId id,
205         FailureCategoryMapping *mapping) = 0;
206 
207 };
208 #ifdef __CRT_UUID_DECL
209 __CRT_UUID_DECL(INapServerInfo, 0x599f9021, 0x5643, 0x4965, 0x99,0x49, 0xe8,0x89,0x75,0xef,0xff,0x0e)
210 #endif
211 #else
212 typedef struct INapServerInfoVtbl {
213     BEGIN_INTERFACE
214 
215     /*** IUnknown methods ***/
216     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
217         INapServerInfo* This,
218         REFIID riid,
219         void **ppvObject);
220 
221     ULONG (STDMETHODCALLTYPE *AddRef)(
222         INapServerInfo* This);
223 
224     ULONG (STDMETHODCALLTYPE *Release)(
225         INapServerInfo* This);
226 
227     /*** INapServerInfo methods ***/
228     HRESULT (STDMETHODCALLTYPE *GetNapServerInfo)(
229         INapServerInfo* This,
230         CountedString **serverName,
231         CountedString **serverDescription,
232         CountedString **protocolVersion);
233 
234     HRESULT (STDMETHODCALLTYPE *GetRegisteredSystemHealthValidators)(
235         INapServerInfo* This,
236         SystemHealthEntityCount *count,
237         NapComponentRegistrationInfo **validators,
238         CLSID **validatorClsids);
239 
240     HRESULT (STDMETHODCALLTYPE *GetFailureCategoryMappings)(
241         INapServerInfo* This,
242         SystemHealthEntityId id,
243         FailureCategoryMapping *mapping);
244 
245     END_INTERFACE
246 } INapServerInfoVtbl;
247 interface INapServerInfo {
248     CONST_VTBL INapServerInfoVtbl* lpVtbl;
249 };
250 
251 #ifdef COBJMACROS
252 #ifndef WIDL_C_INLINE_WRAPPERS
253 /*** IUnknown methods ***/
254 #define INapServerInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
255 #define INapServerInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
256 #define INapServerInfo_Release(This) (This)->lpVtbl->Release(This)
257 /*** INapServerInfo methods ***/
258 #define INapServerInfo_GetNapServerInfo(This,serverName,serverDescription,protocolVersion) (This)->lpVtbl->GetNapServerInfo(This,serverName,serverDescription,protocolVersion)
259 #define INapServerInfo_GetRegisteredSystemHealthValidators(This,count,validators,validatorClsids) (This)->lpVtbl->GetRegisteredSystemHealthValidators(This,count,validators,validatorClsids)
260 #define INapServerInfo_GetFailureCategoryMappings(This,id,mapping) (This)->lpVtbl->GetFailureCategoryMappings(This,id,mapping)
261 #else
262 /*** IUnknown methods ***/
263 static FORCEINLINE HRESULT INapServerInfo_QueryInterface(INapServerInfo* This,REFIID riid,void **ppvObject) {
264     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
265 }
266 static FORCEINLINE ULONG INapServerInfo_AddRef(INapServerInfo* This) {
267     return This->lpVtbl->AddRef(This);
268 }
269 static FORCEINLINE ULONG INapServerInfo_Release(INapServerInfo* This) {
270     return This->lpVtbl->Release(This);
271 }
272 /*** INapServerInfo methods ***/
273 static FORCEINLINE HRESULT INapServerInfo_GetNapServerInfo(INapServerInfo* This,CountedString **serverName,CountedString **serverDescription,CountedString **protocolVersion) {
274     return This->lpVtbl->GetNapServerInfo(This,serverName,serverDescription,protocolVersion);
275 }
276 static FORCEINLINE HRESULT INapServerInfo_GetRegisteredSystemHealthValidators(INapServerInfo* This,SystemHealthEntityCount *count,NapComponentRegistrationInfo **validators,CLSID **validatorClsids) {
277     return This->lpVtbl->GetRegisteredSystemHealthValidators(This,count,validators,validatorClsids);
278 }
279 static FORCEINLINE HRESULT INapServerInfo_GetFailureCategoryMappings(INapServerInfo* This,SystemHealthEntityId id,FailureCategoryMapping *mapping) {
280     return This->lpVtbl->GetFailureCategoryMappings(This,id,mapping);
281 }
282 #endif
283 #endif
284 
285 #endif
286 
287 HRESULT STDMETHODCALLTYPE INapServerInfo_GetNapServerInfo_Proxy(
288     INapServerInfo* This,
289     CountedString **serverName,
290     CountedString **serverDescription,
291     CountedString **protocolVersion);
292 void __RPC_STUB INapServerInfo_GetNapServerInfo_Stub(
293     IRpcStubBuffer* This,
294     IRpcChannelBuffer* pRpcChannelBuffer,
295     PRPC_MESSAGE pRpcMessage,
296     DWORD* pdwStubPhase);
297 HRESULT STDMETHODCALLTYPE INapServerInfo_GetRegisteredSystemHealthValidators_Proxy(
298     INapServerInfo* This,
299     SystemHealthEntityCount *count,
300     NapComponentRegistrationInfo **validators,
301     CLSID **validatorClsids);
302 void __RPC_STUB INapServerInfo_GetRegisteredSystemHealthValidators_Stub(
303     IRpcStubBuffer* This,
304     IRpcChannelBuffer* pRpcChannelBuffer,
305     PRPC_MESSAGE pRpcMessage,
306     DWORD* pdwStubPhase);
307 HRESULT STDMETHODCALLTYPE INapServerInfo_GetFailureCategoryMappings_Proxy(
308     INapServerInfo* This,
309     SystemHealthEntityId id,
310     FailureCategoryMapping *mapping);
311 void __RPC_STUB INapServerInfo_GetFailureCategoryMappings_Stub(
312     IRpcStubBuffer* This,
313     IRpcChannelBuffer* pRpcChannelBuffer,
314     PRPC_MESSAGE pRpcMessage,
315     DWORD* pdwStubPhase);
316 
317 #endif  /* __INapServerInfo_INTERFACE_DEFINED__ */
318 
319 #endif
320 /* Begin additional prototypes for all interfaces */
321 
322 
323 /* End additional prototypes */
324 
325 #ifdef __cplusplus
326 }
327 #endif
328 
329 #endif /* __napservermanagement_h__ */
330