Stefan Leichter : setupapi: Add stub for SetupDiDrawMiniIcon.
Alexandre Julliard
julliard at winehq.org
Fri Dec 30 10:27:05 CST 2011
Module: wine
Branch: master
Commit: 8fc7a01a2c4f023672f34d907be607d6e5948f0e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8fc7a01a2c4f023672f34d907be607d6e5948f0e
Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date: Thu Dec 29 22:54:10 2011 +0100
setupapi: Add stub for SetupDiDrawMiniIcon.
---
dlls/setupapi/setupapi.spec | 2 +-
dlls/setupapi/stubs.c | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 0295532..25639f5 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -304,7 +304,7 @@
@ stdcall SetupDiDestroyClassImageList(ptr)
@ stdcall SetupDiDestroyDeviceInfoList(long)
@ stub SetupDiDestroyDriverInfoList
-@ stub SetupDiDrawMiniIcon
+@ stdcall SetupDiDrawMiniIcon(ptr int128 long long)
@ stdcall SetupDiEnumDeviceInfo(long long ptr)
@ stdcall SetupDiEnumDeviceInterfaces(long ptr ptr long ptr)
@ stub SetupDiEnumDriverInfoA
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index 8a7820e..f53b3ad 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -437,6 +437,17 @@ BOOL WINAPI SetupDiDeleteDeviceInfo(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA Dev
}
/***********************************************************************
+ * SetupDiDrawMiniIcon (SETUPAPI.@)
+ */
+INT WINAPI SetupDiDrawMiniIcon(HDC hdc, RECT rc, INT MiniIconIndex, DWORD Flags)
+{
+ FIXME("(%p, %s, %d, %x) stub\n", hdc, wine_dbgstr_rect(&rc), MiniIconIndex, Flags);
+
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return 0;
+}
+
+/***********************************************************************
* SetupDiGetClassBitmapIndex (SETUPAPI.@)
*/
BOOL WINAPI SetupDiGetClassBitmapIndex(const GUID *ClassGuid, PINT MiniIconIndex)
More information about the wine-cvs
mailing list