ITfKeyEventSink::OnTestKeyUp method (msctf.h)

Called to determine if a text service will handle a key up event.

Syntax

HRESULT OnTestKeyUp(
  ITfContext *pic,
  WPARAM     wParam,
  LPARAM     lParam,
  BOOL       *pfEaten
);

Parameters

pic

Pointer to the input context that receives the key event.

wParam

Specifies the virtual-key code of the key. For more information about this parameter, see the wParam parameter in WM_KEYUP.

lParam

Specifies the repeat count, scan code, extended-key flag, context code, previous key-state flag, and transition-state flag of the key. For more information about this parameter, see the lParam parameter in WM_KEYUP.

pfEaten

Pointer to a BOOL that, on exit, indicates if the key event would be handled. If this value receives TRUE, the key event would be handled. If this value receives FALSE, the key event would not be handled.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.

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

ITfKeyEventSink

WM_KEYUP