ITfConfigureSystemKeystrokeFeed::EnableSystemKeystrokeFeed method (msctf.h)

Enables the TSF manager to process keystrokes after being disabled by DisableSystemKeystrokeFeed.

Syntax

HRESULT EnableSystemKeystrokeFeed();

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_UNEXPECTED
There was no corresponding call to DisableSystemKeystrokeFeed.

Remarks

By default, the TSF manager will process keystrokes and pass them to the text services. An application prevents this by calling DisableSystemKeystrokeFeed .

Calls to DisableSystemKeystrokeFeed are cumulative, so every call to DisableSystemKeystrokeFeed requires a subsequent call to EnableSystemKeystrokeFeed. Calling EnableSystemKeystrokeFeed will not enable keystroke processing if DisableSystemKeystrokeFeed is called more than once.

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

ITfConfigureSystemKeystrokeFeed interface, ITfConfigureSystemKeystrokeFeed::DisableSystemKeystrokeFeed