INapServerCallback::OnComplete method
Note
The Network Access Protection platform is not available starting with Windows 10
The INapServerCallback::OnComplete method is used by SHVs to signal asynchronous request completion.
Syntax
HRESULT OnComplete(
[in] INapSystemHealthValidationRequest *request,
[in] HRESULT errorCode
);
Parameters
-
request [in]
-
A pointer to an INapSystemHealthValidationRequest object that represents a validation request.
-
errorCode [in]
-
A NAP error code that indicates the reason why the validation could not be performed.
Note
Typically, the return value of the INapSystemHealthValidationRequest::SetSoHResponse method is passed to this parameter. However, if SetSoHResponse could not be called due to a reprocessing failure, the value returned by the failed command is passed.
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. |
Remarks
Validators must return S_OK if the SoHRequest validation could be completed, regardless of whether the SoHRequest passed the health check.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
IDL |
|
DLL |
|