ITfFnLMProcessor::QueryKey method

Syntax


HRESULT QueryKey(
  [in]   BOOL fUp,
  [in]   WPARAM vKey,
  [in]   LPARAM lparamKeydata,
  [out]  BOOL *pfInterested
);

Parameters

fUp [in]

Contains a BOOL that specifies if this is a key-down or a key-up event. Contains zero if this is a key-down event or nonzero otherwise.

vKey [in]

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

lparamKeydata [in]

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_KEYDOWN.

pfInterested [out]

Pointer to a BOOL that receives nonzero if the language model text service will handle the key event or zero otherwise.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Ctffunc.h

IDL

Ctffunc.idl

DLL

Msctf.dll

See also

ITfFnLMProcessor
WM_KEYDOWN
WM_KEYUP

 

 

Community Additions

ADD
Show:
© 2014 Microsoft