ITfContext::GetActiveView method (msctf.h)

Obtains the active view for the context.

Syntax

HRESULT GetActiveView(
  [out] ITfContextView **ppView
);

Parameters

[out] ppView

Pointer to an ITfContextView interface pointer that receives a reference to the active view.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
TF_E_DISCONNECTED
The context is not on a document stack.
E_OUTOFMEMORY
A memory allocation failure occurred.
E_FAIL
An unspecified error occurred.

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

ITfContext interface, ITfContextView interface