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后的情形----非常重要
张小明
前端开发工程师
百度文库文档轻松保存:终极免费解决方案
还在为百度文库的付费下载而烦恼吗?这个简单实用的开源工具帮你彻底解决文档保存难题!通过智能页面优化技术,让你快速获取纯净的文库文档内容,完全免费且操作简单。 【免费下载链接】baidu-wenku fetch the document for free 项…
Apollo PS4存档管理工具完整使用指南
Apollo PS4存档管理工具完整使用指南 【免费下载链接】apollo-ps4 Apollo Save Tool (PS4) 项目地址: https://gitcode.com/gh_mirrors/ap/apollo-ps4 Apollo PS4存档管理器是一款专为PlayStation 4玩家设计的全能工具,让你直接在主机上完成存档文件的下载、…
21、Linux系统网络与多媒体使用指南
Linux系统网络与多媒体使用指南 1. 网络访问 Linux系统可以访问互联网,其过程与Windows系统基本相同,主要分为以下两个步骤: 1. 建立网络连接 - 连接类型与硬件 :了解可用的互联网接入类型以及所需的硬件设备。 - 配置网络连接 :在安装过程中可能已完成连接设置…
44、SharePoint搜索与个性化社交功能全解析
SharePoint搜索与个性化社交功能全解析 一、SharePoint搜索功能 SharePoint提供了强大的搜索功能,除了内容搜索网页部件外,还有多种其他标准的网页部件可借助搜索服务来展示内容。 1. 网页部件配置步骤 - 确定显示结果 :从结果列表中识别要显示的第一个结果。 - 设…
Slack历史消息存档分析:用Anything-LLM挖掘团队智慧
Slack历史消息存档分析:用Anything-LLM挖掘团队智慧 在一家快速发展的科技公司里,一位新入职的后端工程师正为一个棘手的性能问题焦头烂额。他记得几个月前似乎有人讨论过类似的场景——“是不是在 #infrastructure 频道提过 Redis 缓存穿透的应对策略&a…
LyricsX终极指南:在Mac上完美显示桌面歌词的完整教程
LyricsX终极指南:在Mac上完美显示桌面歌词的完整教程 【免费下载链接】Lyrics Swift-based iTunes plug-in to display lyrics on the desktop. 项目地址: https://gitcode.com/gh_mirrors/lyr/Lyrics LyricsX是一款专为Mac用户设计的智能桌面歌词显示工具&a…