source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/napmanagement.h

Last change on this file was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 16.1 KB
Line 
1/*** Autogenerated by WIDL 6.4 from include/napmanagement.idl - Do not edit ***/
2
3#ifdef _WIN32
4#ifndef __REQUIRED_RPCNDR_H_VERSION__
5#define __REQUIRED_RPCNDR_H_VERSION__ 475
6#endif
7#include <rpc.h>
8#include <rpcndr.h>
9#endif
10
11#ifndef COM_NO_WINDOWS_H
12#include <windows.h>
13#include <ole2.h>
14#endif
15
16#ifndef __napmanagement_h__
17#define __napmanagement_h__
18
19/* Forward declarations */
20
21#ifndef __INapClientManagement_FWD_DEFINED__
22#define __INapClientManagement_FWD_DEFINED__
23typedef interface INapClientManagement INapClientManagement;
24#ifdef __cplusplus
25interface INapClientManagement;
26#endif /* __cplusplus */
27#endif
28
29#ifndef __INapClientManagement2_FWD_DEFINED__
30#define __INapClientManagement2_FWD_DEFINED__
31typedef interface INapClientManagement2 INapClientManagement2;
32#ifdef __cplusplus
33interface INapClientManagement2;
34#endif /* __cplusplus */
35#endif
36
37/* Headers for imported files */
38
39#include <naptypes.h>
40#include <unknwn.h>
41
42#ifdef __cplusplus
43extern "C" {
44#endif
45
46#include <winapifamily.h>
47
48#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
49EXTERN_C const CLSID CLSID_NapClientManagement;
50/*****************************************************************************
51 * INapClientManagement interface
52 */
53#ifndef __INapClientManagement_INTERFACE_DEFINED__
54#define __INapClientManagement_INTERFACE_DEFINED__
55
56DEFINE_GUID(IID_INapClientManagement, 0x432a1da5, 0x3888, 0x4b9a, 0xa7,0x34, 0xcf,0xf1,0xe4,0x48,0xc5,0xb9);
57#if defined(__cplusplus) && !defined(CINTERFACE)
58MIDL_INTERFACE("432a1da5-3888-4b9a-a734-cff1e448c5b9")
59INapClientManagement : public IUnknown
60{
61 virtual HRESULT STDMETHODCALLTYPE GetNapClientInfo(
62 WINBOOL *isNapEnabled,
63 CountedString **clientName,
64 CountedString **clientDescription,
65 CountedString **protocolVersion) = 0;
66
67 virtual HRESULT STDMETHODCALLTYPE GetSystemIsolationInfo(
68 IsolationInfo **isolationInfo,
69 WINBOOL *unknownConnections) = 0;
70
71 virtual HRESULT STDMETHODCALLTYPE RegisterSystemHealthAgent(
72 const NapComponentRegistrationInfo *agent) = 0;
73
74 virtual HRESULT STDMETHODCALLTYPE UnregisterSystemHealthAgent(
75 SystemHealthEntityId id) = 0;
76
77 virtual HRESULT STDMETHODCALLTYPE RegisterEnforcementClient(
78 const NapComponentRegistrationInfo *enforcer) = 0;
79
80 virtual HRESULT STDMETHODCALLTYPE UnregisterEnforcementClient(
81 EnforcementEntityId id) = 0;
82
83 virtual HRESULT STDMETHODCALLTYPE GetRegisteredSystemHealthAgents(
84 SystemHealthEntityCount *count,
85 NapComponentRegistrationInfo **agents) = 0;
86
87 virtual HRESULT STDMETHODCALLTYPE GetRegisteredEnforcementClients(
88 EnforcementEntityCount *count,
89 NapComponentRegistrationInfo **enforcers) = 0;
90
91};
92#ifdef __CRT_UUID_DECL
93__CRT_UUID_DECL(INapClientManagement, 0x432a1da5, 0x3888, 0x4b9a, 0xa7,0x34, 0xcf,0xf1,0xe4,0x48,0xc5,0xb9)
94#endif
95#else
96typedef struct INapClientManagementVtbl {
97 BEGIN_INTERFACE
98
99 /*** IUnknown methods ***/
100 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
101 INapClientManagement *This,
102 REFIID riid,
103 void **ppvObject);
104
105 ULONG (STDMETHODCALLTYPE *AddRef)(
106 INapClientManagement *This);
107
108 ULONG (STDMETHODCALLTYPE *Release)(
109 INapClientManagement *This);
110
111 /*** INapClientManagement methods ***/
112 HRESULT (STDMETHODCALLTYPE *GetNapClientInfo)(
113 INapClientManagement *This,
114 WINBOOL *isNapEnabled,
115 CountedString **clientName,
116 CountedString **clientDescription,
117 CountedString **protocolVersion);
118
119 HRESULT (STDMETHODCALLTYPE *GetSystemIsolationInfo)(
120 INapClientManagement *This,
121 IsolationInfo **isolationInfo,
122 WINBOOL *unknownConnections);
123
124 HRESULT (STDMETHODCALLTYPE *RegisterSystemHealthAgent)(
125 INapClientManagement *This,
126 const NapComponentRegistrationInfo *agent);
127
128 HRESULT (STDMETHODCALLTYPE *UnregisterSystemHealthAgent)(
129 INapClientManagement *This,
130 SystemHealthEntityId id);
131
132 HRESULT (STDMETHODCALLTYPE *RegisterEnforcementClient)(
133 INapClientManagement *This,
134 const NapComponentRegistrationInfo *enforcer);
135
136 HRESULT (STDMETHODCALLTYPE *UnregisterEnforcementClient)(
137 INapClientManagement *This,
138 EnforcementEntityId id);
139
140 HRESULT (STDMETHODCALLTYPE *GetRegisteredSystemHealthAgents)(
141 INapClientManagement *This,
142 SystemHealthEntityCount *count,
143 NapComponentRegistrationInfo **agents);
144
145 HRESULT (STDMETHODCALLTYPE *GetRegisteredEnforcementClients)(
146 INapClientManagement *This,
147 EnforcementEntityCount *count,
148 NapComponentRegistrationInfo **enforcers);
149
150 END_INTERFACE
151} INapClientManagementVtbl;
152
153interface INapClientManagement {
154 CONST_VTBL INapClientManagementVtbl* lpVtbl;
155};
156
157#ifdef COBJMACROS
158#ifndef WIDL_C_INLINE_WRAPPERS
159/*** IUnknown methods ***/
160#define INapClientManagement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
161#define INapClientManagement_AddRef(This) (This)->lpVtbl->AddRef(This)
162#define INapClientManagement_Release(This) (This)->lpVtbl->Release(This)
163/*** INapClientManagement methods ***/
164#define INapClientManagement_GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion) (This)->lpVtbl->GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion)
165#define INapClientManagement_GetSystemIsolationInfo(This,isolationInfo,unknownConnections) (This)->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections)
166#define INapClientManagement_RegisterSystemHealthAgent(This,agent) (This)->lpVtbl->RegisterSystemHealthAgent(This,agent)
167#define INapClientManagement_UnregisterSystemHealthAgent(This,id) (This)->lpVtbl->UnregisterSystemHealthAgent(This,id)
168#define INapClientManagement_RegisterEnforcementClient(This,enforcer) (This)->lpVtbl->RegisterEnforcementClient(This,enforcer)
169#define INapClientManagement_UnregisterEnforcementClient(This,id) (This)->lpVtbl->UnregisterEnforcementClient(This,id)
170#define INapClientManagement_GetRegisteredSystemHealthAgents(This,count,agents) (This)->lpVtbl->GetRegisteredSystemHealthAgents(This,count,agents)
171#define INapClientManagement_GetRegisteredEnforcementClients(This,count,enforcers) (This)->lpVtbl->GetRegisteredEnforcementClients(This,count,enforcers)
172#else
173/*** IUnknown methods ***/
174static FORCEINLINE HRESULT INapClientManagement_QueryInterface(INapClientManagement* This,REFIID riid,void **ppvObject) {
175 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
176}
177static FORCEINLINE ULONG INapClientManagement_AddRef(INapClientManagement* This) {
178 return This->lpVtbl->AddRef(This);
179}
180static FORCEINLINE ULONG INapClientManagement_Release(INapClientManagement* This) {
181 return This->lpVtbl->Release(This);
182}
183/*** INapClientManagement methods ***/
184static FORCEINLINE HRESULT INapClientManagement_GetNapClientInfo(INapClientManagement* This,WINBOOL *isNapEnabled,CountedString **clientName,CountedString **clientDescription,CountedString **protocolVersion) {
185 return This->lpVtbl->GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion);
186}
187static FORCEINLINE HRESULT INapClientManagement_GetSystemIsolationInfo(INapClientManagement* This,IsolationInfo **isolationInfo,WINBOOL *unknownConnections) {
188 return This->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections);
189}
190static FORCEINLINE HRESULT INapClientManagement_RegisterSystemHealthAgent(INapClientManagement* This,const NapComponentRegistrationInfo *agent) {
191 return This->lpVtbl->RegisterSystemHealthAgent(This,agent);
192}
193static FORCEINLINE HRESULT INapClientManagement_UnregisterSystemHealthAgent(INapClientManagement* This,SystemHealthEntityId id) {
194 return This->lpVtbl->UnregisterSystemHealthAgent(This,id);
195}
196static FORCEINLINE HRESULT INapClientManagement_RegisterEnforcementClient(INapClientManagement* This,const NapComponentRegistrationInfo *enforcer) {
197 return This->lpVtbl->RegisterEnforcementClient(This,enforcer);
198}
199static FORCEINLINE HRESULT INapClientManagement_UnregisterEnforcementClient(INapClientManagement* This,EnforcementEntityId id) {
200 return This->lpVtbl->UnregisterEnforcementClient(This,id);
201}
202static FORCEINLINE HRESULT INapClientManagement_GetRegisteredSystemHealthAgents(INapClientManagement* This,SystemHealthEntityCount *count,NapComponentRegistrationInfo **agents) {
203 return This->lpVtbl->GetRegisteredSystemHealthAgents(This,count,agents);
204}
205static FORCEINLINE HRESULT INapClientManagement_GetRegisteredEnforcementClients(INapClientManagement* This,EnforcementEntityCount *count,NapComponentRegistrationInfo **enforcers) {
206 return This->lpVtbl->GetRegisteredEnforcementClients(This,count,enforcers);
207}
208#endif
209#endif
210
211#endif
212
213
214#endif /* __INapClientManagement_INTERFACE_DEFINED__ */
215
216/*****************************************************************************
217 * INapClientManagement2 interface
218 */
219#ifndef __INapClientManagement2_INTERFACE_DEFINED__
220#define __INapClientManagement2_INTERFACE_DEFINED__
221
222DEFINE_GUID(IID_INapClientManagement2, 0x07a1127b, 0x18cc, 0x422a, 0xb9,0x88, 0xe8,0x92,0x60,0x0f,0xcc,0x74);
223#if defined(__cplusplus) && !defined(CINTERFACE)
224MIDL_INTERFACE("07a1127b-18cc-422a-b988-e892600fcc74")
225INapClientManagement2 : public INapClientManagement
226{
227 virtual HRESULT STDMETHODCALLTYPE GetSystemIsolationInfoEx(
228 IsolationInfoEx **isolationInfo,
229 WINBOOL *unknownConnections) = 0;
230
231};
232#ifdef __CRT_UUID_DECL
233__CRT_UUID_DECL(INapClientManagement2, 0x07a1127b, 0x18cc, 0x422a, 0xb9,0x88, 0xe8,0x92,0x60,0x0f,0xcc,0x74)
234#endif
235#else
236typedef struct INapClientManagement2Vtbl {
237 BEGIN_INTERFACE
238
239 /*** IUnknown methods ***/
240 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
241 INapClientManagement2 *This,
242 REFIID riid,
243 void **ppvObject);
244
245 ULONG (STDMETHODCALLTYPE *AddRef)(
246 INapClientManagement2 *This);
247
248 ULONG (STDMETHODCALLTYPE *Release)(
249 INapClientManagement2 *This);
250
251 /*** INapClientManagement methods ***/
252 HRESULT (STDMETHODCALLTYPE *GetNapClientInfo)(
253 INapClientManagement2 *This,
254 WINBOOL *isNapEnabled,
255 CountedString **clientName,
256 CountedString **clientDescription,
257 CountedString **protocolVersion);
258
259 HRESULT (STDMETHODCALLTYPE *GetSystemIsolationInfo)(
260 INapClientManagement2 *This,
261 IsolationInfo **isolationInfo,
262 WINBOOL *unknownConnections);
263
264 HRESULT (STDMETHODCALLTYPE *RegisterSystemHealthAgent)(
265 INapClientManagement2 *This,
266 const NapComponentRegistrationInfo *agent);
267
268 HRESULT (STDMETHODCALLTYPE *UnregisterSystemHealthAgent)(
269 INapClientManagement2 *This,
270 SystemHealthEntityId id);
271
272 HRESULT (STDMETHODCALLTYPE *RegisterEnforcementClient)(
273 INapClientManagement2 *This,
274 const NapComponentRegistrationInfo *enforcer);
275
276 HRESULT (STDMETHODCALLTYPE *UnregisterEnforcementClient)(
277 INapClientManagement2 *This,
278 EnforcementEntityId id);
279
280 HRESULT (STDMETHODCALLTYPE *GetRegisteredSystemHealthAgents)(
281 INapClientManagement2 *This,
282 SystemHealthEntityCount *count,
283 NapComponentRegistrationInfo **agents);
284
285 HRESULT (STDMETHODCALLTYPE *GetRegisteredEnforcementClients)(
286 INapClientManagement2 *This,
287 EnforcementEntityCount *count,
288 NapComponentRegistrationInfo **enforcers);
289
290 /*** INapClientManagement2 methods ***/
291 HRESULT (STDMETHODCALLTYPE *GetSystemIsolationInfoEx)(
292 INapClientManagement2 *This,
293 IsolationInfoEx **isolationInfo,
294 WINBOOL *unknownConnections);
295
296 END_INTERFACE
297} INapClientManagement2Vtbl;
298
299interface INapClientManagement2 {
300 CONST_VTBL INapClientManagement2Vtbl* lpVtbl;
301};
302
303#ifdef COBJMACROS
304#ifndef WIDL_C_INLINE_WRAPPERS
305/*** IUnknown methods ***/
306#define INapClientManagement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
307#define INapClientManagement2_AddRef(This) (This)->lpVtbl->AddRef(This)
308#define INapClientManagement2_Release(This) (This)->lpVtbl->Release(This)
309/*** INapClientManagement methods ***/
310#define INapClientManagement2_GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion) (This)->lpVtbl->GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion)
311#define INapClientManagement2_GetSystemIsolationInfo(This,isolationInfo,unknownConnections) (This)->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections)
312#define INapClientManagement2_RegisterSystemHealthAgent(This,agent) (This)->lpVtbl->RegisterSystemHealthAgent(This,agent)
313#define INapClientManagement2_UnregisterSystemHealthAgent(This,id) (This)->lpVtbl->UnregisterSystemHealthAgent(This,id)
314#define INapClientManagement2_RegisterEnforcementClient(This,enforcer) (This)->lpVtbl->RegisterEnforcementClient(This,enforcer)
315#define INapClientManagement2_UnregisterEnforcementClient(This,id) (This)->lpVtbl->UnregisterEnforcementClient(This,id)
316#define INapClientManagement2_GetRegisteredSystemHealthAgents(This,count,agents) (This)->lpVtbl->GetRegisteredSystemHealthAgents(This,count,agents)
317#define INapClientManagement2_GetRegisteredEnforcementClients(This,count,enforcers) (This)->lpVtbl->GetRegisteredEnforcementClients(This,count,enforcers)
318/*** INapClientManagement2 methods ***/
319#define INapClientManagement2_GetSystemIsolationInfoEx(This,isolationInfo,unknownConnections) (This)->lpVtbl->GetSystemIsolationInfoEx(This,isolationInfo,unknownConnections)
320#else
321/*** IUnknown methods ***/
322static FORCEINLINE HRESULT INapClientManagement2_QueryInterface(INapClientManagement2* This,REFIID riid,void **ppvObject) {
323 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
324}
325static FORCEINLINE ULONG INapClientManagement2_AddRef(INapClientManagement2* This) {
326 return This->lpVtbl->AddRef(This);
327}
328static FORCEINLINE ULONG INapClientManagement2_Release(INapClientManagement2* This) {
329 return This->lpVtbl->Release(This);
330}
331/*** INapClientManagement methods ***/
332static FORCEINLINE HRESULT INapClientManagement2_GetNapClientInfo(INapClientManagement2* This,WINBOOL *isNapEnabled,CountedString **clientName,CountedString **clientDescription,CountedString **protocolVersion) {
333 return This->lpVtbl->GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion);
334}
335static FORCEINLINE HRESULT INapClientManagement2_GetSystemIsolationInfo(INapClientManagement2* This,IsolationInfo **isolationInfo,WINBOOL *unknownConnections) {
336 return This->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections);
337}
338static FORCEINLINE HRESULT INapClientManagement2_RegisterSystemHealthAgent(INapClientManagement2* This,const NapComponentRegistrationInfo *agent) {
339 return This->lpVtbl->RegisterSystemHealthAgent(This,agent);
340}
341static FORCEINLINE HRESULT INapClientManagement2_UnregisterSystemHealthAgent(INapClientManagement2* This,SystemHealthEntityId id) {
342 return This->lpVtbl->UnregisterSystemHealthAgent(This,id);
343}
344static FORCEINLINE HRESULT INapClientManagement2_RegisterEnforcementClient(INapClientManagement2* This,const NapComponentRegistrationInfo *enforcer) {
345 return This->lpVtbl->RegisterEnforcementClient(This,enforcer);
346}
347static FORCEINLINE HRESULT INapClientManagement2_UnregisterEnforcementClient(INapClientManagement2* This,EnforcementEntityId id) {
348 return This->lpVtbl->UnregisterEnforcementClient(This,id);
349}
350static FORCEINLINE HRESULT INapClientManagement2_GetRegisteredSystemHealthAgents(INapClientManagement2* This,SystemHealthEntityCount *count,NapComponentRegistrationInfo **agents) {
351 return This->lpVtbl->GetRegisteredSystemHealthAgents(This,count,agents);
352}
353static FORCEINLINE HRESULT INapClientManagement2_GetRegisteredEnforcementClients(INapClientManagement2* This,EnforcementEntityCount *count,NapComponentRegistrationInfo **enforcers) {
354 return This->lpVtbl->GetRegisteredEnforcementClients(This,count,enforcers);
355}
356/*** INapClientManagement2 methods ***/
357static FORCEINLINE HRESULT INapClientManagement2_GetSystemIsolationInfoEx(INapClientManagement2* This,IsolationInfoEx **isolationInfo,WINBOOL *unknownConnections) {
358 return This->lpVtbl->GetSystemIsolationInfoEx(This,isolationInfo,unknownConnections);
359}
360#endif
361#endif
362
363#endif
364
365
366#endif /* __INapClientManagement2_INTERFACE_DEFINED__ */
367
368#endif
369/* Begin additional prototypes for all interfaces */
370
371
372/* End additional prototypes */
373
374#ifdef __cplusplus
375}
376#endif
377
378#endif /* __napmanagement_h__ */
Note: See TracBrowser for help on using the repository browser.