---
page_type: sample
description: "A WDF example of a mouse input filter driver."
languages:
- cpp
products:
- windows
- windows-wdk
---
# Mouse Input WDF Filter Driver (Moufiltr)
The Moufiltr sample is an example of a mouse input filter driver.
This sample is WDF version of the original WDM filter driver sample. The WDM version of this sample has been deprecated.
This driver filters input for a particular mouse on the system. In its current state, it only hooks into the mouse packet report chain and the mouse ISR, and does not do any processing of the data that it sees. (The hooking of the ISR is only available in the i8042prt stack.) With additions to this current filter-only code base, the filter could conceivably add, remove, or modify input as needed.
## Universal Windows Driver Compliant
This sample builds a Universal Windows Driver. It uses only APIs and DDIs that are included in OneCoreUAP.
## Installation
This sample is installed via an .inf file. The .inf file included in this sample is designed to filter a PS/2 mouse.
The .inf file must install the class driver (Mouclass) and the port driver (i8042prt, Mouhid, Sermouse, etc.) by using Msmouse.inf and the INF directives "Needs" and "Include".
The .inf file must add the correct registry values for the class and port driver, as well as using the new directives.
没有合适的资源?快使用搜索试试~ 我知道了~
微软提供的关于鼠标驱动的案例
共9个文件
vcxproj:1个
sln:1个
rc:1个
需积分: 5 0 下载量 71 浏览量
2024-01-01
00:29:30
上传
评论
收藏 16KB ZIP 举报
温馨提示
此示例是原始WDM滤波器驱动程序示例的WDF版本。此示例的WDM版本已被弃用。 此驱动程序可以抓取系统上特定鼠标的输入。在其当前状态下,它只挂接到鼠标数据包报告链和鼠标ISR,不处理它看到的数据。ISR的挂钩仅在i8042prt堆栈中可用。
资源推荐
资源详情
资源评论
收起资源包目录
moufiltr.zip (9个子文件)
Moufiltr.htm 31KB
moufiltr.c 15KB
moufiltr.vcxproj.Filters 1KB
moufiltr.rc 256B
moufiltr.h 2KB
moufiltr.vcxproj 7KB
moufiltr.sln 1KB
README.md 1KB
moufiltr.inx 6KB
共 9 条
- 1
资源评论
sukalot
- 粉丝: 1162
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功