blob: 18ec16a9c6ab54e01cd0f041f2d44f1e8cb91a9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
---
page_type: sample
description: "Demonstrates how to write a HID minidriver using User-Mode Driver Framework (UMDF)."
languages:
- cpp
products:
- windows
- windows-wdk
---
# HID Minidriver Sample (UMDF version 2)
The *HID minidriver* sample demonstrates how to write a HID minidriver using User-Mode Driver Framework (UMDF).
The sample demonstrates how to communicate with an HID minidriver from an HID client using a custom-feature item in order to control certain features of the HID minidriver. This is needed since other conventional modes for communicating with a driver, like custom IOCTL or WMI, do not work with the HID minidriver. The sample also is useful in testing the correctness of a HID report descriptor without using a physical device.
## Related topics
[Creating WDF HID Minidrivers](https://docs.microsoft.com/windows-hardware/drivers/wdf/creating-umdf-hid-minidrivers)
[Human Input Devices Design Guide](https://docs.microsoft.com/windows-hardware/drivers/hid/)
[Human Input Devices Reference](https://docs.microsoft.com/windows-hardware/drivers/ddi/content/_hid/)
[UMDF HID Minidriver IOCTLs](https://docs.microsoft.com/windows-hardware/drivers/ddi/content/hidport/)
|