INapEnforcementClientConnection2::SetInstalledShvs method

Note

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

The SetInstalledShvs method is used by the NAP Agent to set the installed System Health Validators (SHVs) on the client.

Syntax

HRESULT SetInstalledShvs(
  [in] SystemHealthEntityCount count,
  [in] SystemHealthEntityId    *ids
);

Parameters

count [in]

A SystemHealthEntityCount value that specifies the number of SHVs to install in ids.

ids [in]

A pointer to a SystemHealthEntityId value that contains a list of SHV IDs to install.

Return value

Other COM-specific error codes also may be returned.

Return code Description
S_OK
The method was successful.
E_INVALIDARG
The count parameter was 0 (zero).

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
NapEnforcementClient.h
IDL
NapEnforcementClient.idl
DLL
Qagent.dll

See also

INapEnforcementClientConnection2