Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

IAccDictionary::ConvertValueToString

Clients call the IAccDictionary::ConvertValueToString method to convert a value to a localized string.

HRESULT ConvertValueToString(
  REFGUID Term,
  LCID lcid,
  VARIANT varValue,
  BSTR* pbstrResult,
  LCID* plcid
);

Parameters

Term
[in] A GUID that represents a property.
lcid
[in] The locale of the string to be returned.
varValue
[in] The value of the item.
pbstrResult
[out] A pointer to the converted value.
plcid
[out] A pointer to the language of the returned string.

Return Values

If successful, returns S_OK.

Remarks

If the Term parameter can be true or false, ConvertValueToString will return a localized string or TRUE or FALSE. If the Term parameter represents a color, ConvertValueToString will return a string for the closest color name. If the Term parameter is not found in the dictionary, then pbstrResult 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.

Community Additions

Show:
© 2015 Microsoft