// vhf.h
EVT_VHF_READY_FOR_NEXT_READ_REPORT EvtVhfReadyForNextReadReport;
VOID EvtVhfReadyForNextReadReport(
[in] PVOID VhfClientContext
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
VhfClientContext [in]Pointer to the HID source driver-defined context structure that the driver passed in the previous call to VhfCreate to create the virtual HID device.
Virtual HID Framework (VHF) invokes this callback function to notify the HID source driver that it can submit a buffer to get the HID Input Report. After the callback is invoked, the HID source driver must call VhfReadReportSubmit only once. If a portion of the HID Input Report is still pending, the driver must wait for VHF to invoke EvtVhfReadyForNextReadReport before the driver can call VhfReadReportSubmit again.
If the HID source driver does not implement this callback function, VHF uses a default buffering policy for HID Read (Input) Reports.
Write a HID source driver by using Virtual HID Framework (VHF)