hid: Implement HidD_GetIndexedString().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46711 Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cc9b2dba4a
commit
5ae3910e93
|
@ -4,7 +4,7 @@
|
|||
@ stub HidD_GetConfiguration
|
||||
@ stdcall HidD_GetFeature(long ptr long)
|
||||
@ stdcall HidD_GetHidGuid(ptr)
|
||||
@ stub HidD_GetIndexedString
|
||||
@ stdcall HidD_GetIndexedString(ptr long ptr long)
|
||||
@ stdcall HidD_GetInputReport(long ptr long)
|
||||
@ stdcall HidD_GetManufacturerString(long ptr long)
|
||||
@ stub HidD_GetMsGenreDescriptor
|
||||
|
|
|
@ -157,3 +157,9 @@ BOOLEAN WINAPI HidD_SetOutputReport(HANDLE HidDeviceObject, void *ReportBuffer,
|
|||
TRACE("(%p %p %u)\n", HidDeviceObject, ReportBuffer, ReportBufferLength);
|
||||
return sync_ioctl(HidDeviceObject, IOCTL_HID_SET_OUTPUT_REPORT, ReportBuffer, ReportBufferLength, NULL, 0);
|
||||
}
|
||||
|
||||
BOOLEAN WINAPI HidD_GetIndexedString(HANDLE file, ULONG index, void *buffer, ULONG length)
|
||||
{
|
||||
TRACE("file %p, index %u, buffer %p, length %u.\n", file, index, buffer, length);
|
||||
return sync_ioctl(file, IOCTL_HID_GET_INDEXED_STRING, &index, sizeof(index), buffer, length);
|
||||
}
|
||||
|
|
|
@ -36,6 +36,7 @@ typedef struct _HIDD_ATTRIBUTES {
|
|||
|
||||
BOOLEAN WINAPI HidD_GetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength);
|
||||
void WINAPI HidD_GetHidGuid(LPGUID guid);
|
||||
BOOLEAN WINAPI HidD_GetIndexedString(HANDLE file, ULONG index, void *buffer, ULONG length);
|
||||
BOOLEAN WINAPI HidD_GetInputReport(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength);
|
||||
BOOLEAN WINAPI HidD_GetManufacturerString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength);
|
||||
BOOLEAN WINAPI HidD_GetNumInputBuffers(HANDLE HidDeviceObject, ULONG *NumberBuffers);
|
||||
|
|
Loading…
Reference in New Issue