microsoft/windows-drivers-rs

HID hidport.h headers missing for UMDF build

Open

#355 opened on 2025年5月14日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)Rust (128 forks)auto 404
good first issue

Repository metrics

Stars
 (1,886 stars)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド