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
191f21c7
Commit
191f21c7
authored
Jan 16, 2006
by
Saulius Krasuckas
Committed by
Alexandre Julliard
Jan 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscms: Collect some data during profile enumeration.
parent
9ba1876c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
profile.c
dlls/mscms/tests/profile.c
+6
-2
No files found.
dlls/mscms/tests/profile.c
View file @
191f21c7
...
@@ -442,9 +442,11 @@ static void test_GetCountColorProfileElements(void)
...
@@ -442,9 +442,11 @@ static void test_GetCountColorProfileElements(void)
typedef
struct
colorspace_description_struct
{
typedef
struct
colorspace_description_struct
{
DWORD
dwID
;
DWORD
dwID
;
char
*
szName
;
char
*
szName
;
BOOL
registered
;
char
filename
[
MAX_PATH
];
}
colorspace_descr
;
}
colorspace_descr
;
#define describe_colorspace(id) {id, #id}
#define describe_colorspace(id) {id, #id
, FALSE, ""
}
colorspace_descr
known_colorspaces
[]
=
{
colorspace_descr
known_colorspaces
[]
=
{
describe_colorspace
(
SPACE_XYZ
),
describe_colorspace
(
SPACE_XYZ
),
...
@@ -478,12 +480,14 @@ static void enum_registered_color_profiles(void)
...
@@ -478,12 +480,14 @@ static void enum_registered_color_profiles(void)
present
=
0
;
present
=
0
;
trace
(
"
\n
"
);
trace
(
"
\n
"
);
trace
(
"
Searching for registered standard colorspace profiles
:
\n
"
);
trace
(
"
Querying registered standard colorspace profiles via GetStandardColorSpaceProfileA()
:
\n
"
);
for
(
i
=
0
;
i
<
count
;
i
++
)
for
(
i
=
0
;
i
<
count
;
i
++
)
{
{
ret
=
pGetStandardColorSpaceProfileA
(
NULL
,
known_colorspaces
[
i
].
dwID
,
profile
,
&
size
);
ret
=
pGetStandardColorSpaceProfileA
(
NULL
,
known_colorspaces
[
i
].
dwID
,
profile
,
&
size
);
if
(
ret
)
if
(
ret
)
{
{
lstrcpynA
(
known_colorspaces
[
i
].
filename
,
profile
,
MAX_PATH
);
known_colorspaces
[
i
].
registered
=
TRUE
;
present
++
;
present
++
;
trace
(
" found %s, pointing to '%s' (%d chars)
\n
"
,
known_colorspaces
[
i
].
szName
,
profile
,
strlen
(
profile
));
trace
(
" found %s, pointing to '%s' (%d chars)
\n
"
,
known_colorspaces
[
i
].
szName
,
profile
,
strlen
(
profile
));
}
}
...
...
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