KbFilter_ServiceCallback routine
The KbFilter_ServiceCallback routine is a template for a filter service callback routine that supplements the operation of KeyboardClassServiceCallback.
Syntax
VOID KbFilter_ServiceCallback(
_In_ PDEVICE_OBJECT DeviceObject,
_In_ PKEYBOARD_INPUT_DATA InputDataStart,
_In_ PKEYBOARD_INPUT_DATA InputDataEnd,
_Inout_ PULONG InputDataConsumed
);
Parameters
DeviceObject [in]
Pointer to the class device object.InputDataStart [in]
Pointer to the first keyboard input data packet in the input data buffer of the port device.InputDataEnd [in]
Pointer to the keyboard input data packet that immediately follows the last data packet in the input data buffer of the port device.InputDataConsumed [in, out]
Pointer to the number of keyboard input data packets that are transferred by the routine.
Return value
None
Remarks
The ISR dispatch completion routine of the function driver calls KbFilter_ServiceCallback, which then calls KeyboardClassServiceCallback. A vendor can implement a filter service callback to modify the input data that is transferred from the device's input buffer to the class data queue. For example, the callback can delete, transform, or insert data.
Requirements
Target platform |
|
Header |
Kbfiltr.h (include Kbfiltr.h) |
IRQL |
DISPATCH_LEVEL |
See also