hid: Implement HidD_SetNumInputBuffers.
Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
115ad2da7a
commit
fa8eedddd5
|
@ -16,7 +16,7 @@
|
||||||
@ stub HidD_Hello
|
@ stub HidD_Hello
|
||||||
@ stub HidD_SetConfiguration
|
@ stub HidD_SetConfiguration
|
||||||
@ stdcall HidD_SetFeature(long ptr long)
|
@ stdcall HidD_SetFeature(long ptr long)
|
||||||
@ stub HidD_SetNumInputBuffers
|
@ stdcall HidD_SetNumInputBuffers(long long)
|
||||||
@ stub HidD_SetOutputReport
|
@ stub HidD_SetOutputReport
|
||||||
@ stdcall HidP_GetButtonCaps(long ptr ptr ptr)
|
@ stdcall HidP_GetButtonCaps(long ptr ptr ptr)
|
||||||
@ stdcall HidP_GetCaps(ptr ptr)
|
@ stdcall HidP_GetCaps(ptr ptr)
|
||||||
|
|
|
@ -93,6 +93,12 @@ BOOLEAN WINAPI HidD_SetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG
|
||||||
return DeviceIoControl(HidDeviceObject, IOCTL_HID_SET_FEATURE, ReportBuffer, ReportBufferLength, NULL, 0, NULL, NULL);
|
return DeviceIoControl(HidDeviceObject, IOCTL_HID_SET_FEATURE, ReportBuffer, ReportBufferLength, NULL, 0, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BOOLEAN WINAPI HidD_SetNumInputBuffers(HANDLE HidDeviceObject, ULONG NumberBuffers)
|
||||||
|
{
|
||||||
|
TRACE("(%p %i)\n", HidDeviceObject, NumberBuffers);
|
||||||
|
return DeviceIoControl(HidDeviceObject, IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS, UlongToPtr(NumberBuffers), sizeof(NumberBuffers), NULL, 0, NULL, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
BOOLEAN WINAPI HidD_GetProductString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength)
|
BOOLEAN WINAPI HidD_GetProductString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength)
|
||||||
{
|
{
|
||||||
TRACE("(%p %p %u)\n", HidDeviceObject, Buffer, BufferLength);
|
TRACE("(%p %p %u)\n", HidDeviceObject, Buffer, BufferLength);
|
||||||
|
|
|
@ -41,6 +41,7 @@ BOOLEAN WINAPI HidD_GetManufacturerString(HANDLE HidDeviceObject, PVOID Buffer,
|
||||||
BOOLEAN WINAPI HidD_GetProductString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength);
|
BOOLEAN WINAPI HidD_GetProductString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength);
|
||||||
BOOLEAN WINAPI HidD_GetSerialNumberString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength);
|
BOOLEAN WINAPI HidD_GetSerialNumberString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength);
|
||||||
BOOLEAN WINAPI HidD_SetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength);
|
BOOLEAN WINAPI HidD_SetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength);
|
||||||
|
BOOLEAN WINAPI HidD_SetNumInputBuffers(HANDLE HidDeviceObject, ULONG NumberBuffers);
|
||||||
BOOLEAN WINAPI HidD_GetPreparsedData( HANDLE HidDeviceObject, PHIDP_PREPARSED_DATA *PreparsedData);
|
BOOLEAN WINAPI HidD_GetPreparsedData( HANDLE HidDeviceObject, PHIDP_PREPARSED_DATA *PreparsedData);
|
||||||
BOOLEAN WINAPI HidD_FreePreparsedData(PHIDP_PREPARSED_DATA PreparsedData);
|
BOOLEAN WINAPI HidD_FreePreparsedData(PHIDP_PREPARSED_DATA PreparsedData);
|
||||||
BOOLEAN WINAPI HidD_GetAttributes(HANDLE HidDeviceObject, PHIDD_ATTRIBUTES Attr);
|
BOOLEAN WINAPI HidD_GetAttributes(HANDLE HidDeviceObject, PHIDD_ATTRIBUTES Attr);
|
||||||
|
|
Loading…
Reference in New Issue