=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: hid: Add HidD_GetManufacturerString stub.

Alexandre Julliard julliard at winehq.org
Thu Apr 4 13:54:15 CDT 2013


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Apr  3 18:09:21 2013 +0200

hid: Add HidD_GetManufacturerString stub.

---

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

diff --git a/dlls/hid/hid.spec b/dlls/hid/hid.spec
index b75b6b0..af6140a 100644
--- a/dlls/hid/hid.spec
+++ b/dlls/hid/hid.spec
@@ -6,7 +6,7 @@
 @ stdcall HidD_GetHidGuid(ptr)
 @ stub HidD_GetIndexedString
 @ stub HidD_GetInputReport
-@ stub HidD_GetManufacturerString
+@ stdcall HidD_GetManufacturerString(long ptr long)
 @ stub HidD_GetMsGenreDescriptor
 @ stub HidD_GetNumInputBuffers
 @ stub HidD_GetPhysicalDescriptor
diff --git a/dlls/hid/main.c b/dlls/hid/main.c
index 1b9d7eb..ed85f00 100644
--- a/dlls/hid/main.c
+++ b/dlls/hid/main.c
@@ -64,6 +64,12 @@ void WINAPI HidD_GetHidGuid(LPGUID guid)
     *guid = HID_GUID;
 }
 
+BOOLEAN WINAPI HidD_GetManufacturerString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength)
+{
+    FIXME("(%p %p %u) stub\n", HidDeviceObject, Buffer, BufferLength);
+    return FALSE;
+}
+
 BOOLEAN WINAPI HidD_SetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength)
 {
     FIXME("(%p %p %u) stub\n", HidDeviceObject, ReportBuffer, ReportBufferLength);
diff --git a/include/ddk/hidsdi.h b/include/ddk/hidsdi.h
index a6bc45c..229fc14 100644
--- a/include/ddk/hidsdi.h
+++ b/include/ddk/hidsdi.h
@@ -29,6 +29,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_SetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength);
 
 #endif  /* __WINE_HIDSDI_H */




More information about the wine-cvs mailing list