microsoft/windows-drivers-rs
View on GitHubHID hidport.h headers missing for UMDF build
Open
#355 opened on May 14, 2025
good first issue
Repository metrics
- Stars
- (1,886 stars)
- PR merge metrics
- (PR metrics pending)
Description
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.