ITfCategoryMgr::GetGUIDDescription method (msctf.h)

Obtains the description of the specified GUID from the Windows registry.

Syntax

HRESULT GetGUIDDescription(
  [in]  REFGUID rguid,
  [out] BSTR    *pbstrDesc
);

Parameters

[in] rguid

Specifies the GUID to obtain the description for.

[out] pbstrDesc

Pointer to a BSTR value that receives the description string. Allocate using SysAllocString. The caller must free this memory using SysFreeString when it is no longer required.

Pointer to a BSTR value that receives the description string. This must be allocated using SysAllocString. The caller must free this memory using SysFreeString when it is no longer required.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
The method cannot obtain the description.
E_INVALIDARG
pbstrDesc is invalid.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfCategoryMgr interface, ITfCategoryMgr::RegisterGUIDDescription, ITfCategoryMgr::UnregisterGUIDDescription