Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds a GUID to the internal table and obtains an atom for the GUID.
Syntax
HRESULT RegisterGUID(
[in] REFGUID rguid,
[out] TfGuidAtom *pguidatom
);
Parameters
[in] rguid
Contains the GUID to obtain the identifier for.
[out] pguidatom
Pointer to a TfGuidAtom value that receives the identifier of the GUID.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
An unspecified error occurred. |
|
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
| 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::GetGUID, ITfCategoryMgr::IsEqualTfGuidAtom, TfGuidAtom