mingw-w64/mingw-w64-headers/include/napmanagement.idl
Kai Tietz 8e08dd63af Add NAP's management-interfaces
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@6541 4407c894-4637-0410-b4f5-ada5f102cad1
2014-03-24 11:27:45 +00:00

32 lines
1.6 KiB
Plaintext

/**
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
import "naptypes.idl";
import "unknwn.idl";
cpp_quote("#include <winapifamily.h>")
cpp_quote("")
cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
cpp_quote("EXTERN_C const CLSID CLSID_NapClientManagement;")
[object, uuid (432a1da5-3888-4b9a-a734-cff1e448c5b9), pointer_default (unique)]
interface INapClientManagement : IUnknown {
HRESULT GetNapClientInfo ([out] WINBOOL *isNapEnabled,[out] CountedString **clientName,[out] CountedString **clientDescription,[out] CountedString **protocolVersion);
HRESULT GetSystemIsolationInfo ([out] IsolationInfo **isolationInfo,[out] WINBOOL *unknownConnections);
HRESULT RegisterSystemHealthAgent ([in] const NapComponentRegistrationInfo *agent);
HRESULT UnregisterSystemHealthAgent ([in] SystemHealthEntityId id);
HRESULT RegisterEnforcementClient ([in] const NapComponentRegistrationInfo *enforcer);
HRESULT UnregisterEnforcementClient ([in] EnforcementEntityId id);
HRESULT GetRegisteredSystemHealthAgents ([out] SystemHealthEntityCount *count,[out, size_is (,*count)] NapComponentRegistrationInfo **agents);
HRESULT GetRegisteredEnforcementClients ([out] EnforcementEntityCount *count,[out, size_is (,*count)] NapComponentRegistrationInfo **enforcers);
};
[object, uuid (07a1127b-18cc-422a-b988-e892600fcc74), pointer_default (unique)]
interface INapClientManagement2 : INapClientManagement {
HRESULT GetSystemIsolationInfoEx ([out] IsolationInfoEx **isolationInfo,[out] WINBOOL *unknownConnections);
};
cpp_quote("#endif")