INapServerManagement::RegisterSystemHealthValidator method
Note
The Network Access Protection platform is not available starting with Windows 10
The INapServerManagement::RegisterSystemHealthValidator method registers an SHV.
Syntax
HRESULT RegisterSystemHealthValidator(
[in] const NapComponentRegistrationInfo *validator,
[in] const CLSID *validatorClsid
);
Parameters
-
validator [in]
-
A pointer to a NapComponentRegistrationInfo structure that contains the SHV registration information.
-
validatorClsid [in]
-
A pointer to the CLSID of the COM class that implements the INapSystemHealthValidator interface.
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. |
|
SHV id is already registered. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
IDL |
|
DLL |
|