ITextStoreAnchor::GetActiveView method (textstor.h)

The ITextStoreAnchor::GetActiveView method returns a TsViewCookie data type that specifies the current active view. TSF supports only a single active view, so a given text store should always return the same TsViewCookie data type.

Syntax

HRESULT GetActiveView(
  [out] TsViewCookie *pvcView
);

Parameters

[out] pvcView

Receives the TsViewCookie data type that specifies the current active view.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
pvcView is invalid.

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

See also

ITextStoreAnchor

TsViewCookie