Author: janderwald
Date: Sat Jun 15 06:24:03 2013
New Revision: 59218
URL: http://svn.reactos.org/svn/reactos?rev=59218&view=rev
Log:
[HID]
- Fix function signatures
- Fix build
Modified:
trunk/reactos/dll/win32/hid/hid.c
trunk/reactos/dll/win32/hid/stubs.c
Modified: trunk/reactos/dll/win32/hid/hid.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/hid/hid.c?rev=59…
==============================================================================
--- trunk/reactos/dll/win32/hid/hid.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/hid/hid.c [iso-8859-1] Sat Jun 15 06:24:03 2013
@@ -126,7 +126,7 @@
NTSTATUS WINAPI
HidP_GetButtonCaps(IN HIDP_REPORT_TYPE ReportType,
OUT PHIDP_BUTTON_CAPS ButtonCaps,
- IN OUT PULONG ButtonCapsLength,
+ IN OUT PUSHORT ButtonCapsLength,
IN PHIDP_PREPARSED_DATA PreparsedData)
{
return HidP_GetSpecificButtonCaps(ReportType, 0, 0, 0, ButtonCaps,
@@ -343,7 +343,7 @@
NTSTATUS WINAPI
HidP_GetValueCaps(IN HIDP_REPORT_TYPE ReportType,
OUT PHIDP_VALUE_CAPS ValueCaps,
- IN OUT PULONG ValueCapsLength,
+ IN OUT PUSHORT ValueCapsLength,
IN PHIDP_PREPARSED_DATA PreparsedData)
{
return HidP_GetSpecificValueCaps(ReportType, 0, 0, 0, ValueCaps,
Modified: trunk/reactos/dll/win32/hid/stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/hid/stubs.c?rev=…
==============================================================================
--- trunk/reactos/dll/win32/hid/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/hid/stubs.c [iso-8859-1] Sat Jun 15 06:24:03 2013
@@ -99,7 +99,7 @@
IN USHORT LinkCollection,
IN USAGE Usage,
OUT PHIDP_BUTTON_CAPS ButtonCaps,
- IN OUT PULONG ButtonCapsLength,
+ IN OUT PUSHORT ButtonCapsLength,
IN PHIDP_PREPARSED_DATA PreparsedData)
{
UNIMPLEMENTED;
@@ -117,7 +117,7 @@
IN USHORT LinkCollection,
IN USAGE Usage,
OUT PHIDP_VALUE_CAPS ValueCaps,
- IN OUT PULONG ValueCapsLength,
+ IN OUT PUSHORT ValueCapsLength,
IN PHIDP_PREPARSED_DATA PreparsedData)
{
UNIMPLEMENTED;