Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
888262ed
Commit
888262ed
authored
May 09, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipLoadImageFromFileICM (no icm yet).
parent
03b6c5e8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
image.c
dlls/gdiplus/image.c
+6
-0
image.c
dlls/gdiplus/tests/image.c
+6
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
888262ed
...
...
@@ -436,7 +436,7 @@
@ stub GdipIsVisibleRegionRect
@ stub GdipIsVisibleRegionRectI
@ stdcall GdipLoadImageFromFile(wstr ptr)
@ st
ub GdipLoadImageFromFileICM
@ st
dcall GdipLoadImageFromFileICM(wstr ptr)
@ stdcall GdipLoadImageFromStream(ptr ptr)
@ stdcall GdipLoadImageFromStreamICM(ptr ptr)
@ stub GdipMeasureCharacterRanges
...
...
dlls/gdiplus/image.c
View file @
888262ed
...
...
@@ -727,6 +727,12 @@ GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR* filename,
return
stat
;
}
/* FIXME: no icm handling */
GpStatus
WINGDIPAPI
GdipLoadImageFromFileICM
(
GDIPCONST
WCHAR
*
filename
,
GpImage
**
image
)
{
return
GdipLoadImageFromFile
(
filename
,
image
);
}
GpStatus
WINGDIPAPI
GdipLoadImageFromStream
(
IStream
*
stream
,
GpImage
**
image
)
{
IPicture
*
pic
;
...
...
dlls/gdiplus/tests/image.c
View file @
888262ed
...
...
@@ -121,6 +121,12 @@ static void test_LoadingImages(void)
stat
=
GdipLoadImageFromFile
(
0
,
(
GpImage
**
)
0xdeadbeef
);
expect
(
InvalidParameter
,
stat
);
stat
=
GdipLoadImageFromFileICM
(
0
,
0
);
expect
(
InvalidParameter
,
stat
);
stat
=
GdipLoadImageFromFileICM
(
0
,
(
GpImage
**
)
0xdeadbeef
);
expect
(
InvalidParameter
,
stat
);
}
static
void
test_SavingImages
(
void
)
...
...
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