INapEnforcementClientBinding::Uninitialize method
Note
The Network Access Protection platform is not available starting with Windows 10
The INapEnforcementClientBinding::Uninitialize method concludes the NapAgent service.
Syntax
HRESULT Uninitialize();
Parameters
This method has no parameters.
Return value
Other COM-specific error codes also may be returned.
Return code | Description |
---|---|
|
The operation is successful. |
|
Permissions error, access denied. |
|
System resource limit, could not perform the operation. |
Remarks
The NapAgent blocks further processing until all existing calls on the INapEnforcementClientBinding and INapEnforcementClientCallback interfaces complete. At the end of this call, the NapAgent releases all its references on enforcement client COM pointers.
Before this function is called, the enforcer must call INapEnforcementClientBinding::NotifyConnectionStateDown on all its active connections, so the SHAs can be notified if any of their SoH-Requests were orphaned.
The enforcement client must call the INapEnforcementClientBinding::Initialize method before calling this or any other method of the INapEnforcementClientBinding interface.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
IDL |
|
DLL |
|