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
b2e8b36e
Commit
b2e8b36e
authored
Oct 22, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flesh out the icm.h header (add COLORMATCHSETUP & co) so it is
necessary to first include winuser.h like on Windows.
parent
b4df2417
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
71 additions
and
14 deletions
+71
-14
handle.c
dlls/mscms/handle.c
+1
-1
mscms_main.c
dlls/mscms/mscms_main.c
+1
-1
profile.c
dlls/mscms/profile.c
+1
-1
profile.c
dlls/mscms/tests/profile.c
+1
-1
icm.h
include/icm.h
+67
-10
No files found.
dlls/mscms/handle.c
View file @
b2e8b36e
...
...
@@ -23,8 +23,8 @@
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "icm.h"
#include "mscms_priv.h"
...
...
dlls/mscms/mscms_main.c
View file @
b2e8b36e
...
...
@@ -28,8 +28,8 @@
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "icm.h"
#define LCMS_API_NO_REDEFINE
...
...
dlls/mscms/profile.c
View file @
b2e8b36e
...
...
@@ -26,8 +26,8 @@
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "wingdi.h"
#include "winuser.h"
#include "icm.h"
#define LCMS_API_FUNCTION(f) extern typeof(f) * p##f;
...
...
dlls/mscms/tests/profile.c
View file @
b2e8b36e
...
...
@@ -23,8 +23,8 @@
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "wingdi.h"
#include "winuser.h"
#include "icm.h"
#include "wine/test.h"
...
...
include/icm.h
View file @
b2e8b36e
...
...
@@ -29,7 +29,8 @@ typedef HANDLE HTRANSFORM;
typedef
DWORD
TAGTYPE
,
*
PTAGTYPE
,
*
LPTAGTYPE
;
typedef
enum
{
typedef
enum
{
BM_x555RGB
=
0x00
,
BM_565RGB
=
0x01
,
BM_RGBTRIPLETS
=
0x02
,
...
...
@@ -72,7 +73,8 @@ typedef enum {
typedef
BOOL
(
CALLBACK
*
PBMCALLBACKFN
)(
ULONG
,
ULONG
,
LPARAM
);
typedef
PBMCALLBACKFN
LPPBMCALLBACKFN
;
typedef
struct
tagPROFILEHEADER
{
typedef
struct
tagPROFILEHEADER
{
DWORD
phSize
;
DWORD
phCMMType
;
DWORD
phVersion
;
...
...
@@ -92,29 +94,84 @@ typedef struct tagPROFILEHEADER {
BYTE
phReserved
[
44
];
}
PROFILEHEADER
,
*
PPROFILEHEADER
,
*
LPPROFILEHEADER
;
typedef
struct
tagPROFILE
{
typedef
struct
tagPROFILE
{
DWORD
dwType
;
PVOID
pProfileData
;
DWORD
cbDataSize
;
}
PROFILE
,
*
PPROFILE
,
*
LPPROFILE
;
struct
_tagCOLORMATCHSETUPA
;
struct
_tagCOLORMATCHSETUPW
;
typedef
BOOL
(
WINAPI
*
PCMSCALLBACKA
)(
struct
_tagCOLORMATCHSETUPA
*
,
LPARAM
);
typedef
BOOL
(
WINAPI
*
PCMSCALLBACKW
)(
struct
_tagCOLORMATCHSETUPW
*
,
LPARAM
);
typedef
struct
_tagCOLORMATCHSETUPA
{
DWORD
dwSize
;
DWORD
dwVersion
;
DWORD
dwFlags
;
HWND
hwndOwner
;
PCSTR
pSourceName
;
PCSTR
pDisplayName
;
PCSTR
pPrinterName
;
DWORD
dwRenderIntent
;
DWORD
dwProofingIntent
;
PSTR
pMonitorProfile
;
DWORD
ccMonitorProfile
;
PSTR
pPrinterProfile
;
DWORD
ccPrinterProfile
;
PSTR
pTargetProfile
;
DWORD
ccTargetProfile
;
DLGPROC
lpfnHook
;
LPARAM
lParam
;
PCMSCALLBACKA
lpfnApplyCallback
;
LPARAM
lParamApplyCallback
;
}
COLORMATCHSETUPA
,
*
PCOLORMATCHSETUPA
,
*
LPCOLORMATCHSETUPA
;
typedef
struct
_tagCOLORMATCHSETUPW
{
DWORD
dwSize
;
DWORD
dwVersion
;
DWORD
dwFlags
;
HWND
hwndOwner
;
PCWSTR
pSourceName
;
PCWSTR
pDisplayName
;
PCWSTR
pPrinterName
;
DWORD
dwRenderIntent
;
DWORD
dwProofingIntent
;
PWSTR
pMonitorProfile
;
DWORD
ccMonitorProfile
;
PWSTR
pPrinterProfile
;
DWORD
ccPrinterProfile
;
PWSTR
pTargetProfile
;
DWORD
ccTargetProfile
;
DLGPROC
lpfnHook
;
LPARAM
lParam
;
PCMSCALLBACKW
lpfnApplyCallback
;
LPARAM
lParamApplyCallback
;
}
COLORMATCHSETUPW
,
*
PCOLORMATCHSETUPW
,
*
LPCOLORMATCHSETUPW
;
BOOL
WINAPI
CloseColorProfile
(
HPROFILE
);
BOOL
WINAPI
GetColorDirectoryA
(
PCSTR
,
PSTR
,
PDWORD
);
BOOL
WINAPI
GetColorDirectoryW
(
PCWSTR
,
PWSTR
,
PDWORD
);
#define GetColorDirectory WINELIB_NAME_AW(GetColorDirectory)
BOOL
WINAPI
InstallColorProfileA
(
PCSTR
,
PCSTR
);
BOOL
WINAPI
InstallColorProfileW
(
PCWSTR
,
PCWSTR
);
#define InstallColorProfile WINELIB_NAME_AW(InstallColorProfile)
BOOL
WINAPI
UninstallColorProfileA
(
PCSTR
,
PCSTR
,
BOOL
);
BOOL
WINAPI
UninstallColorProfileW
(
PCWSTR
,
PCWSTR
,
BOOL
);
#define UninstallColorProfile WINELIB_NAME_AW(UninstallColorProfile)
HPROFILE
WINAPI
OpenColorProfileA
(
PPROFILE
,
DWORD
,
DWORD
,
DWORD
);
HPROFILE
WINAPI
OpenColorProfileW
(
PPROFILE
,
DWORD
,
DWORD
,
DWORD
);
#define OpenColorProfile WINELIB_NAME_AW(OpenColorProfile)
BOOL
WINAPI
SetupColorMatchingA
(
PCOLORMATCHSETUPA
);
BOOL
WINAPI
SetupColorMatchingW
(
PCOLORMATCHSETUPW
);
#define SetupColorMatching WINELIB_NAME_AW(SetupColorMatching)
BOOL
WINAPI
UninstallColorProfileA
(
PCSTR
,
PCSTR
,
BOOL
);
BOOL
WINAPI
UninstallColorProfileW
(
PCWSTR
,
PCWSTR
,
BOOL
);
#define UninstallColorProfile WINELIB_NAME_AW(UninstallColorProfile)
BOOL
WINAPI
CloseColorProfile
(
HPROFILE
);
#define PROFILE_FILENAME 1
#define PROFILE_MEMBUFFER 2
...
...
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