Module: wine Branch: master Commit: b70069a58eeb8e5e1d36e05e0ffbfe0887ef4a30 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b70069a58eeb8e5e1d36e05e0f...
Author: Aric Stewart aric@codeweavers.com Date: Thu Oct 29 14:59:17 2015 -0500
hidclass.sys: Implement IOCTL_HID_GET_SERIALNUMBER_STRING.
Signed-off-by: Aric Stewart aric@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/hidclass.sys/device.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/dlls/hidclass.sys/device.c b/dlls/hidclass.sys/device.c index e3c7121..53ec569 100644 --- a/dlls/hidclass.sys/device.c +++ b/dlls/hidclass.sys/device.c @@ -480,6 +480,11 @@ NTSTATUS WINAPI HID_Device_ioctl(DEVICE_OBJECT *device, IRP *irp) rc = handle_minidriver_string(device, irp, HID_STRING_ID_IPRODUCT); break; } + case IOCTL_HID_GET_SERIALNUMBER_STRING: + { + rc = handle_minidriver_string(device, irp, HID_STRING_ID_ISERIALNUMBER); + break; + } case IOCTL_HID_GET_MANUFACTURER_STRING: { rc = handle_minidriver_string(device, irp, HID_STRING_ID_IMANUFACTURER);