INapSystemHealthAgentCallback::ProcessSoHResponse method

Note

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

The INapSystemHealthAgentCallback::ProcessSoHResponse method is called when the NapAgent receives an SoHResponse destined for this health agent.

Syntax

HRESULT ProcessSoHResponse(
  [in] INapSystemHealthAgentRequest *request
);

Parameters

request [in]

A COM pointer to a INapSystemHealthAgentRequest object that identifies the request object.

Return value

This method can return one of these values.

Return code Description
S_OK
Indicates success.
NAP_E_INVALID_PACKET
Returned by this implementation if the response is not in the correct format.

Remarks

This callback method is declared by the NAP system and is to be implemented by the SHA writer.

When the NapAgent receives an SoHResponse destined for this health agent, it invokes this method. The health agent must query the SoHResponse from the request object. It must not hold references to the request object once this call has completed.

The INapSystemHealthAgentCallback::ProcessSoHResponse method must not block. If any fix-up processing is required, any implementation of ProcessSoHResponse must start a new thread to perform fix-up processing. The NapAgent must call INapSystemHealthAgentCallBack::GetFixupInfo to determine the fix-up status of the SHA.

This method must return NAP_E_INVALID_PACKET if the response is not in the correct format.

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

See also

INapSystemHealthAgentCallback