| 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 | cpp_quote("EXTERN_C const CLSID CLSID_NapClientManagement;") | 
|---|
| 14 |  | 
|---|
| 15 | [object, uuid (432a1da5-3888-4b9a-a734-cff1e448c5b9), pointer_default (unique)] | 
|---|
| 16 | interface INapClientManagement : IUnknown { | 
|---|
| 17 | HRESULT GetNapClientInfo ([out] WINBOOL *isNapEnabled,[out] CountedString **clientName,[out] CountedString **clientDescription,[out] CountedString **protocolVersion); | 
|---|
| 18 | HRESULT GetSystemIsolationInfo ([out] IsolationInfo **isolationInfo,[out] WINBOOL *unknownConnections); | 
|---|
| 19 | HRESULT RegisterSystemHealthAgent ([in] const NapComponentRegistrationInfo *agent); | 
|---|
| 20 | HRESULT UnregisterSystemHealthAgent ([in] SystemHealthEntityId id); | 
|---|
| 21 | HRESULT RegisterEnforcementClient ([in] const NapComponentRegistrationInfo *enforcer); | 
|---|
| 22 | HRESULT UnregisterEnforcementClient ([in] EnforcementEntityId id); | 
|---|
| 23 | HRESULT GetRegisteredSystemHealthAgents ([out] SystemHealthEntityCount *count,[out, size_is (,*count)] NapComponentRegistrationInfo **agents); | 
|---|
| 24 | HRESULT GetRegisteredEnforcementClients ([out] EnforcementEntityCount *count,[out, size_is (,*count)] NapComponentRegistrationInfo **enforcers); | 
|---|
| 25 | }; | 
|---|
| 26 |  | 
|---|
| 27 | [object, uuid (07a1127b-18cc-422a-b988-e892600fcc74), pointer_default (unique)] | 
|---|
| 28 | interface INapClientManagement2 : INapClientManagement { | 
|---|
| 29 | HRESULT GetSystemIsolationInfoEx ([out] IsolationInfoEx **isolationInfo,[out] WINBOOL *unknownConnections); | 
|---|
| 30 | }; | 
|---|
| 31 | cpp_quote("#endif") | 
|---|