ITfCategoryMgr::RegisterGUID method

Syntax


HRESULT RegisterGUID(
  [in]  REFGUID    rguid,
  [out] TfGuidAtom *pguidatom
);

Parameters

rguid [in]

Contains the GUID to obtain the identifier for.

pguidatom [out]

Pointer to a TfGuidAtom value that receives the identifier of the GUID.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_FAIL

An unspecified error occurred.

E_INVALIDARG

pguidatom is invalid.

 

Remarks

Identical GUID values receive identical TfGuidAtom values.

A TfGuidAtom value is only valid within the process that ITfCategoryMgr::RegisterGUID is called from.

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

TfGuidAtom
ITfCategoryMgr
ITfCategoryMgr::GetGUID
ITfCategoryMgr::IsEqualTfGuidAtom

 

 

Show: