vhf.h header
This is the Virtual HID Framework (VHF) interface for both User mode and Kernel mode.
For more information, see:
vhf.h contains the following programming interfaces:
Functions
VHF_CONFIG_INIT Use the VHF_CONFIG_INIT function to initialize the required members of the VHF_CONFIG structure allocated by the HID source driver. |
VhfAsyncOperationComplete The HID source driver calls this method to set the results of an asynchronous operation. |
VhfCreate The HID source driver calls this method to create a virtual HID device. |
VhfDelete The HID Source device driver calls this method to delete a VHF device. |
VhfReadReportSubmit The HID source driver calls this method to submit a HID Read (Input) Report to Virtual HID Framework (VHF). |
VhfStart The HID source driver calls this method to start the virtual HID device. |
Callback functions
EVT_VHF_ASYNC_OPERATION The HID source driver implements this event callback if it wants to support one of the four asynchronous operation to get and set HID reports. |
EVT_VHF_CLEANUP The HID source driver implements this event callback to free resources that might the driver allocated to the virtual HID device. |
EVT_VHF_READY_FOR_NEXT_READ_REPORT The HID source driver implements this event call back function to use its buffering scheme for HID Input Reports, and wants to get notified when the next report can be submitted to VHF. |
Structures
HID_XFER_PACKET The HID_XFER_PACKET structure in vhf.h contains information about a HID report that the HID class driver uses with I/O requests to get or set a report. |
VHF_CONFIG Contains initial configuration information that is provided by the HID source driver when it calls VhfCreate to create a virtual HID device. |