microsoft/windows-drivers-rs

HID hidport.h headers missing for UMDF build

Open

#355 创建于 2025年5月14日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)Rust (128 fork)auto 404
good first issue

仓库指标

Star
 (1,886 star)
PR 合并指标
 (PR 指标待抓取)

描述

According to the examples for HID miniport drivers. It should be possible to implement HID miniport drivers with UMDF builds.

Example here: https://github.com/microsoft/Windows-driver-samples/tree/main/hid/vhidmini2

This requires types from hidport.h that has been marked as only available in kernel mode drivers here: https://github.com/microsoft/windows-drivers-rs/blob/b82b4278f7085cfb0165d7cc6ffd6e0ccaad41ff/crates/wdk-build/src/lib.rs#L753

That limitation should likely be lifted for generation of bindgen headers.

贡献者指南