INapClientManagement::UnregisterEnforcementClient method

Note

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

The UnregisterEnforcementClient method unregisters an enforcement client with the NAP system.

Syntax

HRESULT UnregisterEnforcementClient(
  [in] EnforcementEntityId id
);

Parameters

id [in]

An EnforcementEntityId value that identifies the enforcement client to unregister.

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.
NAP_E_STILL_BOUND
The enforcement client could not be unregistered and remains bound.

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