1 /*** Autogenerated by WIDL 6.4 from include/napsystemhealthagent.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 __napsystemhealthagent_h__ 17 #define __napsystemhealthagent_h__ 18 19 /* Forward declarations */ 20 21 #ifndef __INapSystemHealthAgentBinding_FWD_DEFINED__ 22 #define __INapSystemHealthAgentBinding_FWD_DEFINED__ 23 typedef interface INapSystemHealthAgentBinding INapSystemHealthAgentBinding; 24 #ifdef __cplusplus 25 interface INapSystemHealthAgentBinding; 26 #endif /* __cplusplus */ 27 #endif 28 29 #ifndef __INapSystemHealthAgentBinding2_FWD_DEFINED__ 30 #define __INapSystemHealthAgentBinding2_FWD_DEFINED__ 31 typedef interface INapSystemHealthAgentBinding2 INapSystemHealthAgentBinding2; 32 #ifdef __cplusplus 33 interface INapSystemHealthAgentBinding2; 34 #endif /* __cplusplus */ 35 #endif 36 37 #ifndef __INapSystemHealthAgentCallback_FWD_DEFINED__ 38 #define __INapSystemHealthAgentCallback_FWD_DEFINED__ 39 typedef interface INapSystemHealthAgentCallback INapSystemHealthAgentCallback; 40 #ifdef __cplusplus 41 interface INapSystemHealthAgentCallback; 42 #endif /* __cplusplus */ 43 #endif 44 45 #ifndef __AsyncINapSystemHealthAgentCallback_FWD_DEFINED__ 46 #define __AsyncINapSystemHealthAgentCallback_FWD_DEFINED__ 47 typedef interface AsyncINapSystemHealthAgentCallback AsyncINapSystemHealthAgentCallback; 48 #ifdef __cplusplus 49 interface AsyncINapSystemHealthAgentCallback; 50 #endif /* __cplusplus */ 51 #endif 52 53 #ifndef __INapSystemHealthAgentRequest_FWD_DEFINED__ 54 #define __INapSystemHealthAgentRequest_FWD_DEFINED__ 55 typedef interface INapSystemHealthAgentRequest INapSystemHealthAgentRequest; 56 #ifdef __cplusplus 57 interface INapSystemHealthAgentRequest; 58 #endif /* __cplusplus */ 59 #endif 60 61 /* Headers for imported files */ 62 63 #include <naptypes.h> 64 #include <unknwn.h> 65 66 #ifdef __cplusplus 67 extern "C" { 68 #endif 69 70 #include <winapifamily.h> 71 72 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) 73 #ifndef __INapSystemHealthAgentBinding_FWD_DEFINED__ 74 #define __INapSystemHealthAgentBinding_FWD_DEFINED__ 75 typedef interface INapSystemHealthAgentBinding INapSystemHealthAgentBinding; 76 #ifdef __cplusplus 77 interface INapSystemHealthAgentBinding; 78 #endif /* __cplusplus */ 79 #endif 80 81 #ifndef __INapSystemHealthAgentCallback_FWD_DEFINED__ 82 #define __INapSystemHealthAgentCallback_FWD_DEFINED__ 83 typedef interface INapSystemHealthAgentCallback INapSystemHealthAgentCallback; 84 #ifdef __cplusplus 85 interface INapSystemHealthAgentCallback; 86 #endif /* __cplusplus */ 87 #endif 88 89 #ifndef __INapSystemHealthAgentRequest_FWD_DEFINED__ 90 #define __INapSystemHealthAgentRequest_FWD_DEFINED__ 91 typedef interface INapSystemHealthAgentRequest INapSystemHealthAgentRequest; 92 #ifdef __cplusplus 93 interface INapSystemHealthAgentRequest; 94 #endif /* __cplusplus */ 95 #endif 96 97 EXTERN_C const CLSID CLSID_NapSystemHealthAgentBinding; 98 /***************************************************************************** 99 * INapSystemHealthAgentBinding interface 100 */ 101 #ifndef __INapSystemHealthAgentBinding_INTERFACE_DEFINED__ 102 #define __INapSystemHealthAgentBinding_INTERFACE_DEFINED__ 103 104 DEFINE_GUID(IID_INapSystemHealthAgentBinding, 0xa6894f43, 0x9cc7, 0x44c9, 0xa2,0x3f, 0x19,0xdb,0xf3,0x6b,0xad,0x28); 105 #if defined(__cplusplus) && !defined(CINTERFACE) 106 MIDL_INTERFACE("a6894f43-9cc7-44c9-a23f-19dbf36bad28") 107 INapSystemHealthAgentBinding : public IUnknown 108 { 109 virtual HRESULT STDMETHODCALLTYPE Initialize( 110 SystemHealthEntityId id, 111 INapSystemHealthAgentCallback *callback) = 0; 112 113 virtual HRESULT STDMETHODCALLTYPE Uninitialize( 114 ) = 0; 115 116 virtual HRESULT STDMETHODCALLTYPE NotifySoHChange( 117 ) = 0; 118 119 virtual HRESULT STDMETHODCALLTYPE GetSystemIsolationInfo( 120 IsolationInfo **isolationInfo, 121 WINBOOL *unknownConnections) = 0; 122 123 virtual HRESULT STDMETHODCALLTYPE FlushCache( 124 ) = 0; 125 126 }; 127 #ifdef __CRT_UUID_DECL 128 __CRT_UUID_DECL(INapSystemHealthAgentBinding, 0xa6894f43, 0x9cc7, 0x44c9, 0xa2,0x3f, 0x19,0xdb,0xf3,0x6b,0xad,0x28) 129 #endif 130 #else 131 typedef struct INapSystemHealthAgentBindingVtbl { 132 BEGIN_INTERFACE 133 134 /*** IUnknown methods ***/ 135 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 136 INapSystemHealthAgentBinding *This, 137 REFIID riid, 138 void **ppvObject); 139 140 ULONG (STDMETHODCALLTYPE *AddRef)( 141 INapSystemHealthAgentBinding *This); 142 143 ULONG (STDMETHODCALLTYPE *Release)( 144 INapSystemHealthAgentBinding *This); 145 146 /*** INapSystemHealthAgentBinding methods ***/ 147 HRESULT (STDMETHODCALLTYPE *Initialize)( 148 INapSystemHealthAgentBinding *This, 149 SystemHealthEntityId id, 150 INapSystemHealthAgentCallback *callback); 151 152 HRESULT (STDMETHODCALLTYPE *Uninitialize)( 153 INapSystemHealthAgentBinding *This); 154 155 HRESULT (STDMETHODCALLTYPE *NotifySoHChange)( 156 INapSystemHealthAgentBinding *This); 157 158 HRESULT (STDMETHODCALLTYPE *GetSystemIsolationInfo)( 159 INapSystemHealthAgentBinding *This, 160 IsolationInfo **isolationInfo, 161 WINBOOL *unknownConnections); 162 163 HRESULT (STDMETHODCALLTYPE *FlushCache)( 164 INapSystemHealthAgentBinding *This); 165 166 END_INTERFACE 167 } INapSystemHealthAgentBindingVtbl; 168 169 interface INapSystemHealthAgentBinding { 170 CONST_VTBL INapSystemHealthAgentBindingVtbl* lpVtbl; 171 }; 172 173 #ifdef COBJMACROS 174 #ifndef WIDL_C_INLINE_WRAPPERS 175 /*** IUnknown methods ***/ 176 #define INapSystemHealthAgentBinding_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 177 #define INapSystemHealthAgentBinding_AddRef(This) (This)->lpVtbl->AddRef(This) 178 #define INapSystemHealthAgentBinding_Release(This) (This)->lpVtbl->Release(This) 179 /*** INapSystemHealthAgentBinding methods ***/ 180 #define INapSystemHealthAgentBinding_Initialize(This,id,callback) (This)->lpVtbl->Initialize(This,id,callback) 181 #define INapSystemHealthAgentBinding_Uninitialize(This) (This)->lpVtbl->Uninitialize(This) 182 #define INapSystemHealthAgentBinding_NotifySoHChange(This) (This)->lpVtbl->NotifySoHChange(This) 183 #define INapSystemHealthAgentBinding_GetSystemIsolationInfo(This,isolationInfo,unknownConnections) (This)->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections) 184 #define INapSystemHealthAgentBinding_FlushCache(This) (This)->lpVtbl->FlushCache(This) 185 #else 186 /*** IUnknown methods ***/ 187 static FORCEINLINE HRESULT INapSystemHealthAgentBinding_QueryInterface(INapSystemHealthAgentBinding* This,REFIID riid,void **ppvObject) { 188 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 189 } 190 static FORCEINLINE ULONG INapSystemHealthAgentBinding_AddRef(INapSystemHealthAgentBinding* This) { 191 return This->lpVtbl->AddRef(This); 192 } 193 static FORCEINLINE ULONG INapSystemHealthAgentBinding_Release(INapSystemHealthAgentBinding* This) { 194 return This->lpVtbl->Release(This); 195 } 196 /*** INapSystemHealthAgentBinding methods ***/ 197 static FORCEINLINE HRESULT INapSystemHealthAgentBinding_Initialize(INapSystemHealthAgentBinding* This,SystemHealthEntityId id,INapSystemHealthAgentCallback *callback) { 198 return This->lpVtbl->Initialize(This,id,callback); 199 } 200 static FORCEINLINE HRESULT INapSystemHealthAgentBinding_Uninitialize(INapSystemHealthAgentBinding* This) { 201 return This->lpVtbl->Uninitialize(This); 202 } 203 static FORCEINLINE HRESULT INapSystemHealthAgentBinding_NotifySoHChange(INapSystemHealthAgentBinding* This) { 204 return This->lpVtbl->NotifySoHChange(This); 205 } 206 static FORCEINLINE HRESULT INapSystemHealthAgentBinding_GetSystemIsolationInfo(INapSystemHealthAgentBinding* This,IsolationInfo **isolationInfo,WINBOOL *unknownConnections) { 207 return This->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections); 208 } 209 static FORCEINLINE HRESULT INapSystemHealthAgentBinding_FlushCache(INapSystemHealthAgentBinding* This) { 210 return This->lpVtbl->FlushCache(This); 211 } 212 #endif 213 #endif 214 215 #endif 216 217 218 #endif /* __INapSystemHealthAgentBinding_INTERFACE_DEFINED__ */ 219 220 /***************************************************************************** 221 * INapSystemHealthAgentBinding2 interface 222 */ 223 #ifndef __INapSystemHealthAgentBinding2_INTERFACE_DEFINED__ 224 #define __INapSystemHealthAgentBinding2_INTERFACE_DEFINED__ 225 226 DEFINE_GUID(IID_INapSystemHealthAgentBinding2, 0x1140c38e, 0x5100, 0x4ea1, 0x8d,0x43, 0x87,0xd3,0x26,0x72,0x40,0x28); 227 #if defined(__cplusplus) && !defined(CINTERFACE) 228 MIDL_INTERFACE("1140c38e-5100-4ea1-8d43-87d326724028") 229 INapSystemHealthAgentBinding2 : public INapSystemHealthAgentBinding 230 { 231 virtual HRESULT STDMETHODCALLTYPE GetSystemIsolationInfoEx( 232 IsolationInfoEx **isolationInfo, 233 WINBOOL *unknownConnections) = 0; 234 235 }; 236 #ifdef __CRT_UUID_DECL 237 __CRT_UUID_DECL(INapSystemHealthAgentBinding2, 0x1140c38e, 0x5100, 0x4ea1, 0x8d,0x43, 0x87,0xd3,0x26,0x72,0x40,0x28) 238 #endif 239 #else 240 typedef struct INapSystemHealthAgentBinding2Vtbl { 241 BEGIN_INTERFACE 242 243 /*** IUnknown methods ***/ 244 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 245 INapSystemHealthAgentBinding2 *This, 246 REFIID riid, 247 void **ppvObject); 248 249 ULONG (STDMETHODCALLTYPE *AddRef)( 250 INapSystemHealthAgentBinding2 *This); 251 252 ULONG (STDMETHODCALLTYPE *Release)( 253 INapSystemHealthAgentBinding2 *This); 254 255 /*** INapSystemHealthAgentBinding methods ***/ 256 HRESULT (STDMETHODCALLTYPE *Initialize)( 257 INapSystemHealthAgentBinding2 *This, 258 SystemHealthEntityId id, 259 INapSystemHealthAgentCallback *callback); 260 261 HRESULT (STDMETHODCALLTYPE *Uninitialize)( 262 INapSystemHealthAgentBinding2 *This); 263 264 HRESULT (STDMETHODCALLTYPE *NotifySoHChange)( 265 INapSystemHealthAgentBinding2 *This); 266 267 HRESULT (STDMETHODCALLTYPE *GetSystemIsolationInfo)( 268 INapSystemHealthAgentBinding2 *This, 269 IsolationInfo **isolationInfo, 270 WINBOOL *unknownConnections); 271 272 HRESULT (STDMETHODCALLTYPE *FlushCache)( 273 INapSystemHealthAgentBinding2 *This); 274 275 /*** INapSystemHealthAgentBinding2 methods ***/ 276 HRESULT (STDMETHODCALLTYPE *GetSystemIsolationInfoEx)( 277 INapSystemHealthAgentBinding2 *This, 278 IsolationInfoEx **isolationInfo, 279 WINBOOL *unknownConnections); 280 281 END_INTERFACE 282 } INapSystemHealthAgentBinding2Vtbl; 283 284 interface INapSystemHealthAgentBinding2 { 285 CONST_VTBL INapSystemHealthAgentBinding2Vtbl* lpVtbl; 286 }; 287 288 #ifdef COBJMACROS 289 #ifndef WIDL_C_INLINE_WRAPPERS 290 /*** IUnknown methods ***/ 291 #define INapSystemHealthAgentBinding2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 292 #define INapSystemHealthAgentBinding2_AddRef(This) (This)->lpVtbl->AddRef(This) 293 #define INapSystemHealthAgentBinding2_Release(This) (This)->lpVtbl->Release(This) 294 /*** INapSystemHealthAgentBinding methods ***/ 295 #define INapSystemHealthAgentBinding2_Initialize(This,id,callback) (This)->lpVtbl->Initialize(This,id,callback) 296 #define INapSystemHealthAgentBinding2_Uninitialize(This) (This)->lpVtbl->Uninitialize(This) 297 #define INapSystemHealthAgentBinding2_NotifySoHChange(This) (This)->lpVtbl->NotifySoHChange(This) 298 #define INapSystemHealthAgentBinding2_GetSystemIsolationInfo(This,isolationInfo,unknownConnections) (This)->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections) 299 #define INapSystemHealthAgentBinding2_FlushCache(This) (This)->lpVtbl->FlushCache(This) 300 /*** INapSystemHealthAgentBinding2 methods ***/ 301 #define INapSystemHealthAgentBinding2_GetSystemIsolationInfoEx(This,isolationInfo,unknownConnections) (This)->lpVtbl->GetSystemIsolationInfoEx(This,isolationInfo,unknownConnections) 302 #else 303 /*** IUnknown methods ***/ 304 static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_QueryInterface(INapSystemHealthAgentBinding2* This,REFIID riid,void **ppvObject) { 305 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 306 } 307 static FORCEINLINE ULONG INapSystemHealthAgentBinding2_AddRef(INapSystemHealthAgentBinding2* This) { 308 return This->lpVtbl->AddRef(This); 309 } 310 static FORCEINLINE ULONG INapSystemHealthAgentBinding2_Release(INapSystemHealthAgentBinding2* This) { 311 return This->lpVtbl->Release(This); 312 } 313 /*** INapSystemHealthAgentBinding methods ***/ 314 static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_Initialize(INapSystemHealthAgentBinding2* This,SystemHealthEntityId id,INapSystemHealthAgentCallback *callback) { 315 return This->lpVtbl->Initialize(This,id,callback); 316 } 317 static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_Uninitialize(INapSystemHealthAgentBinding2* This) { 318 return This->lpVtbl->Uninitialize(This); 319 } 320 static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_NotifySoHChange(INapSystemHealthAgentBinding2* This) { 321 return This->lpVtbl->NotifySoHChange(This); 322 } 323 static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_GetSystemIsolationInfo(INapSystemHealthAgentBinding2* This,IsolationInfo **isolationInfo,WINBOOL *unknownConnections) { 324 return This->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections); 325 } 326 static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_FlushCache(INapSystemHealthAgentBinding2* This) { 327 return This->lpVtbl->FlushCache(This); 328 } 329 /*** INapSystemHealthAgentBinding2 methods ***/ 330 static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_GetSystemIsolationInfoEx(INapSystemHealthAgentBinding2* This,IsolationInfoEx **isolationInfo,WINBOOL *unknownConnections) { 331 return This->lpVtbl->GetSystemIsolationInfoEx(This,isolationInfo,unknownConnections); 332 } 333 #endif 334 #endif 335 336 #endif 337 338 339 #endif /* __INapSystemHealthAgentBinding2_INTERFACE_DEFINED__ */ 340 341 /***************************************************************************** 342 * INapSystemHealthAgentCallback interface 343 */ 344 #ifndef __INapSystemHealthAgentCallback_INTERFACE_DEFINED__ 345 #define __INapSystemHealthAgentCallback_INTERFACE_DEFINED__ 346 347 DEFINE_GUID(IID_INapSystemHealthAgentCallback, 0xf1072a57, 0x214f, 0x4ee2, 0x83,0x77, 0x14,0xef,0x14,0x0c,0xd9,0xf3); 348 #if defined(__cplusplus) && !defined(CINTERFACE) 349 MIDL_INTERFACE("f1072a57-214f-4ee2-8377-14ef140cd9f3") 350 INapSystemHealthAgentCallback : public IUnknown 351 { 352 virtual HRESULT STDMETHODCALLTYPE GetSoHRequest( 353 INapSystemHealthAgentRequest *request) = 0; 354 355 virtual HRESULT STDMETHODCALLTYPE ProcessSoHResponse( 356 INapSystemHealthAgentRequest *request) = 0; 357 358 virtual HRESULT STDMETHODCALLTYPE NotifySystemIsolationStateChange( 359 ) = 0; 360 361 virtual HRESULT STDMETHODCALLTYPE GetFixupInfo( 362 FixupInfo **info) = 0; 363 364 virtual HRESULT STDMETHODCALLTYPE CompareSoHRequests( 365 const SoHRequest *lhs, 366 const SoHRequest *rhs, 367 WINBOOL *isEqual) = 0; 368 369 virtual HRESULT STDMETHODCALLTYPE NotifyOrphanedSoHRequest( 370 const CorrelationId *correlationId) = 0; 371 372 }; 373 #ifdef __CRT_UUID_DECL 374 __CRT_UUID_DECL(INapSystemHealthAgentCallback, 0xf1072a57, 0x214f, 0x4ee2, 0x83,0x77, 0x14,0xef,0x14,0x0c,0xd9,0xf3) 375 #endif 376 #else 377 typedef struct INapSystemHealthAgentCallbackVtbl { 378 BEGIN_INTERFACE 379 380 /*** IUnknown methods ***/ 381 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 382 INapSystemHealthAgentCallback *This, 383 REFIID riid, 384 void **ppvObject); 385 386 ULONG (STDMETHODCALLTYPE *AddRef)( 387 INapSystemHealthAgentCallback *This); 388 389 ULONG (STDMETHODCALLTYPE *Release)( 390 INapSystemHealthAgentCallback *This); 391 392 /*** INapSystemHealthAgentCallback methods ***/ 393 HRESULT (STDMETHODCALLTYPE *GetSoHRequest)( 394 INapSystemHealthAgentCallback *This, 395 INapSystemHealthAgentRequest *request); 396 397 HRESULT (STDMETHODCALLTYPE *ProcessSoHResponse)( 398 INapSystemHealthAgentCallback *This, 399 INapSystemHealthAgentRequest *request); 400 401 HRESULT (STDMETHODCALLTYPE *NotifySystemIsolationStateChange)( 402 INapSystemHealthAgentCallback *This); 403 404 HRESULT (STDMETHODCALLTYPE *GetFixupInfo)( 405 INapSystemHealthAgentCallback *This, 406 FixupInfo **info); 407 408 HRESULT (STDMETHODCALLTYPE *CompareSoHRequests)( 409 INapSystemHealthAgentCallback *This, 410 const SoHRequest *lhs, 411 const SoHRequest *rhs, 412 WINBOOL *isEqual); 413 414 HRESULT (STDMETHODCALLTYPE *NotifyOrphanedSoHRequest)( 415 INapSystemHealthAgentCallback *This, 416 const CorrelationId *correlationId); 417 418 END_INTERFACE 419 } INapSystemHealthAgentCallbackVtbl; 420 421 interface INapSystemHealthAgentCallback { 422 CONST_VTBL INapSystemHealthAgentCallbackVtbl* lpVtbl; 423 }; 424 425 #ifdef COBJMACROS 426 #ifndef WIDL_C_INLINE_WRAPPERS 427 /*** IUnknown methods ***/ 428 #define INapSystemHealthAgentCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 429 #define INapSystemHealthAgentCallback_AddRef(This) (This)->lpVtbl->AddRef(This) 430 #define INapSystemHealthAgentCallback_Release(This) (This)->lpVtbl->Release(This) 431 /*** INapSystemHealthAgentCallback methods ***/ 432 #define INapSystemHealthAgentCallback_GetSoHRequest(This,request) (This)->lpVtbl->GetSoHRequest(This,request) 433 #define INapSystemHealthAgentCallback_ProcessSoHResponse(This,request) (This)->lpVtbl->ProcessSoHResponse(This,request) 434 #define INapSystemHealthAgentCallback_NotifySystemIsolationStateChange(This) (This)->lpVtbl->NotifySystemIsolationStateChange(This) 435 #define INapSystemHealthAgentCallback_GetFixupInfo(This,info) (This)->lpVtbl->GetFixupInfo(This,info) 436 #define INapSystemHealthAgentCallback_CompareSoHRequests(This,lhs,rhs,isEqual) (This)->lpVtbl->CompareSoHRequests(This,lhs,rhs,isEqual) 437 #define INapSystemHealthAgentCallback_NotifyOrphanedSoHRequest(This,correlationId) (This)->lpVtbl->NotifyOrphanedSoHRequest(This,correlationId) 438 #else 439 /*** IUnknown methods ***/ 440 static FORCEINLINE HRESULT INapSystemHealthAgentCallback_QueryInterface(INapSystemHealthAgentCallback* This,REFIID riid,void **ppvObject) { 441 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 442 } 443 static FORCEINLINE ULONG INapSystemHealthAgentCallback_AddRef(INapSystemHealthAgentCallback* This) { 444 return This->lpVtbl->AddRef(This); 445 } 446 static FORCEINLINE ULONG INapSystemHealthAgentCallback_Release(INapSystemHealthAgentCallback* This) { 447 return This->lpVtbl->Release(This); 448 } 449 /*** INapSystemHealthAgentCallback methods ***/ 450 static FORCEINLINE HRESULT INapSystemHealthAgentCallback_GetSoHRequest(INapSystemHealthAgentCallback* This,INapSystemHealthAgentRequest *request) { 451 return This->lpVtbl->GetSoHRequest(This,request); 452 } 453 static FORCEINLINE HRESULT INapSystemHealthAgentCallback_ProcessSoHResponse(INapSystemHealthAgentCallback* This,INapSystemHealthAgentRequest *request) { 454 return This->lpVtbl->ProcessSoHResponse(This,request); 455 } 456 static FORCEINLINE HRESULT INapSystemHealthAgentCallback_NotifySystemIsolationStateChange(INapSystemHealthAgentCallback* This) { 457 return This->lpVtbl->NotifySystemIsolationStateChange(This); 458 } 459 static FORCEINLINE HRESULT INapSystemHealthAgentCallback_GetFixupInfo(INapSystemHealthAgentCallback* This,FixupInfo **info) { 460 return This->lpVtbl->GetFixupInfo(This,info); 461 } 462 static FORCEINLINE HRESULT INapSystemHealthAgentCallback_CompareSoHRequests(INapSystemHealthAgentCallback* This,const SoHRequest *lhs,const SoHRequest *rhs,WINBOOL *isEqual) { 463 return This->lpVtbl->CompareSoHRequests(This,lhs,rhs,isEqual); 464 } 465 static FORCEINLINE HRESULT INapSystemHealthAgentCallback_NotifyOrphanedSoHRequest(INapSystemHealthAgentCallback* This,const CorrelationId *correlationId) { 466 return This->lpVtbl->NotifyOrphanedSoHRequest(This,correlationId); 467 } 468 #endif 469 #endif 470 471 #endif 472 473 474 #endif /* __INapSystemHealthAgentCallback_INTERFACE_DEFINED__ */ 475 476 /***************************************************************************** 477 * AsyncINapSystemHealthAgentCallback interface 478 */ 479 #ifndef __AsyncINapSystemHealthAgentCallback_INTERFACE_DEFINED__ 480 #define __AsyncINapSystemHealthAgentCallback_INTERFACE_DEFINED__ 481 482 DEFINE_GUID(IID_AsyncINapSystemHealthAgentCallback, 0x860d8fd9, 0x0219, 0x43ea, 0xae,0x7f, 0x59,0x61,0x1f,0x4c,0xc1,0x6a); 483 #if defined(__cplusplus) && !defined(CINTERFACE) 484 MIDL_INTERFACE("860d8fd9-0219-43ea-ae7f-59611f4cc16a") 485 AsyncINapSystemHealthAgentCallback : public IUnknown 486 { 487 virtual HRESULT STDMETHODCALLTYPE Begin_GetSoHRequest( 488 INapSystemHealthAgentRequest *request) = 0; 489 490 virtual HRESULT STDMETHODCALLTYPE Finish_GetSoHRequest( 491 ) = 0; 492 493 virtual HRESULT STDMETHODCALLTYPE Begin_ProcessSoHResponse( 494 INapSystemHealthAgentRequest *request) = 0; 495 496 virtual HRESULT STDMETHODCALLTYPE Finish_ProcessSoHResponse( 497 ) = 0; 498 499 virtual HRESULT STDMETHODCALLTYPE Begin_NotifySystemIsolationStateChange( 500 ) = 0; 501 502 virtual HRESULT STDMETHODCALLTYPE Finish_NotifySystemIsolationStateChange( 503 ) = 0; 504 505 virtual HRESULT STDMETHODCALLTYPE Begin_GetFixupInfo( 506 ) = 0; 507 508 virtual HRESULT STDMETHODCALLTYPE Finish_GetFixupInfo( 509 FixupInfo **info) = 0; 510 511 virtual HRESULT STDMETHODCALLTYPE Begin_CompareSoHRequests( 512 const SoHRequest *lhs, 513 const SoHRequest *rhs) = 0; 514 515 virtual HRESULT STDMETHODCALLTYPE Finish_CompareSoHRequests( 516 WINBOOL *isEqual) = 0; 517 518 virtual HRESULT STDMETHODCALLTYPE Begin_NotifyOrphanedSoHRequest( 519 const CorrelationId *correlationId) = 0; 520 521 virtual HRESULT STDMETHODCALLTYPE Finish_NotifyOrphanedSoHRequest( 522 ) = 0; 523 524 }; 525 #ifdef __CRT_UUID_DECL 526 __CRT_UUID_DECL(AsyncINapSystemHealthAgentCallback, 0x860d8fd9, 0x0219, 0x43ea, 0xae,0x7f, 0x59,0x61,0x1f,0x4c,0xc1,0x6a) 527 #endif 528 #else 529 typedef struct AsyncINapSystemHealthAgentCallbackVtbl { 530 BEGIN_INTERFACE 531 532 /*** IUnknown methods ***/ 533 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 534 AsyncINapSystemHealthAgentCallback *This, 535 REFIID riid, 536 void **ppvObject); 537 538 ULONG (STDMETHODCALLTYPE *AddRef)( 539 AsyncINapSystemHealthAgentCallback *This); 540 541 ULONG (STDMETHODCALLTYPE *Release)( 542 AsyncINapSystemHealthAgentCallback *This); 543 544 /*** AsyncINapSystemHealthAgentCallback methods ***/ 545 HRESULT (STDMETHODCALLTYPE *Begin_GetSoHRequest)( 546 AsyncINapSystemHealthAgentCallback *This, 547 INapSystemHealthAgentRequest *request); 548 549 HRESULT (STDMETHODCALLTYPE *Finish_GetSoHRequest)( 550 AsyncINapSystemHealthAgentCallback *This); 551 552 HRESULT (STDMETHODCALLTYPE *Begin_ProcessSoHResponse)( 553 AsyncINapSystemHealthAgentCallback *This, 554 INapSystemHealthAgentRequest *request); 555 556 HRESULT (STDMETHODCALLTYPE *Finish_ProcessSoHResponse)( 557 AsyncINapSystemHealthAgentCallback *This); 558 559 HRESULT (STDMETHODCALLTYPE *Begin_NotifySystemIsolationStateChange)( 560 AsyncINapSystemHealthAgentCallback *This); 561 562 HRESULT (STDMETHODCALLTYPE *Finish_NotifySystemIsolationStateChange)( 563 AsyncINapSystemHealthAgentCallback *This); 564 565 HRESULT (STDMETHODCALLTYPE *Begin_GetFixupInfo)( 566 AsyncINapSystemHealthAgentCallback *This); 567 568 HRESULT (STDMETHODCALLTYPE *Finish_GetFixupInfo)( 569 AsyncINapSystemHealthAgentCallback *This, 570 FixupInfo **info); 571 572 HRESULT (STDMETHODCALLTYPE *Begin_CompareSoHRequests)( 573 AsyncINapSystemHealthAgentCallback *This, 574 const SoHRequest *lhs, 575 const SoHRequest *rhs); 576 577 HRESULT (STDMETHODCALLTYPE *Finish_CompareSoHRequests)( 578 AsyncINapSystemHealthAgentCallback *This, 579 WINBOOL *isEqual); 580 581 HRESULT (STDMETHODCALLTYPE *Begin_NotifyOrphanedSoHRequest)( 582 AsyncINapSystemHealthAgentCallback *This, 583 const CorrelationId *correlationId); 584 585 HRESULT (STDMETHODCALLTYPE *Finish_NotifyOrphanedSoHRequest)( 586 AsyncINapSystemHealthAgentCallback *This); 587 588 END_INTERFACE 589 } AsyncINapSystemHealthAgentCallbackVtbl; 590 591 interface AsyncINapSystemHealthAgentCallback { 592 CONST_VTBL AsyncINapSystemHealthAgentCallbackVtbl* lpVtbl; 593 }; 594 595 #ifdef COBJMACROS 596 #ifndef WIDL_C_INLINE_WRAPPERS 597 /*** IUnknown methods ***/ 598 #define AsyncINapSystemHealthAgentCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 599 #define AsyncINapSystemHealthAgentCallback_AddRef(This) (This)->lpVtbl->AddRef(This) 600 #define AsyncINapSystemHealthAgentCallback_Release(This) (This)->lpVtbl->Release(This) 601 /*** AsyncINapSystemHealthAgentCallback methods ***/ 602 #define AsyncINapSystemHealthAgentCallback_Begin_GetSoHRequest(This,request) (This)->lpVtbl->Begin_GetSoHRequest(This,request) 603 #define AsyncINapSystemHealthAgentCallback_Finish_GetSoHRequest(This) (This)->lpVtbl->Finish_GetSoHRequest(This) 604 #define AsyncINapSystemHealthAgentCallback_Begin_ProcessSoHResponse(This,request) (This)->lpVtbl->Begin_ProcessSoHResponse(This,request) 605 #define AsyncINapSystemHealthAgentCallback_Finish_ProcessSoHResponse(This) (This)->lpVtbl->Finish_ProcessSoHResponse(This) 606 #define AsyncINapSystemHealthAgentCallback_Begin_NotifySystemIsolationStateChange(This) (This)->lpVtbl->Begin_NotifySystemIsolationStateChange(This) 607 #define AsyncINapSystemHealthAgentCallback_Finish_NotifySystemIsolationStateChange(This) (This)->lpVtbl->Finish_NotifySystemIsolationStateChange(This) 608 #define AsyncINapSystemHealthAgentCallback_Begin_GetFixupInfo(This) (This)->lpVtbl->Begin_GetFixupInfo(This) 609 #define AsyncINapSystemHealthAgentCallback_Finish_GetFixupInfo(This,info) (This)->lpVtbl->Finish_GetFixupInfo(This,info) 610 #define AsyncINapSystemHealthAgentCallback_Begin_CompareSoHRequests(This,lhs,rhs) (This)->lpVtbl->Begin_CompareSoHRequests(This,lhs,rhs) 611 #define AsyncINapSystemHealthAgentCallback_Finish_CompareSoHRequests(This,isEqual) (This)->lpVtbl->Finish_CompareSoHRequests(This,isEqual) 612 #define AsyncINapSystemHealthAgentCallback_Begin_NotifyOrphanedSoHRequest(This,correlationId) (This)->lpVtbl->Begin_NotifyOrphanedSoHRequest(This,correlationId) 613 #define AsyncINapSystemHealthAgentCallback_Finish_NotifyOrphanedSoHRequest(This) (This)->lpVtbl->Finish_NotifyOrphanedSoHRequest(This) 614 #else 615 /*** IUnknown methods ***/ 616 static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_QueryInterface(AsyncINapSystemHealthAgentCallback* This,REFIID riid,void **ppvObject) { 617 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 618 } 619 static FORCEINLINE ULONG AsyncINapSystemHealthAgentCallback_AddRef(AsyncINapSystemHealthAgentCallback* This) { 620 return This->lpVtbl->AddRef(This); 621 } 622 static FORCEINLINE ULONG AsyncINapSystemHealthAgentCallback_Release(AsyncINapSystemHealthAgentCallback* This) { 623 return This->lpVtbl->Release(This); 624 } 625 /*** AsyncINapSystemHealthAgentCallback methods ***/ 626 static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_Begin_GetSoHRequest(AsyncINapSystemHealthAgentCallback* This,INapSystemHealthAgentRequest *request) { 627 return This->lpVtbl->Begin_GetSoHRequest(This,request); 628 } 629 static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_Finish_GetSoHRequest(AsyncINapSystemHealthAgentCallback* This) { 630 return This->lpVtbl->Finish_GetSoHRequest(This); 631 } 632 static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_Begin_ProcessSoHResponse(AsyncINapSystemHealthAgentCallback* This,INapSystemHealthAgentRequest *request) { 633 return This->lpVtbl->Begin_ProcessSoHResponse(This,request); 634 } 635 static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_Finish_ProcessSoHResponse(AsyncINapSystemHealthAgentCallback* This) { 636 return This->lpVtbl->Finish_ProcessSoHResponse(This); 637 } 638 static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_Begin_NotifySystemIsolationStateChange(AsyncINapSystemHealthAgentCallback* This) { 639 return This->lpVtbl->Begin_NotifySystemIsolationStateChange(This); 640 } 641 static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_Finish_NotifySystemIsolationStateChange(AsyncINapSystemHealthAgentCallback* This) { 642 return This->lpVtbl->Finish_NotifySystemIsolationStateChange(This); 643 } 644 static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_Begin_GetFixupInfo(AsyncINapSystemHealthAgentCallback* This) { 645 return This->lpVtbl->Begin_GetFixupInfo(This); 646 } 647 static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_Finish_GetFixupInfo(AsyncINapSystemHealthAgentCallback* This,FixupInfo **info) { 648 return This->lpVtbl->Finish_GetFixupInfo(This,info); 649 } 650 static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_Begin_CompareSoHRequests(AsyncINapSystemHealthAgentCallback* This,const SoHRequest *lhs,const SoHRequest *rhs) { 651 return This->lpVtbl->Begin_CompareSoHRequests(This,lhs,rhs); 652 } 653 static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_Finish_CompareSoHRequests(AsyncINapSystemHealthAgentCallback* This,WINBOOL *isEqual) { 654 return This->lpVtbl->Finish_CompareSoHRequests(This,isEqual); 655 } 656 static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_Begin_NotifyOrphanedSoHRequest(AsyncINapSystemHealthAgentCallback* This,const CorrelationId *correlationId) { 657 return This->lpVtbl->Begin_NotifyOrphanedSoHRequest(This,correlationId); 658 } 659 static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_Finish_NotifyOrphanedSoHRequest(AsyncINapSystemHealthAgentCallback* This) { 660 return This->lpVtbl->Finish_NotifyOrphanedSoHRequest(This); 661 } 662 #endif 663 #endif 664 665 #endif 666 667 668 #endif /* __AsyncINapSystemHealthAgentCallback_INTERFACE_DEFINED__ */ 669 670 /***************************************************************************** 671 * INapSystemHealthAgentRequest interface 672 */ 673 #ifndef __INapSystemHealthAgentRequest_INTERFACE_DEFINED__ 674 #define __INapSystemHealthAgentRequest_INTERFACE_DEFINED__ 675 676 DEFINE_GUID(IID_INapSystemHealthAgentRequest, 0x5b360a69, 0x212d, 0x440d, 0xb3,0x98, 0x7e,0xef,0xd4,0x97,0x85,0x3a); 677 #if defined(__cplusplus) && !defined(CINTERFACE) 678 MIDL_INTERFACE("5b360a69-212d-440d-b398-7eefd497853a") 679 INapSystemHealthAgentRequest : public IUnknown 680 { 681 virtual HRESULT STDMETHODCALLTYPE GetCorrelationId( 682 CorrelationId *correlationId) = 0; 683 684 virtual HRESULT STDMETHODCALLTYPE GetStringCorrelationId( 685 StringCorrelationId **correlationId) = 0; 686 687 virtual HRESULT STDMETHODCALLTYPE SetSoHRequest( 688 const SoHRequest *sohRequest, 689 WINBOOL cacheSohForLaterUse) = 0; 690 691 virtual HRESULT STDMETHODCALLTYPE GetSoHRequest( 692 SoHRequest **sohRequest) = 0; 693 694 virtual HRESULT STDMETHODCALLTYPE GetSoHResponse( 695 SoHResponse **sohResponse, 696 UINT8 *flags) = 0; 697 698 virtual HRESULT STDMETHODCALLTYPE GetCacheSoHFlag( 699 WINBOOL *cacheSohForLaterUse) = 0; 700 701 }; 702 #ifdef __CRT_UUID_DECL 703 __CRT_UUID_DECL(INapSystemHealthAgentRequest, 0x5b360a69, 0x212d, 0x440d, 0xb3,0x98, 0x7e,0xef,0xd4,0x97,0x85,0x3a) 704 #endif 705 #else 706 typedef struct INapSystemHealthAgentRequestVtbl { 707 BEGIN_INTERFACE 708 709 /*** IUnknown methods ***/ 710 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 711 INapSystemHealthAgentRequest *This, 712 REFIID riid, 713 void **ppvObject); 714 715 ULONG (STDMETHODCALLTYPE *AddRef)( 716 INapSystemHealthAgentRequest *This); 717 718 ULONG (STDMETHODCALLTYPE *Release)( 719 INapSystemHealthAgentRequest *This); 720 721 /*** INapSystemHealthAgentRequest methods ***/ 722 HRESULT (STDMETHODCALLTYPE *GetCorrelationId)( 723 INapSystemHealthAgentRequest *This, 724 CorrelationId *correlationId); 725 726 HRESULT (STDMETHODCALLTYPE *GetStringCorrelationId)( 727 INapSystemHealthAgentRequest *This, 728 StringCorrelationId **correlationId); 729 730 HRESULT (STDMETHODCALLTYPE *SetSoHRequest)( 731 INapSystemHealthAgentRequest *This, 732 const SoHRequest *sohRequest, 733 WINBOOL cacheSohForLaterUse); 734 735 HRESULT (STDMETHODCALLTYPE *GetSoHRequest)( 736 INapSystemHealthAgentRequest *This, 737 SoHRequest **sohRequest); 738 739 HRESULT (STDMETHODCALLTYPE *GetSoHResponse)( 740 INapSystemHealthAgentRequest *This, 741 SoHResponse **sohResponse, 742 UINT8 *flags); 743 744 HRESULT (STDMETHODCALLTYPE *GetCacheSoHFlag)( 745 INapSystemHealthAgentRequest *This, 746 WINBOOL *cacheSohForLaterUse); 747 748 END_INTERFACE 749 } INapSystemHealthAgentRequestVtbl; 750 751 interface INapSystemHealthAgentRequest { 752 CONST_VTBL INapSystemHealthAgentRequestVtbl* lpVtbl; 753 }; 754 755 #ifdef COBJMACROS 756 #ifndef WIDL_C_INLINE_WRAPPERS 757 /*** IUnknown methods ***/ 758 #define INapSystemHealthAgentRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 759 #define INapSystemHealthAgentRequest_AddRef(This) (This)->lpVtbl->AddRef(This) 760 #define INapSystemHealthAgentRequest_Release(This) (This)->lpVtbl->Release(This) 761 /*** INapSystemHealthAgentRequest methods ***/ 762 #define INapSystemHealthAgentRequest_GetCorrelationId(This,correlationId) (This)->lpVtbl->GetCorrelationId(This,correlationId) 763 #define INapSystemHealthAgentRequest_GetStringCorrelationId(This,correlationId) (This)->lpVtbl->GetStringCorrelationId(This,correlationId) 764 #define INapSystemHealthAgentRequest_SetSoHRequest(This,sohRequest,cacheSohForLaterUse) (This)->lpVtbl->SetSoHRequest(This,sohRequest,cacheSohForLaterUse) 765 #define INapSystemHealthAgentRequest_GetSoHRequest(This,sohRequest) (This)->lpVtbl->GetSoHRequest(This,sohRequest) 766 #define INapSystemHealthAgentRequest_GetSoHResponse(This,sohResponse,flags) (This)->lpVtbl->GetSoHResponse(This,sohResponse,flags) 767 #define INapSystemHealthAgentRequest_GetCacheSoHFlag(This,cacheSohForLaterUse) (This)->lpVtbl->GetCacheSoHFlag(This,cacheSohForLaterUse) 768 #else 769 /*** IUnknown methods ***/ 770 static FORCEINLINE HRESULT INapSystemHealthAgentRequest_QueryInterface(INapSystemHealthAgentRequest* This,REFIID riid,void **ppvObject) { 771 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 772 } 773 static FORCEINLINE ULONG INapSystemHealthAgentRequest_AddRef(INapSystemHealthAgentRequest* This) { 774 return This->lpVtbl->AddRef(This); 775 } 776 static FORCEINLINE ULONG INapSystemHealthAgentRequest_Release(INapSystemHealthAgentRequest* This) { 777 return This->lpVtbl->Release(This); 778 } 779 /*** INapSystemHealthAgentRequest methods ***/ 780 static FORCEINLINE HRESULT INapSystemHealthAgentRequest_GetCorrelationId(INapSystemHealthAgentRequest* This,CorrelationId *correlationId) { 781 return This->lpVtbl->GetCorrelationId(This,correlationId); 782 } 783 static FORCEINLINE HRESULT INapSystemHealthAgentRequest_GetStringCorrelationId(INapSystemHealthAgentRequest* This,StringCorrelationId **correlationId) { 784 return This->lpVtbl->GetStringCorrelationId(This,correlationId); 785 } 786 static FORCEINLINE HRESULT INapSystemHealthAgentRequest_SetSoHRequest(INapSystemHealthAgentRequest* This,const SoHRequest *sohRequest,WINBOOL cacheSohForLaterUse) { 787 return This->lpVtbl->SetSoHRequest(This,sohRequest,cacheSohForLaterUse); 788 } 789 static FORCEINLINE HRESULT INapSystemHealthAgentRequest_GetSoHRequest(INapSystemHealthAgentRequest* This,SoHRequest **sohRequest) { 790 return This->lpVtbl->GetSoHRequest(This,sohRequest); 791 } 792 static FORCEINLINE HRESULT INapSystemHealthAgentRequest_GetSoHResponse(INapSystemHealthAgentRequest* This,SoHResponse **sohResponse,UINT8 *flags) { 793 return This->lpVtbl->GetSoHResponse(This,sohResponse,flags); 794 } 795 static FORCEINLINE HRESULT INapSystemHealthAgentRequest_GetCacheSoHFlag(INapSystemHealthAgentRequest* This,WINBOOL *cacheSohForLaterUse) { 796 return This->lpVtbl->GetCacheSoHFlag(This,cacheSohForLaterUse); 797 } 798 #endif 799 #endif 800 801 #endif 802 803 804 #endif /* __INapSystemHealthAgentRequest_INTERFACE_DEFINED__ */ 805 806 #endif 807 /* Begin additional prototypes for all interfaces */ 808 809 810 /* End additional prototypes */ 811 812 #ifdef __cplusplus 813 } 814 #endif 815 816 #endif /* __napsystemhealthagent_h__ */ 817