mouclass!MouseClassReadCopyData函数分析之In前Out后的情形和Out前In后的情形
0: kd> g
Breakpoint 0 hit
mouclass!MouseClassReadCopyData:
f74f9d26 55 push ebp
0: kd> kc 4
#
00 mouclass!MouseClassReadCopyData
01 mouclass!MouseClassHandleRead
02 mouclass!MouseClassRead
03 nt!IofCallDriver
0: kd> dv DeviceExtension
DeviceExtension = 0x894060f0
0: kd> dx -r1 ((mouclass!_DEVICE_EXTENSION *)0x894060f0)
((mouclass!_DEVICE_EXTENSION *)0x894060f0) : 0x894060f0 [Type: _DEVICE_EXTENSION *]
[+0x000] Self : 0x89406038 : Device for "\Driver\Mouclass" [Type: _DEVICE_OBJECT *]
[+0x004] TrueClassDevice : 0x89406038 : Device for "\Driver\Mouclass" [Type: _DEVICE_OBJECT *]
[+0x008] TopPort : 0x898db158 : Device for "\Driver\mouhid" [Type: _DEVICE_OBJECT *]
[+0x00c] PDO : 0x89536cc0 : Device for "\Driver\hidusb" [Type: _DEVICE_OBJECT *]
[+0x010] RemoveLock [Type: _IO_REMOVE_LOCK]
[+0x068] PnP : 0x1 [Type: unsigned char]
[+0x069] Started : 0x1 [Type: unsigned char]
[+0x06a] OkayToLogOverflow : 0x1 [Type: unsigned char]
[+0x06c] WaitWakeSpinLock : 0x0 [Type: unsigned long]
[+0x070] TrustedSubsystemCount : 0x1 [Type: unsigned long]
[+0x074] InputCount : 0x4 [Type: unsigned long]
[+0x078] SymbolicLinkName : "\??\HID#Vid_0e0f&Pid_0003&MI_00#8&28f6544d&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}" [Type: _UNICODE_STRING]
[+0x080] InputData : 0x898531b0 [Type: _MOUSE_INPUT_DATA *]
[+0x084] DataIn : 0x898534e0 [Type: _MOUSE_INPUT_DATA *]
[+0x088] DataOut : 0x89853480 [Type: _MOUSE_INPUT_DATA *]
[+0x08c] MouseAttributes [Type: _MOUSE_ATTRIBUTES]
[+0x098] SpinLock : 0x895aada1 [Type: unsigned long]
[+0x09c] ReadQueue [Type: _LIST_ENTRY]
[+0x0a4] SequenceNumber : 0x18 [Type: unsigned long]
[+0x0a8] DeviceState : PowerDeviceD0 (1) [Type: _DEVICE_POWER_STATE]
[+0x0ac] SystemState : PowerSystemWorking (1) [Type: _SYSTEM_POWER_STATE]
[+0x0b0] UnitId : 0x0 [Type: unsigned long]
[+0x0b4] WmiLibInfo [Type: _WMILIB_CONTEXT]
[+0x0d4] SystemToDeviceState [Type: _DEVICE_POWER_STATE [5]]
[+0x0e8] MinDeviceWakeState : PowerDeviceD0 (1) [Type: _DEVICE_POWER_STATE]
[+0x0ec] MinSystemWakeState : PowerSystemSleeping1 (2) [Type: _SYSTEM_POWER_STATE]
[+0x0f0] WaitWakeIrp : 0x0 [Type: _IRP *]
[+0x0f4] ExtraWaitWakeIrp : 0x0 [Type: _IRP *]
[+0x0f8] TargetNotifyHandle : 0x0 [Type: void *]
[+0x0fc] Link [Type: _LIST_ENTRY]
[+0x104] File : 0x0 [Type: _FILE_OBJECT *]
[+0x108] Enabled : 0x0 [Type: unsigned char]
[+0x109] WaitWakeEnabled : 0x0 [Type: unsigned char]
[+0x10a] SurpriseRemoved : 0x0 [Type: unsigned char]
0: kd> dx -r1 (*((mouclass!_MOUSE_ATTRIBUTES *)0x8940617c))
(*((mouclass!_MOUSE_ATTRIBUTES *)0x8940617c)) [Type: _MOUSE_ATTRIBUTES]
[+0x000] MouseIdentifier : 0x0 [Type: unsigned short]
[+0x002] NumberOfButtons : 0x0 [Type: unsigned short]
[+0x004] SampleRate : 0x0 [Type: unsigned short]
[+0x008] InputDataQueueLength : 0x960 [Type: unsigned long]
0: kd> dt MOUSE_INPUT_DATA 0x89853480
i8042prt!MOUSE_INPUT_DATA
+0x000 UnitId : 1
+0x002 Flags : 1
+0x004 Buttons : 0
+0x004 ButtonFlags : 0
+0x006 ButtonData : 0
+0x008 RawButtons : 0
+0x00c LastX : 0n37404
+0x010 LastY : 0n32466
+0x014 ExtraInformation : 0
0: kd> dt MOUSE_INPUT_DATA 0x89853480+18
i8042prt!MOUSE_INPUT_DATA
+0x000 UnitId : 1
+0x002 Flags : 1
+0x004 Buttons : 0
+0x004 ButtonFlags : 0
+0x006 ButtonData : 0
+0x008 RawButtons : 0
+0x00c LastX : 0n37404
+0x010 LastY : 0n32466
+0x014 ExtraInformation : 0
0: kd> dt MOUSE_INPUT_DATA 0x89853480+18*2
i8042prt!MOUSE_INPUT_DATA
+0x000 UnitId : 1
+0x002 Flags : 1
+0x004 Buttons : 0
+0x004 ButtonFlags : 0
+0x006 ButtonData : 0
+0x008 RawButtons : 0
+0x00c LastX : 0n37404
+0x010 LastY : 0n32466
+0x014 ExtraInformation : 0
0: kd> dt MOUSE_INPUT_DATA 0x8985
mouclass!MouseClassReadCopyData函数分析之In前Out后的情形和Out前In后的情形----非常重要
张小明
前端开发工程师
LyricsX终极指南:如何在Mac上打造完美的桌面歌词体验
LyricsX终极指南:如何在Mac上打造完美的桌面歌词体验 【免费下载链接】Lyrics Swift-based iTunes plug-in to display lyrics on the desktop. 项目地址: https://gitcode.com/gh_mirrors/lyr/Lyrics 想要在Mac上享受音乐时,不再被频繁切换播放器…
终极方案:用StartAllBack一键解决Windows 11右键菜单卡顿问题
终极方案:用StartAllBack一键解决Windows 11右键菜单卡顿问题 【免费下载链接】ExplorerPatcher 提升Windows操作系统下的工作环境 项目地址: https://gitcode.com/GitHub_Trending/ex/ExplorerPatcher 还在为Windows 11右键菜单响应迟缓而烦恼吗?…
Venera漫画阅读器终极指南:从零基础到高手完全攻略
还在为找不到合适的漫画阅读器而烦恼吗?Venera漫画阅读器作为一款真正的跨平台阅读解决方案,能够完美解决你的所有漫画阅读需求。无论你是想要整理本地漫画库还是追更网络漫画,这款应用都能提供专业级的阅读体验。 【免费下载链接】venera A …
快速解决RFdiffusion项目中SE3Transformer导入错误的终极指南
快速解决RFdiffusion项目中SE3Transformer导入错误的终极指南 【免费下载链接】RFdiffusion Code for running RFdiffusion 项目地址: https://gitcode.com/gh_mirrors/rf/RFdiffusion RFdiffusion作为蛋白质结构生成的开源工具,在运行过程中经常会遇到SE3Tr…
音乐文件解锁新纪元:Unlock Music音频解密全攻略
音乐文件解锁新纪元:Unlock Music音频解密全攻略 【免费下载链接】unlock-music 在浏览器中解锁加密的音乐文件。原仓库: 1. https://github.com/unlock-music/unlock-music ;2. https://git.unlock-music.dev/um/web 项目地址: https://gi…
MHY_Scanner终极指南:米哈游游戏扫码登录的完整解决方案
MHY_Scanner终极指南:米哈游游戏扫码登录的完整解决方案 【免费下载链接】MHY_Scanner 崩坏3,原神,星穹铁道的Windows平台的扫码和抢码登录器,支持从直播流抢码。 项目地址: https://gitcode.com/gh_mirrors/mh/MHY_Scanner …