ITfCategoryMgr::RegisterGUIDDescription method

Syntax


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

Parameters

rclsid [in]

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

rguid [in]

Contains the GUID that the description is registered for.

pchDesc [in]

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

cch [in]

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

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_FAIL

The method was unable to register the description string.

E_INVALIDARG

pchDest is invalid.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

ITfCategoryMgr
ITfCategoryMgr::GetGUIDDescription
ITfCategoryMgr::UnregisterGUIDDescription

 

 

Show: