ITfKeyTraceEventSink::OnKeyTraceDown method (msctf.h)

Called when a key down event occurs.

Syntax

HRESULT OnKeyTraceDown(
  [in] WPARAM wParam,
  [in] LPARAM lParam
);

Parameters

[in] wParam

The WPARAM of the key event. For more information about this parameter, see the wParam parameter in WM_KEYDOWN.

[in] lParam

The LPARAM of the key event. For more information about this parameter, see the lParam parameter in WM_KEYDOWN.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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 Tiptsf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfKeyTraceEventSink WM_KEYDOWN Keyboard Input