| 1 | 
 /** | 
 
 
 
 
 
 | 2 | 
  * This file is part of the mingw-w64 runtime package. | 
 
 
 
 
 
 | 3 | 
  * No warranty is given; refer to the file DISCLAIMER within this package. | 
 
 
 
 
 
 | 4 | 
  */ | 
 
 
 
 
 
 | 5 | 
  | 
 
 
 
 
 
 | 6 | 
 import "naptypes.idl"; | 
 
 
 
 
 
 | 7 | 
 import "unknwn.idl"; | 
 
 
 
 
 
 | 8 | 
  | 
 
 
 
 
 
 | 9 | 
 cpp_quote("#include <winapifamily.h>") | 
 
 
 
 
 
 | 10 | 
 cpp_quote("") | 
 
 
 
 
 
 | 11 | 
 cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") | 
 
 
 
 
 
 | 12 | 
  | 
 
 
 
 
 
 | 13 | 
 interface INapServerCallback; | 
 
 
 
 
 
 | 14 | 
 interface INapSystemHealthValidator; | 
 
 
 
 
 
 | 15 | 
 interface INapSystemHealthValidationRequest; | 
 
 
 
 
 
 | 16 | 
  | 
 
 
 
 
 
 | 17 | 
 [object, uuid (EF43D87C-5b6d-4820-8620-868907fe07d3), async_uuid (2516031a-A391-454d-B53D-C5DC84C7F2DB), pointer_default (unique)] | 
 
 
 
 
 
 | 18 | 
 interface INapSystemHealthValidator : IUnknown { | 
 
 
 
 
 
 | 19 | 
   HRESULT Validate ([in] INapSystemHealthValidationRequest *request,[in] UINT32 hintTimeOutInMsec,[in] INapServerCallback *callback); | 
 
 
 
 
 
 | 20 | 
 }; | 
 
 
 
 
 
 | 21 | 
  | 
 
 
 
 
 
 | 22 | 
 [object, uuid (09c20568-F30C-489b-AE9C-4930ad7f165f), pointer_default (unique)] | 
 
 
 
 
 
 | 23 | 
 interface INapServerCallback : IUnknown { | 
 
 
 
 
 
 | 24 | 
   HRESULT OnComplete ([in] INapSystemHealthValidationRequest *request,[in] HRESULT errorCode); | 
 
 
 
 
 
 | 25 | 
 }; | 
 
 
 
 
 
 | 26 | 
  | 
 
 
 
 
 
 | 27 | 
 [object, uuid (ADACB3A0-D4F4-4f17-8933-51d60fcca606), pointer_default (unique)] | 
 
 
 
 
 
 | 28 | 
 interface INapSystemHealthValidationRequest : IUnknown { | 
 
 
 
 
 
 | 29 | 
   HRESULT GetCorrelationId ([out] CorrelationId *correlationId); | 
 
 
 
 
 
 | 30 | 
   HRESULT GetStringCorrelationId ([out] StringCorrelationId **correlationId); | 
 
 
 
 
 
 | 31 | 
   HRESULT GetMachineName ([out] CountedString **machineName); | 
 
 
 
 
 
 | 32 | 
   HRESULT GetSoHRequest ([out] SoHRequest **sohRequest,[out] WINBOOL *napSystemGenerated); | 
 
 
 
 
 
 | 33 | 
   HRESULT SetSoHResponse ([in] const SoHResponse *sohResponse); | 
 
 
 
 
 
 | 34 | 
   HRESULT GetSoHResponse ([out] SoHResponse **sohResponse); | 
 
 
 
 
 
 | 35 | 
   HRESULT SetPrivateData ([in] const PrivateData *privateData); | 
 
 
 
 
 
 | 36 | 
   HRESULT GetPrivateData ([out] PrivateData **privateData); | 
 
 
 
 
 
 | 37 | 
 }; | 
 
 
 
 
 
 | 38 | 
  | 
 
 
 
 
 
 | 39 | 
 [object, uuid (91a5d706-0cb4-4a84-8315-9380d453e385), pointer_default (unique)] | 
 
 
 
 
 
 | 40 | 
 interface INapSystemHealthValidationRequest2 : INapSystemHealthValidationRequest { | 
 
 
 
 
 
 | 41 | 
   HRESULT GetConfigID ([out] UINT32 *configID); | 
 
 
 
 
 
 | 42 | 
 }; | 
 
 
 
 
 
 | 43 | 
 cpp_quote("#endif") |