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.

貢獻者指南