INapSystemHealthAgentRequest::SetSoHRequest method
Note
The Network Access Protection platform is not available starting with Windows 10
The INapSystemHealthAgentRequest::SetSoHRequest method is used by health agents to write their SoH request resulting from the call to INapSystemHealthAgentCallback::GetSoHRequest.
Syntax
HRESULT SetSoHRequest(
[in] const SoHRequest *sohRequest,
[in] BOOL cacheSohForLaterUse
);
Parameters
-
sohRequest [in]
-
A pointer to a SoHRequest packet.
-
cacheSohForLaterUse [in]
-
A BOOL that is TRUE if the NapAgent should cache the SoH and FALSE otherwise.
Return value
Other COM-specific error codes also may be returned.
Return code | Description |
---|---|
|
Operation succeeded. |
|
Permissions error, access denied. |
|
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 |
|
IDL |
|
DLL |
|