IAccDictionary::GetLocalizedString method

Clients call the IAccDictionary::GetLocalizedString method to get localized strings for all system properties and their values.

Note  Active Accessibility Text Services is deprecated. Please see Microsoft Windows Text Services Frameworkfor more information on advanced text input and natural language technologies.
 

Syntax

HRESULT GetLocalizedString(
  REFGUID Term,
  LCID    lcid,
  BSTR    *pResult,
  LCID    *plcid
);

Parameters

Term

Type: REFGUID

A globally unique identifier (GUID) that represents a property.

lcid

Type: LCID

The locale of the string to be returned.

pResult

Type: BSTR*

A localized string that represents the term.

plcid

Type: LCID*

The language of the returned string.

Return Value

Type: HRESULT

If successful, returns S_OK.

Remarks

This method returns the names of a property in the language specified by lcid. If that language is not on the system, Microsoft Active Accessibility finds the best match and returns the string in that language. If the Term parameter is not found in the dictionary, the pResult will be NULL.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header msaatext.h
DLL Msaatext.dll
Redistributable Active Accessibility 2.0 RDK on Windows NT 4.0 with SP6 and later and Windows 98