hid: Implement HidD_GetSerialNumberString.
Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4e4f0f295b
commit
af3406ec61
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue