Austin English : hid: Add HidD_GetProductString stub.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 4 15:29:39 CDT 2014


Module: wine
Branch: master
Commit: bb25986702bf5a1749742094a8755d780f33cd51
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bb25986702bf5a1749742094a8755d780f33cd51

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Jul 31 11:59:16 2014 -0700

hid: Add HidD_GetProductString stub.

---

 dlls/hid/hid.spec    | 2 +-
 dlls/hid/main.c      | 6 ++++++
 include/ddk/hidsdi.h | 1 +
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/dlls/hid/hid.spec b/dlls/hid/hid.spec
index af6140a..f58953a 100644
--- a/dlls/hid/hid.spec
+++ b/dlls/hid/hid.spec
@@ -11,7 +11,7 @@
 @ stub HidD_GetNumInputBuffers
 @ stub HidD_GetPhysicalDescriptor
 @ stub HidD_GetPreparsedData
-@ stub HidD_GetProductString
+@ stdcall HidD_GetProductString(long ptr long)
 @ stub HidD_GetSerialNumberString
 @ stub HidD_Hello
 @ stub HidD_SetConfiguration
diff --git a/dlls/hid/main.c b/dlls/hid/main.c
index 2493075..927b563 100644
--- a/dlls/hid/main.c
+++ b/dlls/hid/main.c
@@ -73,3 +73,9 @@ BOOLEAN WINAPI HidD_SetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG
     FIXME("(%p %p %u) stub\n", HidDeviceObject, ReportBuffer, ReportBufferLength);
     return FALSE;
 }
+
+BOOLEAN WINAPI HidD_GetProductString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength)
+{
+    FIXME("(%p %p %u) stub\n", HidDeviceObject, Buffer, BufferLength);
+    return FALSE;
+}
diff --git a/include/ddk/hidsdi.h b/include/ddk/hidsdi.h
index 229fc14..bb49f0b 100644
--- a/include/ddk/hidsdi.h
+++ b/include/ddk/hidsdi.h
@@ -30,6 +30,7 @@ typedef LONG NTSTATUS;
 BOOLEAN WINAPI HidD_GetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength);
 void WINAPI HidD_GetHidGuid(LPGUID guid);
 BOOLEAN WINAPI HidD_GetManufacturerString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength);
+BOOLEAN WINAPI HidD_GetProductString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength);
 BOOLEAN WINAPI HidD_SetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength);
 
 #endif  /* __WINE_HIDSDI_H */




More information about the wine-cvs mailing list