INapEnforcementClientConnection::SetEnforcerPrivateData method

Note

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

The INapEnforcementClientConnection::SetEnforcerPrivateData method is used by the enforcer to set private data.

Syntax

HRESULT SetEnforcerPrivateData(
  [in] const PrivateData *privateData
);

Parameters

privateData [in]

A pointer to a PrivateData opaque data blob that only the enforcer can interpret.

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.

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
DLL
Qagent.dll

See also

INapEnforcementClientConnection