ITfFnGetSAPIObject::Get method (ctffunc.h)

Obtains a specified SAPI object.

Syntax

HRESULT Get(
  [in]  TfSapiObject sObj,
  [out] IUnknown     **ppunk
);

Parameters

[in] sObj

Contains a TfSapiObject value that specifies the SAPI object to obtain.

[out] ppunk

Pointer to an IUnknown interface pointer that receives the requested SAPI object. The caller must release this interface when it is no longer required.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
S_FALSE
The requested object cannot be obtained.
E_NOTIMPL
The requested object is not implemented.

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 ctffunc.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfFnGetSAPIObject

TfSapiObject