INapSystemHealthAgentBinding::GetSystemIsolationInfo method

Note

The Network Access Protection platform is not available starting with Windows 10

The INapSystemHealthAgentBinding::GetSystemIsolationInfo method is called by SHAs to determine the system isolation state.

Note

Use INapSystemHealthAgentBinding2::GetSystemIsolationInfoEx in order to determine the extended isolation state of the system.

Syntax

HRESULT GetSystemIsolationInfo(
  [out] IsolationInfo **isolationInfo,
  [out] BOOL          *unknownConnections
);

Parameters

isolationInfo [out]

A pointer to a pointer to an IsolationInfo structure that contains the isolation state of the system for known connections. isolationInfoindicates if the system is in a state of restricted access, probation, or unrestricted access.

unknownConnections [out]

A pointer to a BOOL that is TRUE if any connections are in an unknown state and FALSE otherwise.

Return value

Other COM-specific error codes also may be returned.

Return code Description
S_OK
Operation succeeded.
E_ACCESSDENIED
Permissions error, access denied.
E_OUTOFMEMORY
System resource limit, could not perform the operation.
NAP_E_NOT_INITIALIZED
The SHA has not been previously initialized.
RPC_E_DISCONNECTED
The NapAgent has been stopped. This object will recover automatically and rebind to the NapAgent, once it restarts.

Remarks

The SHA must call Initialize before calling this method or any other method of the INapSystemHealthAgentBinding2 interface.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
NapSystemHealthAgent.h
IDL
NapSystemHealthAgent.idl
DLL
Qagent.dll

See also

INapSystemHealthAgentBinding