IAccDictionary::GetLocalizedString

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

HRESULT GetLocalizedString(
REFGUIDTerm,LCIDlcid,  BSTR* pResult,LCID* plcid);

Parameters

  • Term
    [in] A globally unique identifier (GUID) that represents a property.
  • lcid
    [in] The locale of the string to be returned.
  • pResult
    [out] A localized string that represents the term.
  • plcid
    [out] The language of the returned string.

Return Values

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, 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

**  Windows NT/2000/XP/Server 2003:** Included in Windows XP and Windows Server 2003.
**  Windows 95/98/Me:** Unsupported.
**  Redistributable:** Requires Active Accessibility 2.0 RDK on Windows NT 4.0 SP6 and Windows 98.
**  Header:** Declared in Msaatext.h.