INapSystemHealthAgentRequest::GetSoHRequest method

Note

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

The INapSystemHealthAgentRequest::GetSoHRequest method can be used by SHAs get SoHs previously cached by the NapAgent.

Syntax

HRESULT GetSoHRequest(
  [out] SoHRequest **sohRequest
);

Parameters

sohRequest [out]

A pointer to a pointer to a SoHRequest.

Return value

Other COM-specific error codes also may be returned.

Return code Description
S_OK
Operation succeeded.
NAP_E_NO_CACHED_SOH
The SoH is not found; NapAgent does not have a cached copy.
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