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
71f975f6
Commit
71f975f6
authored
Jun 02, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add an inline version of EqualRect() too.
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b0104692
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
winuser.h
include/winuser.h
+8
-1
No files found.
include/winuser.h
View file @
71f975f6
...
...
@@ -3539,7 +3539,6 @@ WINUSERAPI BOOL WINAPI EnumWindows(WNDENUMPROC,LPARAM);
WINUSERAPI
BOOL
WINAPI
EnumWindowStationsA
(
WINSTAENUMPROCA
,
LPARAM
);
WINUSERAPI
BOOL
WINAPI
EnumWindowStationsW
(
WINSTAENUMPROCW
,
LPARAM
);
#define EnumWindowStations WINELIB_NAME_AW(EnumWindowStations)
WINUSERAPI
BOOL
WINAPI
EqualRect
(
const
RECT
*
,
const
RECT
*
);
WINUSERAPI
INT
WINAPI
ExcludeUpdateRgn
(
HDC
,
HWND
);
#define ExitWindows(a,b) ExitWindowsEx(EWX_LOGOFF,0xffffffff)
WINUSERAPI
BOOL
WINAPI
ExitWindowsEx
(
UINT
,
DWORD
);
...
...
@@ -4091,6 +4090,7 @@ WINUSERAPI INT WINAPI wvsprintfW(LPWSTR,LPCWSTR,__ms_va_list);
#if !defined(__WINESRC__) || defined(WINE_NO_INLINE_RECT)
WINUSERAPI
BOOL
WINAPI
EqualRect
(
const
RECT
*
,
const
RECT
*
);
WINUSERAPI
BOOL
WINAPI
IsRectEmpty
(
const
RECT
*
);
WINUSERAPI
BOOL
WINAPI
SetRect
(
LPRECT
,
INT
,
INT
,
INT
,
INT
);
WINUSERAPI
BOOL
WINAPI
SetRectEmpty
(
LPRECT
);
...
...
@@ -4099,6 +4099,13 @@ WINUSERAPI BOOL WINAPI SetRectEmpty(LPRECT);
/* Inline versions of common RECT helpers */
static
inline
BOOL
WINAPI
EqualRect
(
const
RECT
*
rect1
,
const
RECT
*
rect2
)
{
if
(
!
rect1
||
!
rect2
)
return
FALSE
;
return
((
rect1
->
left
==
rect2
->
left
)
&&
(
rect1
->
right
==
rect2
->
right
)
&&
(
rect1
->
top
==
rect2
->
top
)
&&
(
rect1
->
bottom
==
rect2
->
bottom
));
}
static
inline
BOOL
WINAPI
IsRectEmpty
(
const
RECT
*
rect
)
{
if
(
!
rect
)
return
TRUE
;
...
...
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