Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
21973119
Commit
21973119
authored
Jan 13, 2004
by
Marcus Meissner
Committed by
Alexandre Julliard
Jan 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stub for EnumICMProfilesA/W.
parent
774304da
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
2 deletions
+63
-2
Makefile.in
dlls/gdi/Makefile.in
+1
-0
gdi32.spec
dlls/gdi/gdi32.spec
+2
-2
icm.c
dlls/gdi/icm.c
+49
-0
wingdi.h
include/wingdi.h
+11
-0
No files found.
dlls/gdi/Makefile.in
View file @
21973119
...
...
@@ -48,6 +48,7 @@ C_SRCS = \
enhmfdrv/objects.c
\
freetype.c
\
gdi_main.c
\
icm.c
\
mfdrv/bitblt.c
\
mfdrv/dc.c
\
mfdrv/graphics.c
\
...
...
dlls/gdi/gdi32.spec
View file @
21973119
...
...
@@ -97,8 +97,8 @@
@ stdcall EnumFontFamiliesW(long wstr ptr long)
@ stdcall EnumFontsA(long str ptr long)
@ stdcall EnumFontsW(long wstr ptr long)
@ st
ub EnumICMProfilesA
@ st
ub EnumICMProfilesW
@ st
dcall EnumICMProfilesA(long ptr long)
@ st
dcall EnumICMProfilesW(long ptr long)
@ stdcall EnumMetaFile(long long ptr ptr)
@ stdcall EnumObjects(long long ptr long)
@ stdcall EqualRgn(long long)
...
...
dlls/gdi/icm.c
0 → 100644
View file @
21973119
/*
* 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
;
}
include/wingdi.h
View file @
21973119
...
...
@@ -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)))
/* 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_ON 2
...
...
@@ -3216,6 +3224,9 @@ INT WINAPI EnumFontFamiliesExW(HDC,LPLOGFONTW,FONTENUMPROCW,LPARAM,DWORD);
INT
WINAPI
EnumFontsA
(
HDC
,
LPCSTR
,
FONTENUMPROCA
,
LPARAM
);
INT
WINAPI
EnumFontsW
(
HDC
,
LPCWSTR
,
FONTENUMPROCW
,
LPARAM
);
#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
);
INT
WINAPI
EnumObjects
(
HDC
,
INT
,
GOBJENUMPROC
,
LPARAM
);
BOOL
WINAPI
EqualRgn
(
HRGN
,
HRGN
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment