Module: wine Branch: master Commit: 45a1f85d15f92dee70a0fbae12dec2cef9d14886 URL: http://source.winehq.org/git/wine.git/?a=commit;h=45a1f85d15f92dee70a0fbae12...
Author: Andrew Nguyen arethusa26@gmail.com Date: Mon Feb 23 04:25:19 2009 -0600
hid: Stub HidD_GetFeature.
---
dlls/hid/hid.spec | 2 +- dlls/hid/main.c | 8 ++++++++ include/ddk/hidsdi.h | 1 + 3 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/dlls/hid/hid.spec b/dlls/hid/hid.spec index 32d0687..0cdfd57 100644 --- a/dlls/hid/hid.spec +++ b/dlls/hid/hid.spec @@ -2,7 +2,7 @@ @ stub HidD_FreePreparsedData @ stub HidD_GetAttributes @ stub HidD_GetConfiguration -@ stub HidD_GetFeature +@ stdcall HidD_GetFeature(long ptr long) @ stdcall HidD_GetHidGuid(ptr) @ stub HidD_GetIndexedString @ stub HidD_GetInputReport diff --git a/dlls/hid/main.c b/dlls/hid/main.c index 1869bb5..62c7cbd 100644 --- a/dlls/hid/main.c +++ b/dlls/hid/main.c @@ -50,6 +50,14 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) return TRUE; }
+BOOLEAN WINAPI HidD_GetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength) +{ + static int count = 0; + if (!count++) + FIXME("(%p %p %u) stub\n", HidDeviceObject, ReportBuffer, ReportBufferLength); + return FALSE; +} + void WINAPI HidD_GetHidGuid(LPGUID guid) { TRACE("(%p)\n", guid); diff --git a/include/ddk/hidsdi.h b/include/ddk/hidsdi.h index ebaef11..4059d26 100644 --- a/include/ddk/hidsdi.h +++ b/include/ddk/hidsdi.h @@ -27,6 +27,7 @@ typedef LONG NTSTATUS; #endif
+BOOLEAN WINAPI HidD_GetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength); void WINAPI HidD_GetHidGuid(LPGUID guid);
#endif /* __WINE_HIDSDI_H */