setupapi: add stub for SetupDiGetClassImageList

Ricardo Filipe ricardo_barbano at hotmail.com
Mon Jan 26 11:03:59 CST 2009


created with information from
http://msdn.microsoft.com/en-us/library/ms792987.aspx
another stub for http://bugs.winehq.org/show_bug.cgi?id=9152
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20090126/744bf152/attachment.htm 
-------------- next part --------------
From 7b8633eb672e6e7cabb153aa8ff030c50778ac2e Mon Sep 17 00:00:00 2001
From: Ricardo Filipe <ricardo_barbano at hotmail.com>
Date: Sat, 24 Jan 2009 14:52:51 +0000
Subject: setupapi: add stub for SetupDiGetClassImageList

---
 dlls/setupapi/setupapi.spec |    2 +-
 dlls/setupapi/stubs.c       |    9 +++++++++
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 6c86043..42dd7ef 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -319,7 +319,7 @@
 @ stdcall SetupDiGetClassDevsExW(ptr wstr ptr long ptr wstr ptr)
 @ stdcall SetupDiGetClassDevsW(ptr ptr long long)
 @ stub SetupDiGetClassImageIndex
-@ stub SetupDiGetClassImageList
+@ stdcall SetupDiGetClassImageList(ptr)
 @ stub SetupDiGetClassImageListExA
 @ stub SetupDiGetClassImageListExW
 @ stub SetupDiGetClassInstallParamsA
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index 89b02eb..4db264b 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -238,6 +238,15 @@ BOOL WINAPI SetupDiDestroyClassImageList(PSP_CLASSIMAGELIST_DATA ClassListImageD
 }
 
 /***********************************************************************
+ *      SetupDiGetClassImageList (SETUPAPI.@)
+ */
+BOOL WINAPI SetupDiGetClassImageList(PSP_CLASSIMAGELIST_DATA ClassImageListData)
+{
+    FIXME("(%p) stub\n", ClassImageListData);
+    return FALSE;
+}
+
+/***********************************************************************
  *      SetupPromptForDiskA (SETUPAPI.@)
  */
 UINT WINAPI SetupPromptForDiskA(HWND hwndParent, PCSTR DialogTitle, PCSTR DiskName,
-- 
1.5.6.3


More information about the wine-patches mailing list