ITfDocumentMgr::GetTop method (msctf.h)

Obtains the context at the top of the context stack.

Syntax

HRESULT GetTop(
  [out] ITfContext **ppic
);

Parameters

[out] ppic

Address of an ITfContext pointer that receives the context.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
ppic is invalid.
E_OUTOFMEMORY
A memory allocation error occurred.

Requirements

   
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

ITfContext

ITfDocumentMgr

ITfDocumentMgr::GetBase

ITfDocumentMgr::Push