INapClientManagement::GetSystemIsolationInfo method

Note

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

The GetSystemIsolationInfo method retrieves information about the isolation state of the NapClient.

Syntax

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

Parameters

isolationInfo [out]

A pointer to a pointer to an IsolationInfo structure that contains isolation state information.

unknownConnections [out]

A pointer to a flag that indicates whether any of the connections are in an unknown state. If any of them are, the flag is set to TRUE; otherwise the flag is set to FALSE.

Return value

The method returns an HRESULT status code including but not limited to one of the following.

Return code Description
S_OK
Operation successful.
E_ACCESSDENIED
Permissions error, access denied.
E_OUTOFMEMORY
System resource limit, could not perform the operation.
RPC_E_DISCONNECTED
The NapAgent is not running.

Remarks

The isolation information that is retrieved does not reflect unknown states.

Requirements

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

See also

INapClientManagement