Windows Dev Center

ITfKeyEventSink::OnPreservedKey method

Syntax


HRESULT OnPreservedKey(
  [in]  ITfContext *pic,
  [in]  REFGUID    rguid,
  [out] BOOL       *pfEaten
);

Parameters

pic [in]

Pointer to the input context that receives the key event.

rguid [in]

Contains the command GUID of the preserved key.

pfEaten [out]

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

Return value

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft