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