napsystemhealthvalidator.idl 1.8 KB

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