napmanagement.h 16 KB

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