From: Austin English Subject: hid: add HidD_GetProductString stub Message-Id: Date: Thu, 31 Jul 2014 11:59:16 -0700 Used by DYMO Stamps (noticed while testing bug 31687) -- -Austin
Used by DYMO Stamps (noticed while testing bug 31687)

--
-Austin
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..0535504 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; +} \ No newline at end of file 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 */