winebus.sys: Add missing keyboard free_device callback.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2021-06-29 11:47:30 +02:00 committed by Alexandre Julliard
parent 2862ff6ba7
commit ab8f8258a5
1 changed files with 5 additions and 0 deletions

View File

@ -552,6 +552,10 @@ static void mouse_device_create(void)
IoInvalidateDeviceRelations(bus_pdo, BusRelations);
}
static void keyboard_free_device(DEVICE_OBJECT *device)
{
}
static NTSTATUS keyboard_get_reportdescriptor(DEVICE_OBJECT *device, BYTE *buffer, DWORD length, DWORD *ret_length)
{
TRACE("buffer %p, length %u.\n", buffer, length);
@ -606,6 +610,7 @@ static NTSTATUS keyboard_set_feature_report(DEVICE_OBJECT *device, UCHAR id, BYT
static const platform_vtbl keyboard_vtbl =
{
.free_device = keyboard_free_device,
.get_reportdescriptor = keyboard_get_reportdescriptor,
.get_string = keyboard_get_string,
.begin_report_processing = keyboard_begin_report_processing,