INapEnforcementClientConnection::SetSoHRequest method

Note

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

The INapEnforcementClientConnection::SetSoHRequest method sets the SoH-Request.

Syntax

HRESULT SetSoHRequest(
  [in, unique] const NetworkSoHRequest *sohRequest
);

Parameters

sohRequest [in]

A pointer to a unique NetworkSoHRequest structure, which is an opaque data blob to the enforcer.

Return value

Other COM-specific error codes also may be returned.

Return code Description
S_OK
The SoH packet is valid.
E_ACCESSDENIED
Permissions error, access denied.
E_OUTOFMEMORY
System resource limit, could not perform the operation.

Remarks

This is set by the NapAgent and queried by enforcers to send on the wire.

A zero byte length SoH packet is invalid.

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