zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

napservermanagement.h (10302B) - Raw


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