INapSystemHealthAgentRequest::GetSoHResponse method

Note

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

The INapSystemHealthAgentRequest::GetSoHResponse method is used by the health agent to retrieve their SoHResponse blob when the NapAgent calls INapSystemHealthAgentCallback::ProcessSoHResponse.

Syntax

HRESULT GetSoHResponse(
  [out] SoHResponse **sohResponse,
  [out] UINT8       *flags
);

Parameters

sohResponse [out]

A pointer to a pointer to a SoHResponse packet.

flags [out]

A pointer to a flag that enables fix-up by the SHA if the shaFixup bit is set, otherwise fix-up is disabled.

Possible Values Meaning
shaFixup
The SHA is expected to perform the fixup based on the response. If this flag is not set, the SHA should not perform a fix-up even though the SoHResponse indicates that it is unhealthy.

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
NapSystemHealthAgent.h
IDL
NapSystemHealthAgent.idl
DLL
Qagentrt.dll

See also

INapSystemHealthAgentRequest