?? keyhdlr.cpp
字號:
#ifndef __STDAFX_H__
#include "StdAfx.h"
#endif
//
//The following procedure is used by master to dispatch the key board
//event.
//This event parase the dwParam,and set up a __MSG struct,initialize
//it,and add a message to the current task.
//
VOID _KeyHandler(DWORD dwParam)
{
//__KTHREAD_MSG Msg;
//__KERNEL_THREAD_MESSAGE Msg;
__DEVICE_MESSAGE Msg;
//Msg.wCommand = KeyUpEvent(dwParam) ? KTMSG_KEY_UP : KTMSG_KEY_DOWN;
//Msg.dwParam = dwParam;
Msg.wDevMsgType = KeyUpEvent(dwParam) ? KTMSG_KEY_UP : KTMSG_KEY_DOWN;
Msg.dwDevMsgParam = dwParam;
DeviceInputManager.SendDeviceMessage((__COMMON_OBJECT*)&DeviceInputManager,
&Msg,
NULL);
//SendMessage((__COMMON_OBJECT*)g_lpShellThread,&Msg);
return;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -