Retrieves the name and globally unique identifier (GUID) for the language that owns a specified context.
Syntax
HRESULT GetLanguageInfo(
BSTR *pbstrLanguageName,
GUID *pLanguageID
);
Parameters
- pbstrLanguageName
- [out] Address of a string that contains the name of the language retrieved from the context.
- pLanguageID
- [out] Address of a GUID that contains the language identifier of the context.
Return Value
Returns S_OK if successful, or an error code otherwise.