ISchemaLocalizerSupport::Localize Method
Localizes one set of synonymous keywords.
Syntax
HRESULT Localize( LPCWSTR pszGlobalString, LPWSTR *ppszLocalString );
Parameters
- pszGlobalString
[in] Pointer to a null-terminated, Unicode string to be localized. It may be in one of two forms: either a set of keywords separated by the vertical bar character (Unicode character code 007C) and possibly consisting of multiple words (for example "date modified|modified|modification date"), or a string on the form "@some.dll,-12345". This example refers to resource ID 12345 of the some.dll binary, which should be a string on the previous form.- ppszLocalString
[out, retval] Returns a null-terminated, Unicode string that is the localized string. The calling application must free the returned string using CoTaskMemFree. If unsuccessful, returns NULL.
Return Value
Returns S_OK if successful, or S_FALSE otherwise.