INapComponentInfo::GetVersion method

Note

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

The INapComponentInfo::GetVersion callback method is used by the NAP System to get the version of a health client.

Syntax

HRESULT GetVersion(
  [out] MessageId *version
);

Parameters

version [out]

A pointer to a MessageId that contains the resource ID of the version.

Return value

Return one of these error codes based on the result of this operation.

Return code Description
S_OK
The operation is successful.
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
NapCommon.h
IDL
NapCommon.idl

See also

INapComponentInfo