ITfCategoryMgr::RegisterGUIDDescription method (msctf.h)

Enters a description for a GUID previously registered in the Windows registry.

Syntax

HRESULT RegisterGUIDDescription(
  [in] REFCLSID    rclsid,
  [in] REFGUID     rguid,
  [in] const WCHAR *pchDesc,
  [in] ULONG       cch
);

Parameters

[in] rclsid

Contains the CLSID of the text service that owns the GUID.

[in] rguid

Contains the GUID that the description is registered for.

[in] pchDesc

Pointer to a WCHAR buffer that contains the description for the GUID.

[in] cch

Contains the length, in characters, of the description string.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
The method was unable to register the description string.
E_INVALIDARG
pchDest 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::GetGUIDDescription, ITfCategoryMgr::UnregisterGUIDDescription