From: Rein Klazes Date: Fri, 20 Feb 2004 01:08:16 +0000 (+0000) Subject: Add stub implementation for SetICMProfileA(). X-Git-Tag: wine-20040309~203 X-Git-Url: http://git.etersoft.ru/projects/?a=commitdiff_plain;h=8677fbf362a659c35d40a1e921bb01b7a90598f2;p=wine%2Feterwine.git Add stub implementation for SetICMProfileA(). --- diff --git a/dlls/gdi/gdi32.spec b/dlls/gdi/gdi32.spec index 54ae23bcc7..d3822cfb9e 100644 --- a/dlls/gdi/gdi32.spec +++ b/dlls/gdi/gdi32.spec @@ -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 diff --git a/objects/palette.c b/objects/palette.c index 358719f473..dfca7611ea 100644 --- a/objects/palette.c +++ b/objects/palette.c @@ -924,3 +924,13 @@ BOOL WINAPI GetICMProfileA(HDC hDC, LPDWORD lpcbName, LPSTR lpszFilename) 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 */ +}