TF_CreateDisplayAttributeMgr function (msctf.h)

The TF_CreateDisplayAttributeMgr function is used to create a display attribute manager object without having to initialize COM. Usage of this method is not recommended, because the calling process must maintain a proper reference count on an object that is owned by Msctf.dll.

It is instead recommended that display attribute manager objects be created using CoCreateInstance , as demonstrated in ITfDisplayAttributeMgr.

Syntax

HRESULT TF_CreateDisplayAttributeMgr(
  [out] ITfDisplayAttributeMgr **ppdam
);

Parameters

[out] ppdam

Pointer to an ITfDisplayAttributeMgr interface pointer that receives the display attribute manager object.

Return value

Value Meaning
S_OK The function was successful.
E_FAIL An unspecified error occurred.
E_INVALIDARG ppdam is invalid.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

CoCreateInstance

GetProcAddress

ITfDisplayAttributeMgr

LoadLibrary