ITfCategoryMgr::GetGUID method (msctf.h)

Obtains a GUID from the internal table using its atom.

Syntax

HRESULT GetGUID(
  [in]  TfGuidAtom guidatom,
  [out] GUID       *pguid
);

Parameters

[in] guidatom

Contains a TfGuidAtom value that specifies the GUID to obtain.

[out] pguid

Pointer to a GUID value that receives the GUID for the specified atom. Receives GUID_NULL if the GUID for the atom cannot be found.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
An unspecified error occurred.
E_INVALIDARG
pguid 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

nn-msctf-itfcategorymgr, ITfCategoryMgr::RegisterGUID, ITfCategoryMgr::IsEqualTfGuidAtom