INapEnforcementClientCallback::GetConnections method

Note

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

The INapEnforcementClientCallback::GetConnections callback method is called by the NapAgent and implemented by the enforcement client to return a set of connections.

Syntax

HRESULT GetConnections(
  [out] Connections **connections
);

Parameters

connections [out]

A pointer to the current set of maintained Connections.

Return value

This callback method must return one the following error codes.

Return code Description
S_OK
Return this value if the operation succeeded.
RPC_S_SERVER_UNAVAILABLE
Returning this value causes the enforcer to be removed from the bound-SHA list, and the corresponding NapAgent cache entry to be flushed. The failing SHA can then re-initialize itself with the NapAgent.

Requirements

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

See also

INapEnforcementClientCallback