Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#ifndef _KEYEVENT_H
#define _KEYEVENT_H
#include "sapilayr.h"
#include "kes.h"
class CSapiIMX; class CSpTask;
#define TF_MOD_WIN 0x00010000
extern const KESPRESERVEDKEY g_prekeyList[]; extern KESPRESERVEDKEY g_prekeyList_Mode[];
// Speech tip itself Keyevent sink class derived from the basic CKeyEventSink
class CSptipKeyEventSink : public CKeyEventSink { public:
CSptipKeyEventSink (KESCALLBACK pfnCallback, void *pv) : CKeyEventSink(pfnCallback, pv) { }
CSptipKeyEventSink(KESCALLBACK pfnCallback, KESPREKEYCALLBACK pfnPrekeyCallback, void *pv) : CKeyEventSink(pfnCallback, pfnPrekeyCallback, pv) {
}
~CSptipKeyEventSink() { }
HRESULT _RegisterEx(ITfThreadMgr *ptim, TfClientId tid, const KESPRESERVEDKEY *pprekey); };
#endif // _KEYEVENT_H
|