Commit 21973119 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Added stub for EnumICMProfilesA/W.

parent 774304da
...@@ -48,6 +48,7 @@ C_SRCS = \ ...@@ -48,6 +48,7 @@ C_SRCS = \
enhmfdrv/objects.c \ enhmfdrv/objects.c \
freetype.c \ freetype.c \
gdi_main.c \ gdi_main.c \
icm.c \
mfdrv/bitblt.c \ mfdrv/bitblt.c \
mfdrv/dc.c \ mfdrv/dc.c \
mfdrv/graphics.c \ mfdrv/graphics.c \
......
...@@ -97,8 +97,8 @@ ...@@ -97,8 +97,8 @@
@ stdcall EnumFontFamiliesW(long wstr ptr long) @ stdcall EnumFontFamiliesW(long wstr ptr long)
@ stdcall EnumFontsA(long str ptr long) @ stdcall EnumFontsA(long str ptr long)
@ stdcall EnumFontsW(long wstr ptr long) @ stdcall EnumFontsW(long wstr ptr long)
@ stub EnumICMProfilesA @ stdcall EnumICMProfilesA(long ptr long)
@ stub EnumICMProfilesW @ stdcall EnumICMProfilesW(long ptr long)
@ stdcall EnumMetaFile(long long ptr ptr) @ stdcall EnumMetaFile(long long ptr ptr)
@ stdcall EnumObjects(long long ptr long) @ stdcall EnumObjects(long long ptr long)
@ stdcall EqualRgn(long long) @ stdcall EqualRgn(long long)
......
/*
* Image Color Management
*
* Copyright 2004 Marcus Meissner
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include <stdarg.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "wingdi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(icm);
/***********************************************************************
* EnumICMProfilesA (GDI32.@)
*/
INT WINAPI EnumICMProfilesA(HDC hdc,ICMENUMPROCA func,LPARAM lParam) {
FIXME("(%p, %p, 0x%08lx), stub.\n",hdc,func,lParam);
return -1;
}
/***********************************************************************
* EnumICMProfilesW (GDI32.@)
*/
INT WINAPI EnumICMProfilesW(HDC hdc,ICMENUMPROCW func,LPARAM lParam) {
FIXME("(%p, %p, 0x%08lx), stub.\n",hdc,func,lParam);
return -1;
}
...@@ -431,6 +431,14 @@ DECL_WINELIB_TYPE_AW(LOGCOLORSPACE) ...@@ -431,6 +431,14 @@ DECL_WINELIB_TYPE_AW(LOGCOLORSPACE)
#define CMYK(c,m,y,k) ((COLORREF)((((BYTE)(k)|((WORD)((BYTE)(y))<<8))|(((DWORD)(BYTE)(m))<<16))|(((DWORD)(BYTE)(c))<<24))) #define CMYK(c,m,y,k) ((COLORREF)((((BYTE)(k)|((WORD)((BYTE)(y))<<8))|(((DWORD)(BYTE)(m))<<16))|(((DWORD)(BYTE)(c))<<24)))
/* ICM stuff */
typedef INT (CALLBACK *EnumICMProfilesProcCallbackA)(LPSTR lpszFilename,LPARAM lParam);
typedef INT (CALLBACK *EnumICMProfilesProcCallbackW)(LPWSTR lpszFilename,LPARAM lParam);
DECL_WINELIB_TYPE_AW(EnumICMProfilesProcCallback)
typedef EnumICMProfilesProcCallbackA ICMENUMPROCA;
typedef EnumICMProfilesProcCallbackW ICMENUMPROCW;
DECL_WINELIB_TYPE_AW(ICMENUMPROC)
#define ICM_OFF 1 #define ICM_OFF 1
#define ICM_ON 2 #define ICM_ON 2
...@@ -3216,6 +3224,9 @@ INT WINAPI EnumFontFamiliesExW(HDC,LPLOGFONTW,FONTENUMPROCW,LPARAM,DWORD); ...@@ -3216,6 +3224,9 @@ INT WINAPI EnumFontFamiliesExW(HDC,LPLOGFONTW,FONTENUMPROCW,LPARAM,DWORD);
INT WINAPI EnumFontsA(HDC,LPCSTR,FONTENUMPROCA,LPARAM); INT WINAPI EnumFontsA(HDC,LPCSTR,FONTENUMPROCA,LPARAM);
INT WINAPI EnumFontsW(HDC,LPCWSTR,FONTENUMPROCW,LPARAM); INT WINAPI EnumFontsW(HDC,LPCWSTR,FONTENUMPROCW,LPARAM);
#define EnumFonts WINELIB_NAME_AW(EnumFonts) #define EnumFonts WINELIB_NAME_AW(EnumFonts)
INT WINAPI EnumICMProfilesA(HDC,ICMENUMPROCA,LPARAM);
INT WINAPI EnumICMProfilesW(HDC,ICMENUMPROCW,LPARAM);
#define EnumICMProfiles WINELIB_NAME_AW(EnumICMProfiles)
BOOL WINAPI EnumMetaFile(HDC,HMETAFILE,MFENUMPROC,LPARAM); BOOL WINAPI EnumMetaFile(HDC,HMETAFILE,MFENUMPROC,LPARAM);
INT WINAPI EnumObjects(HDC,INT,GOBJENUMPROC,LPARAM); INT WINAPI EnumObjects(HDC,INT,GOBJENUMPROC,LPARAM);
BOOL WINAPI EqualRgn(HRGN,HRGN); BOOL WINAPI EqualRgn(HRGN,HRGN);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment