SetICMProfileA stub

Rein Klazes rklazes at xs4all.nl
Thu Feb 19 02:33:44 CST 2004


Hi,

Fix a crash reported in the newsgroup.

Changelog:
	dlls/gdi	: gdi32.spec
	objects 	: palette.c

	Add stub implementation for SetICMProfileA()

Rein.
-- 
Rein Klazes
rklazes at xs4all.nl
-------------- next part --------------
--- wine/dlls/gdi/gdi32.spec	2004-02-14 08:17:38.000000000 +0100
+++ mywine/dlls/gdi/gdi32.spec	2004-02-19 08:30:10.000000000 +0100
@@ -362,7 +362,7 @@
 @ stub SetFontEnumeration
 @ stdcall SetGraphicsMode(long long)
 @ stdcall SetICMMode(long long)
-@ stub SetICMProfileA
+@ stdcall SetICMProfileA (long ptr)
 @ stub SetICMProfileW
 @ stdcall SetLayout(long long)
 @ stub SetMagicColors
--- wine/objects/palette.c	2004-02-10 10:26:33.000000000 +0100
+++ mywine/objects/palette.c	2004-02-19 09:30:43.000000000 +0100
@@ -924,3 +924,13 @@
     strcpy(lpszFilename, WINEICM);
     return TRUE;
 }
+
+/**********************************************************************
+ * SetICMProfileA [GDI32.@]
+ *
+ */
+BOOL WINAPI SetICMProfileA(HDC hDC, LPSTR lpszFilename)
+{
+    FIXME("hDC %p filename '%s': stub!\n", hDC, debugstr_a(lpszFilename));
+    return TRUE; /* success */
+}


More information about the wine-patches mailing list