napservermanagement.idl 1.5 KB

1234567891011121314151617181920212223242526272829303132
  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 INapServerInfo;
  11. interface INapServerManagement;
  12. cpp_quote("EXTERN_C const CLSID CLSID_NapServerManagement;")
  13. cpp_quote("EXTERN_C const CLSID CLSID_NapServerInfo;")
  14. [object, uuid (9de543e7-0f23-47e0-a8bc-971a894f86d4), pointer_default (unique)]
  15. interface INapServerManagement : IUnknown {
  16. HRESULT RegisterSystemHealthValidator ([in] const NapComponentRegistrationInfo *validator,[in] const CLSID *validatorClsid);
  17. HRESULT UnregisterSystemHealthValidator ([in] SystemHealthEntityId id);
  18. HRESULT SetFailureCategoryMappings ([in] SystemHealthEntityId id,[in] const FailureCategoryMapping mapping);
  19. };
  20. [object, uuid (599f9021-5643-4965-9949-e88975efff0e), pointer_default (unique)]
  21. interface INapServerInfo : IUnknown {
  22. HRESULT GetNapServerInfo ([out] CountedString **serverName,[out] CountedString **serverDescription,[out] CountedString **protocolVersion);
  23. HRESULT GetRegisteredSystemHealthValidators ([out] SystemHealthEntityCount *count,[out, size_is (,*count)] NapComponentRegistrationInfo **validators,[out, size_is (,*count)] CLSID **validatorClsids);
  24. HRESULT GetFailureCategoryMappings ([in] SystemHealthEntityId id,[out] FailureCategoryMapping *mapping);
  25. };
  26. cpp_quote("#endif")