|
|
|
| 1 |
|
|
| 2 |
|
|
| 3 |
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
| 4 |
|
|
| 5 |
|
|
| 6 |
|
/* File created by MIDL compiler version 7.00.0499 */ |
| 7 |
|
/* Compiler settings for napmanagement.idl: |
| 8 |
|
Oicf, W1, Zp8, env=Win32 (32b run) |
| 9 |
|
protocol : dce , ms_ext, c_ext, robust |
| 10 |
|
error checks: allocation ref bounds_check enum stub_data |
| 11 |
|
VC __declspec() decoration level: |
| 12 |
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable) |
| 13 |
|
DECLSPEC_UUID(), MIDL_INTERFACE() |
| 14 |
|
*/ |
| 15 |
|
//@@MIDL_FILE_HEADING( ) |
| 16 |
|
|
| 17 |
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */ |
| 18 |
|
|
| 19 |
|
|
| 20 |
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/ |
| 21 |
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| 22 |
|
#define __REQUIRED_RPCNDR_H_VERSION__ 500 |
| 23 |
|
#endif |
| 24 |
|
|
| 25 |
|
/* verify that the <rpcsal.h> version is high enough to compile this file*/ |
| 26 |
|
#ifndef __REQUIRED_RPCSAL_H_VERSION__ |
| 27 |
|
#define __REQUIRED_RPCSAL_H_VERSION__ 100 |
| 28 |
|
#endif |
| 29 |
|
|
| 30 |
|
#include "rpc.h" |
| 31 |
|
#include "rpcndr.h" |
| 32 |
|
|
| 33 |
|
#ifndef __RPCNDR_H_VERSION__ |
| 34 |
|
#error this stub requires an updated version of <rpcndr.h> |
| 35 |
|
#endif // __RPCNDR_H_VERSION__ |
| 36 |
|
|
| 37 |
|
#ifndef COM_NO_WINDOWS_H |
| 38 |
|
#include "windows.h" |
| 39 |
|
#include "ole2.h" |
| 40 |
|
#endif /*COM_NO_WINDOWS_H*/ |
| 41 |
|
|
| 42 |
|
#ifndef __napmanagement_h__ |
| 43 |
|
#define __napmanagement_h__ |
| 44 |
|
|
| 45 |
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020) |
| 46 |
|
#pragma once |
| 47 |
|
#endif |
| 48 |
|
|
| 49 |
|
/* Forward Declarations */ |
| 50 |
|
|
| 51 |
|
#ifndef __INapClientManagement_FWD_DEFINED__ |
| 52 |
|
#define __INapClientManagement_FWD_DEFINED__ |
| 53 |
|
typedef interface INapClientManagement INapClientManagement; |
| 54 |
|
#endif /* __INapClientManagement_FWD_DEFINED__ */ |
| 55 |
|
|
| 56 |
|
|
| 57 |
|
/* header files for imported files */ |
| 58 |
|
#include "NapTypes.h" |
| 59 |
|
|
| 60 |
|
#ifdef __cplusplus |
| 61 |
|
extern "C"{ |
| 62 |
|
#endif |
| 63 |
|
|
| 64 |
|
|
| 65 |
|
#ifndef __INapClientManagement_INTERFACE_DEFINED__ |
| 66 |
|
#define __INapClientManagement_INTERFACE_DEFINED__ |
| 67 |
|
|
| 68 |
|
/* interface INapClientManagement */ |
| 69 |
|
/* [unique][uuid][object] */ |
| 70 |
|
|
| 71 |
|
|
| 72 |
|
EXTERN_C const IID IID_INapClientManagement; |
| 73 |
|
|
| 74 |
|
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 75 |
|
|
| 76 |
|
MIDL_INTERFACE("432a1da5-3888-4b9a-a734-cff1e448c5b9") |
| 77 |
|
INapClientManagement : public IUnknown |
| 78 |
|
{ |
| 79 |
|
public: |
| 80 |
|
virtual HRESULT STDMETHODCALLTYPE GetNapClientInfo( |
| 81 |
|
/* [out] */ __RPC__out BOOL *isNapEnabled, |
| 82 |
|
/* [out] */ __RPC__deref_out_opt CountedString **clientName, |
| 83 |
|
/* [out] */ __RPC__deref_out_opt CountedString **clientDescription, |
| 84 |
|
/* [out] */ __RPC__deref_out_opt CountedString **protocolVersion) = 0; |
| 85 |
|
|
| 86 |
|
virtual HRESULT STDMETHODCALLTYPE GetSystemIsolationInfo( |
| 87 |
|
/* [out] */ __RPC__deref_out_opt IsolationInfo **isolationInfo, |
| 88 |
|
/* [out] */ __RPC__out BOOL *unknownConnections) = 0; |
| 89 |
|
|
| 90 |
|
virtual HRESULT STDMETHODCALLTYPE RegisterSystemHealthAgent( |
| 91 |
|
/* [in] */ __RPC__in const NapComponentRegistrationInfo *agent) = 0; |
| 92 |
|
|
| 93 |
|
virtual HRESULT STDMETHODCALLTYPE UnregisterSystemHealthAgent( |
| 94 |
|
/* [in] */ SystemHealthEntityId id) = 0; |
| 95 |
|
|
| 96 |
|
virtual HRESULT STDMETHODCALLTYPE RegisterEnforcementClient( |
| 97 |
|
/* [in] */ __RPC__in const NapComponentRegistrationInfo *enforcer) = 0; |
| 98 |
|
|
| 99 |
|
virtual HRESULT STDMETHODCALLTYPE UnregisterEnforcementClient( |
| 100 |
|
/* [in] */ EnforcementEntityId id) = 0; |
| 101 |
|
|
| 102 |
|
virtual HRESULT STDMETHODCALLTYPE GetRegisteredSystemHealthAgents( |
| 103 |
|
/* [out] */ __RPC__out SystemHealthEntityCount *count, |
| 104 |
|
/* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*count) NapComponentRegistrationInfo **agents) = 0; |
| 105 |
|
|
| 106 |
|
virtual HRESULT STDMETHODCALLTYPE GetRegisteredEnforcementClients( |
| 107 |
|
/* [out] */ __RPC__out EnforcementEntityCount *count, |
| 108 |
|
/* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*count) NapComponentRegistrationInfo **enforcers) = 0; |
| 109 |
|
|
| 110 |
|
}; |
| 111 |
|
|
| 112 |
|
#else /* C style interface */ |
| 113 |
|
|
| 114 |
|
typedef struct INapClientManagementVtbl |
| 115 |
|
{ |
| 116 |
|
BEGIN_INTERFACE |
| 117 |
|
|
| 118 |
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| 119 |
|
INapClientManagement * This, |
| 120 |
|
/* [in] */ __RPC__in REFIID riid, |
| 121 |
|
/* [iid_is][out] */ |
| 122 |
|
__RPC__deref_out void **ppvObject); |
| 123 |
|
|
| 124 |
|
ULONG ( STDMETHODCALLTYPE *AddRef )( |
| 125 |
|
INapClientManagement * This); |
| 126 |
|
|
| 127 |
|
ULONG ( STDMETHODCALLTYPE *Release )( |
| 128 |
|
INapClientManagement * This); |
| 129 |
|
|
| 130 |
|
HRESULT ( STDMETHODCALLTYPE *GetNapClientInfo )( |
| 131 |
|
INapClientManagement * This, |
| 142 |
|
HRESULT ( STDMETHODCALLTYPE *RegisterSystemHealthAgent )( |
| 143 |
|
INapClientManagement * This, |
| 144 |
|
/* [in] */ __RPC__in const NapComponentRegistrationInfo *agent); |
| 145 |
|
|
| 146 |
|
HRESULT ( STDMETHODCALLTYPE *UnregisterSystemHealthAgent )( |
| 147 |
|
INapClientManagement * This, |
| 148 |
|
/* [in] */ SystemHealthEntityId id); |
| 149 |
|
|
| 150 |
|
HRESULT ( STDMETHODCALLTYPE *RegisterEnforcementClient )( |
| 151 |
|
INapClientManagement * This, |
| 152 |
|
/* [in] */ __RPC__in const NapComponentRegistrationInfo *enforcer); |
| 153 |
|
|
| 154 |
|
HRESULT ( STDMETHODCALLTYPE *UnregisterEnforcementClient )( |
| 155 |
|
INapClientManagement * This, |
| 156 |
|
/* [in] */ EnforcementEntityId id); |
| 157 |
|
|
| 158 |
|
HRESULT ( STDMETHODCALLTYPE *GetRegisteredSystemHealthAgents )( |
| 159 |
|
INapClientManagement * This, |
| 160 |
|
/* [out] */ __RPC__out SystemHealthEntityCount *count, |
| 161 |
|
/* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*count) NapComponentRegistrationInfo **agents); |
| 162 |
|
|
| 163 |
|
HRESULT ( STDMETHODCALLTYPE *GetRegisteredEnforcementClients )( |
| 164 |
|
INapClientManagement * This, |
| 165 |
|
/* [out] */ __RPC__out EnforcementEntityCount *count, |
| 166 |
|
/* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*count) NapComponentRegistrationInfo **enforcers); |
| 167 |
|
|
| 168 |
|
END_INTERFACE |
| 169 |
|
} INapClientManagementVtbl; |
| 170 |
|
|
| 171 |
|
interface INapClientManagement |
| 172 |
|
{ |
| 173 |
|
CONST_VTBL struct INapClientManagementVtbl *lpVtbl; |
| 174 |
|
}; |
| 175 |
|
|
| 176 |
|
|
| 177 |
|
|
| 178 |
|
#ifdef COBJMACROS |
| 179 |
|
|
| 180 |
|
|
| 181 |
|
#define INapClientManagement_QueryInterface(This,riid,ppvObject) \ |
| 182 |
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
| 183 |
|
|
| 184 |
|
#define INapClientManagement_AddRef(This) \ |
| 185 |
|
( (This)->lpVtbl -> AddRef(This) ) |
| 186 |
|
|
| 187 |
|
#define INapClientManagement_Release(This) \ |
| 188 |
|
( (This)->lpVtbl -> Release(This) ) |
| 189 |
|
|
| 190 |
|
|
| 191 |
|
#define INapClientManagement_GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion) \ |
| 192 |
|
( (This)->lpVtbl -> GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion) ) |
| 193 |
|
|
| 194 |
|
#define INapClientManagement_GetSystemIsolationInfo(This,isolationInfo,unknownConnections) \ |
| 195 |
|
( (This)->lpVtbl -> GetSystemIsolationInfo(This,isolationInfo,unknownConnections) ) |
| 196 |
|
|
| 197 |
|
#define INapClientManagement_RegisterSystemHealthAgent(This,agent) \ |
| 198 |
|
( (This)->lpVtbl -> RegisterSystemHealthAgent(This,agent) ) |
| 199 |
|
|
| 200 |
|
#define INapClientManagement_UnregisterSystemHealthAgent(This,id) \ |
| 201 |
|
( (This)->lpVtbl -> UnregisterSystemHealthAgent(This,id) ) |
| 202 |
|
|
| 203 |
|
#define INapClientManagement_RegisterEnforcementClient(This,enforcer) \ |
| 204 |
|
( (This)->lpVtbl -> RegisterEnforcementClient(This,enforcer) ) |
| 205 |
|
|
| 206 |
|
#define INapClientManagement_UnregisterEnforcementClient(This,id) \ |
| 207 |
|
( (This)->lpVtbl -> UnregisterEnforcementClient(This,id) ) |
| 208 |
|
|
| 209 |
|
#define INapClientManagement_GetRegisteredSystemHealthAgents(This,count,agents) \ |
| 210 |
|
( (This)->lpVtbl -> GetRegisteredSystemHealthAgents(This,count,agents) ) |
| 211 |
|
|
| 212 |
|
#define INapClientManagement_GetRegisteredEnforcementClients(This,count,enforcers) \ |
| 213 |
|
( (This)->lpVtbl -> GetRegisteredEnforcementClients(This,count,enforcers) ) |
| 214 |
|
|
| 215 |
|
#endif /* COBJMACROS */ |
| 216 |
|
|
| 217 |
|
|
| 218 |
|
#endif /* C style interface */ |
| 219 |
|
|
| 220 |
|
|
| 221 |
|
|
| 222 |
|
|
| 223 |
|
#endif /* __INapClientManagement_INTERFACE_DEFINED__ */ |
| 224 |
|
|
| 225 |
|
|
| 226 |
|
/* interface __MIDL_itf_napmanagement_0000_0001 */ |
| 227 |
|
/* [local] */ |
| 228 |
|
|
| 229 |
|
// Declarations of CLSIDs of objects provided |
| 230 |
|
// by the system. Link to uuid.lib to get them |
| 231 |
|
// defined. |
| 232 |
|
EXTERN_C const CLSID |
| 233 |
|
CLSID_NapClientManagement; |
| 234 |
|
|
| 235 |
|
|
| 236 |
|
extern RPC_IF_HANDLE __MIDL_itf_napmanagement_0000_0001_v0_0_c_ifspec; |
| 237 |
|
extern RPC_IF_HANDLE __MIDL_itf_napmanagement_0000_0001_v0_0_s_ifspec; |
| 238 |
|
|
| 239 |
|
/* Additional Prototypes for ALL interfaces */ |
| 240 |
|
|
| 241 |
|
/* end of Additional Prototypes */ |
| 242 |
|
|
| 243 |
|
#ifdef __cplusplus |
| 244 |
|
} |
| 245 |
|
#endif |
| 246 |
|
|
| 247 |
|
#endif |
| 248 |
|
|
| 249 |
|
|
| 250 |
|
|
| 251 |
|
|
|
|
|