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
26cb8431
Commit
26cb8431
authored
Aug 27, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Move some TRACE() higher in region.c.
parent
532a50df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
region.c
dlls/gdiplus/region.c
+8
-7
No files found.
dlls/gdiplus/region.c
View file @
26cb8431
...
...
@@ -350,11 +350,11 @@ GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1,
GpStatus
WINGDIPAPI
GdipCreateRegion
(
GpRegion
**
region
)
{
TRACE
(
"%p
\n
"
,
region
);
if
(
!
region
)
return
InvalidParameter
;
TRACE
(
"%p
\n
"
,
region
);
*
region
=
GdipAlloc
(
sizeof
(
GpRegion
));
if
(
!*
region
)
return
OutOfMemory
;
...
...
@@ -692,10 +692,11 @@ GpStatus WINGDIPAPI GdipGetRegionData(GpRegion *region, BYTE *buffer, UINT size,
{
INT
filled
=
0
;
TRACE
(
"%p, %p, %d, %p
\n
"
,
region
,
buffer
,
size
,
needed
);
if
(
!
(
region
&&
buffer
&&
size
))
return
InvalidParameter
;
TRACE
(
"%p, %p, %d, %p
\n
"
,
region
,
buffer
,
size
,
needed
);
memcpy
(
buffer
,
&
region
->
header
,
sizeof
(
region
->
header
));
filled
+=
sizeof
(
region
->
header
)
/
sizeof
(
DWORD
);
/* With few exceptions, everything written is DWORD aligned,
...
...
@@ -710,11 +711,11 @@ GpStatus WINGDIPAPI GdipGetRegionData(GpRegion *region, BYTE *buffer, UINT size,
GpStatus
WINGDIPAPI
GdipGetRegionDataSize
(
GpRegion
*
region
,
UINT
*
needed
)
{
TRACE
(
"%p, %p
\n
"
,
region
,
needed
);
if
(
!
(
region
&&
needed
))
return
InvalidParameter
;
TRACE
(
"%p, %p
\n
"
,
region
,
needed
);
/* header.size doesn't count header.size and header.checksum */
*
needed
=
region
->
header
.
size
+
sizeof
(
DWORD
)
*
2
;
...
...
@@ -779,11 +780,11 @@ GpStatus WINGDIPAPI GdipSetInfinite(GpRegion *region)
{
GpStatus
stat
;
TRACE
(
"%p
\n
"
,
region
);
if
(
!
region
)
return
InvalidParameter
;
TRACE
(
"%p
\n
"
,
region
);
delete_element
(
&
region
->
node
);
stat
=
init_region
(
region
,
RegionDataInfiniteRect
);
...
...
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