INapComponentInfo::GetLocalizedString method

Note

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

The INapComponentInfo::GetLocalizedString callback method is used by the NAP System to get localized strings.

Syntax

HRESULT GetLocalizedString(
  [in]  MessageId     msgId,
  [out] CountedString **string
);

Parameters

msgId [in]

A MessageId that contains the resource ID of the string to localize.

string [out]

A pointer to a pointer to a CountedString that contains the localized version of the message.

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.

Remarks

Strings should be localized according to the calling thread's language-id.

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