napservermanagement.h 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. /*** Autogenerated by WIDL 7.7 from include/napservermanagement.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 __napservermanagement_h__
  14. #define __napservermanagement_h__
  15. /* Forward declarations */
  16. #ifndef __INapServerManagement_FWD_DEFINED__
  17. #define __INapServerManagement_FWD_DEFINED__
  18. typedef interface INapServerManagement INapServerManagement;
  19. #ifdef __cplusplus
  20. interface INapServerManagement;
  21. #endif /* __cplusplus */
  22. #endif
  23. #ifndef __INapServerInfo_FWD_DEFINED__
  24. #define __INapServerInfo_FWD_DEFINED__
  25. typedef interface INapServerInfo INapServerInfo;
  26. #ifdef __cplusplus
  27. interface INapServerInfo;
  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. #ifndef __INapServerInfo_FWD_DEFINED__
  39. #define __INapServerInfo_FWD_DEFINED__
  40. typedef interface INapServerInfo INapServerInfo;
  41. #ifdef __cplusplus
  42. interface INapServerInfo;
  43. #endif /* __cplusplus */
  44. #endif
  45. #ifndef __INapServerManagement_FWD_DEFINED__
  46. #define __INapServerManagement_FWD_DEFINED__
  47. typedef interface INapServerManagement INapServerManagement;
  48. #ifdef __cplusplus
  49. interface INapServerManagement;
  50. #endif /* __cplusplus */
  51. #endif
  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. DEFINE_GUID(IID_INapServerManagement, 0x9de543e7, 0x0f23, 0x47e0, 0xa8,0xbc, 0x97,0x1a,0x89,0x4f,0x86,0xd4);
  60. #if defined(__cplusplus) && !defined(CINTERFACE)
  61. MIDL_INTERFACE("9de543e7-0f23-47e0-a8bc-971a894f86d4")
  62. INapServerManagement : public IUnknown
  63. {
  64. virtual HRESULT STDMETHODCALLTYPE RegisterSystemHealthValidator(
  65. const NapComponentRegistrationInfo *validator,
  66. const CLSID *validatorClsid) = 0;
  67. virtual HRESULT STDMETHODCALLTYPE UnregisterSystemHealthValidator(
  68. SystemHealthEntityId id) = 0;
  69. virtual HRESULT STDMETHODCALLTYPE SetFailureCategoryMappings(
  70. SystemHealthEntityId id,
  71. const FailureCategoryMapping mapping) = 0;
  72. };
  73. #ifdef __CRT_UUID_DECL
  74. __CRT_UUID_DECL(INapServerManagement, 0x9de543e7, 0x0f23, 0x47e0, 0xa8,0xbc, 0x97,0x1a,0x89,0x4f,0x86,0xd4)
  75. #endif
  76. #else
  77. typedef struct INapServerManagementVtbl {
  78. BEGIN_INTERFACE
  79. /*** IUnknown methods ***/
  80. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  81. INapServerManagement *This,
  82. REFIID riid,
  83. void **ppvObject);
  84. ULONG (STDMETHODCALLTYPE *AddRef)(
  85. INapServerManagement *This);
  86. ULONG (STDMETHODCALLTYPE *Release)(
  87. INapServerManagement *This);
  88. /*** INapServerManagement methods ***/
  89. HRESULT (STDMETHODCALLTYPE *RegisterSystemHealthValidator)(
  90. INapServerManagement *This,
  91. const NapComponentRegistrationInfo *validator,
  92. const CLSID *validatorClsid);
  93. HRESULT (STDMETHODCALLTYPE *UnregisterSystemHealthValidator)(
  94. INapServerManagement *This,
  95. SystemHealthEntityId id);
  96. HRESULT (STDMETHODCALLTYPE *SetFailureCategoryMappings)(
  97. INapServerManagement *This,
  98. SystemHealthEntityId id,
  99. const FailureCategoryMapping mapping);
  100. END_INTERFACE
  101. } INapServerManagementVtbl;
  102. interface INapServerManagement {
  103. CONST_VTBL INapServerManagementVtbl* lpVtbl;
  104. };
  105. #ifdef COBJMACROS
  106. #ifndef WIDL_C_INLINE_WRAPPERS
  107. /*** IUnknown methods ***/
  108. #define INapServerManagement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  109. #define INapServerManagement_AddRef(This) (This)->lpVtbl->AddRef(This)
  110. #define INapServerManagement_Release(This) (This)->lpVtbl->Release(This)
  111. /*** INapServerManagement methods ***/
  112. #define INapServerManagement_RegisterSystemHealthValidator(This,validator,validatorClsid) (This)->lpVtbl->RegisterSystemHealthValidator(This,validator,validatorClsid)
  113. #define INapServerManagement_UnregisterSystemHealthValidator(This,id) (This)->lpVtbl->UnregisterSystemHealthValidator(This,id)
  114. #define INapServerManagement_SetFailureCategoryMappings(This,id,mapping) (This)->lpVtbl->SetFailureCategoryMappings(This,id,mapping)
  115. #else
  116. /*** IUnknown methods ***/
  117. static FORCEINLINE HRESULT INapServerManagement_QueryInterface(INapServerManagement* This,REFIID riid,void **ppvObject) {
  118. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  119. }
  120. static FORCEINLINE ULONG INapServerManagement_AddRef(INapServerManagement* This) {
  121. return This->lpVtbl->AddRef(This);
  122. }
  123. static FORCEINLINE ULONG INapServerManagement_Release(INapServerManagement* This) {
  124. return This->lpVtbl->Release(This);
  125. }
  126. /*** INapServerManagement methods ***/
  127. static FORCEINLINE HRESULT INapServerManagement_RegisterSystemHealthValidator(INapServerManagement* This,const NapComponentRegistrationInfo *validator,const CLSID *validatorClsid) {
  128. return This->lpVtbl->RegisterSystemHealthValidator(This,validator,validatorClsid);
  129. }
  130. static FORCEINLINE HRESULT INapServerManagement_UnregisterSystemHealthValidator(INapServerManagement* This,SystemHealthEntityId id) {
  131. return This->lpVtbl->UnregisterSystemHealthValidator(This,id);
  132. }
  133. static FORCEINLINE HRESULT INapServerManagement_SetFailureCategoryMappings(INapServerManagement* This,SystemHealthEntityId id,const FailureCategoryMapping mapping) {
  134. return This->lpVtbl->SetFailureCategoryMappings(This,id,mapping);
  135. }
  136. #endif
  137. #endif
  138. #endif
  139. #endif /* __INapServerManagement_INTERFACE_DEFINED__ */
  140. /*****************************************************************************
  141. * INapServerInfo interface
  142. */
  143. #ifndef __INapServerInfo_INTERFACE_DEFINED__
  144. #define __INapServerInfo_INTERFACE_DEFINED__
  145. DEFINE_GUID(IID_INapServerInfo, 0x599f9021, 0x5643, 0x4965, 0x99,0x49, 0xe8,0x89,0x75,0xef,0xff,0x0e);
  146. #if defined(__cplusplus) && !defined(CINTERFACE)
  147. MIDL_INTERFACE("599f9021-5643-4965-9949-e88975efff0e")
  148. INapServerInfo : public IUnknown
  149. {
  150. virtual HRESULT STDMETHODCALLTYPE GetNapServerInfo(
  151. CountedString **serverName,
  152. CountedString **serverDescription,
  153. CountedString **protocolVersion) = 0;
  154. virtual HRESULT STDMETHODCALLTYPE GetRegisteredSystemHealthValidators(
  155. SystemHealthEntityCount *count,
  156. NapComponentRegistrationInfo **validators,
  157. CLSID **validatorClsids) = 0;
  158. virtual HRESULT STDMETHODCALLTYPE GetFailureCategoryMappings(
  159. SystemHealthEntityId id,
  160. FailureCategoryMapping *mapping) = 0;
  161. };
  162. #ifdef __CRT_UUID_DECL
  163. __CRT_UUID_DECL(INapServerInfo, 0x599f9021, 0x5643, 0x4965, 0x99,0x49, 0xe8,0x89,0x75,0xef,0xff,0x0e)
  164. #endif
  165. #else
  166. typedef struct INapServerInfoVtbl {
  167. BEGIN_INTERFACE
  168. /*** IUnknown methods ***/
  169. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  170. INapServerInfo *This,
  171. REFIID riid,
  172. void **ppvObject);
  173. ULONG (STDMETHODCALLTYPE *AddRef)(
  174. INapServerInfo *This);
  175. ULONG (STDMETHODCALLTYPE *Release)(
  176. INapServerInfo *This);
  177. /*** INapServerInfo methods ***/
  178. HRESULT (STDMETHODCALLTYPE *GetNapServerInfo)(
  179. INapServerInfo *This,
  180. CountedString **serverName,
  181. CountedString **serverDescription,
  182. CountedString **protocolVersion);
  183. HRESULT (STDMETHODCALLTYPE *GetRegisteredSystemHealthValidators)(
  184. INapServerInfo *This,
  185. SystemHealthEntityCount *count,
  186. NapComponentRegistrationInfo **validators,
  187. CLSID **validatorClsids);
  188. HRESULT (STDMETHODCALLTYPE *GetFailureCategoryMappings)(
  189. INapServerInfo *This,
  190. SystemHealthEntityId id,
  191. FailureCategoryMapping *mapping);
  192. END_INTERFACE
  193. } INapServerInfoVtbl;
  194. interface INapServerInfo {
  195. CONST_VTBL INapServerInfoVtbl* lpVtbl;
  196. };
  197. #ifdef COBJMACROS
  198. #ifndef WIDL_C_INLINE_WRAPPERS
  199. /*** IUnknown methods ***/
  200. #define INapServerInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  201. #define INapServerInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
  202. #define INapServerInfo_Release(This) (This)->lpVtbl->Release(This)
  203. /*** INapServerInfo methods ***/
  204. #define INapServerInfo_GetNapServerInfo(This,serverName,serverDescription,protocolVersion) (This)->lpVtbl->GetNapServerInfo(This,serverName,serverDescription,protocolVersion)
  205. #define INapServerInfo_GetRegisteredSystemHealthValidators(This,count,validators,validatorClsids) (This)->lpVtbl->GetRegisteredSystemHealthValidators(This,count,validators,validatorClsids)
  206. #define INapServerInfo_GetFailureCategoryMappings(This,id,mapping) (This)->lpVtbl->GetFailureCategoryMappings(This,id,mapping)
  207. #else
  208. /*** IUnknown methods ***/
  209. static FORCEINLINE HRESULT INapServerInfo_QueryInterface(INapServerInfo* This,REFIID riid,void **ppvObject) {
  210. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  211. }
  212. static FORCEINLINE ULONG INapServerInfo_AddRef(INapServerInfo* This) {
  213. return This->lpVtbl->AddRef(This);
  214. }
  215. static FORCEINLINE ULONG INapServerInfo_Release(INapServerInfo* This) {
  216. return This->lpVtbl->Release(This);
  217. }
  218. /*** INapServerInfo methods ***/
  219. static FORCEINLINE HRESULT INapServerInfo_GetNapServerInfo(INapServerInfo* This,CountedString **serverName,CountedString **serverDescription,CountedString **protocolVersion) {
  220. return This->lpVtbl->GetNapServerInfo(This,serverName,serverDescription,protocolVersion);
  221. }
  222. static FORCEINLINE HRESULT INapServerInfo_GetRegisteredSystemHealthValidators(INapServerInfo* This,SystemHealthEntityCount *count,NapComponentRegistrationInfo **validators,CLSID **validatorClsids) {
  223. return This->lpVtbl->GetRegisteredSystemHealthValidators(This,count,validators,validatorClsids);
  224. }
  225. static FORCEINLINE HRESULT INapServerInfo_GetFailureCategoryMappings(INapServerInfo* This,SystemHealthEntityId id,FailureCategoryMapping *mapping) {
  226. return This->lpVtbl->GetFailureCategoryMappings(This,id,mapping);
  227. }
  228. #endif
  229. #endif
  230. #endif
  231. #endif /* __INapServerInfo_INTERFACE_DEFINED__ */
  232. #endif
  233. /* Begin additional prototypes for all interfaces */
  234. /* End additional prototypes */
  235. #ifdef __cplusplus
  236. }
  237. #endif
  238. #endif /* __napservermanagement_h__ */