napsystemhealthagent.idl 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 INapSystemHealthAgentBinding;
  11. interface INapSystemHealthAgentCallback;
  12. interface INapSystemHealthAgentRequest;
  13. cpp_quote("EXTERN_C const CLSID CLSID_NapSystemHealthAgentBinding;")
  14. [object, uuid (A6894F43-9cc7-44c9-A23F-19dbf36bad28), pointer_default (unique)]
  15. interface INapSystemHealthAgentBinding : IUnknown {
  16. HRESULT Initialize ([in] SystemHealthEntityId id,[in] INapSystemHealthAgentCallback *callback);
  17. HRESULT Uninitialize ();
  18. HRESULT NotifySoHChange ();
  19. HRESULT GetSystemIsolationInfo ([out] IsolationInfo **isolationInfo,[out] WINBOOL *unknownConnections);
  20. HRESULT FlushCache ();
  21. };
  22. [object, uuid (1140c38e-5100-4ea1-8d43-87d326724028), pointer_default (unique)]
  23. interface INapSystemHealthAgentBinding2 : INapSystemHealthAgentBinding {
  24. HRESULT GetSystemIsolationInfoEx ([out] IsolationInfoEx **isolationInfo,[out] WINBOOL *unknownConnections);
  25. };
  26. [object, uuid (F1072A57-214f-4ee2-8377-14ef140cd9f3), async_uuid (860d8fd9-0219-43ea-AE7F-59611f4cc16a), pointer_default (unique)]
  27. interface INapSystemHealthAgentCallback : IUnknown {
  28. HRESULT GetSoHRequest ([in] INapSystemHealthAgentRequest *request);
  29. HRESULT ProcessSoHResponse ([in] INapSystemHealthAgentRequest *request);
  30. HRESULT NotifySystemIsolationStateChange ();
  31. HRESULT GetFixupInfo ([out] FixupInfo **info);
  32. HRESULT CompareSoHRequests ([in] const SoHRequest *lhs,[in] const SoHRequest *rhs,[out] WINBOOL *isEqual);
  33. HRESULT NotifyOrphanedSoHRequest ([in] const CorrelationId *correlationId);
  34. };
  35. [object, uuid (5b360a69-212d-440d-B398-7eefd497853a), pointer_default (unique)]
  36. interface INapSystemHealthAgentRequest : IUnknown {
  37. HRESULT GetCorrelationId ([out] CorrelationId *correlationId);
  38. HRESULT GetStringCorrelationId ([out] StringCorrelationId **correlationId);
  39. HRESULT SetSoHRequest ([in] const SoHRequest *sohRequest,[in] WINBOOL cacheSohForLaterUse);
  40. HRESULT GetSoHRequest ([out] SoHRequest **sohRequest);
  41. HRESULT GetSoHResponse ([out] SoHResponse **sohResponse,[out] UINT8 *flags);
  42. HRESULT GetCacheSoHFlag (WINBOOL *cacheSohForLaterUse);
  43. };
  44. cpp_quote("#endif")