Commit af3406ec authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

hid: Implement HidD_GetSerialNumberString.

parent 4e4f0f29
......@@ -12,7 +12,7 @@
@ stub HidD_GetPhysicalDescriptor
@ stdcall HidD_GetPreparsedData(ptr ptr)
@ stdcall HidD_GetProductString(long ptr long)
@ stub HidD_GetSerialNumberString
@ stdcall HidD_GetSerialNumberString(long ptr long)
@ stub HidD_Hello
@ stub HidD_SetConfiguration
@ stdcall HidD_SetFeature(long ptr long)
......
......@@ -99,6 +99,12 @@ BOOLEAN WINAPI HidD_GetProductString(HANDLE HidDeviceObject, PVOID Buffer, ULONG
return DeviceIoControl(HidDeviceObject, IOCTL_HID_GET_PRODUCT_STRING, NULL, 0, Buffer, BufferLength, NULL, NULL);
}
BOOLEAN WINAPI HidD_GetSerialNumberString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength)
{
TRACE("(%p %p %u)\n", HidDeviceObject, Buffer, BufferLength);
return DeviceIoControl(HidDeviceObject, IOCTL_HID_GET_SERIALNUMBER_STRING, NULL, 0, Buffer, BufferLength, NULL, NULL);
}
BOOLEAN WINAPI HidD_GetPreparsedData(HANDLE HidDeviceObject, PHIDP_PREPARSED_DATA *PreparsedData)
{
HID_COLLECTION_INFORMATION info;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment