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
1435b5ec
Commit
1435b5ec
authored
Oct 31, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 31, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Make "long" numeric constants LP64/LLP64 proof (winuser.h).
parent
8f923e38
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
scroll.c
dlls/user32/tests/scroll.c
+4
-4
win.c
dlls/user32/tests/win.c
+1
-1
win.c
dlls/user32/win.c
+2
-2
winuser.h
include/winuser.h
+0
-0
No files found.
dlls/user32/tests/scroll.c
View file @
1435b5ec
...
...
@@ -302,12 +302,12 @@ todo_wine
if
(
bThemeActive
||
style
!=
WS_HSCROLL
)
todo_wine
ok
(
(
winstyle
&
(
WS_HSCROLL
|
WS_VSCROLL
))
==
(
style
|
WS_VSCROLL
),
"unexpected style change %
8lx expected %8l
x
\n
"
,
"unexpected style change %
08x expected %08
x
\n
"
,
(
winstyle
&
(
WS_HSCROLL
|
WS_VSCROLL
)),
style
|
WS_VSCROLL
);
else
ok
(
(
winstyle
&
(
WS_HSCROLL
|
WS_VSCROLL
))
==
style
||
broken
((
winstyle
&
(
WS_HSCROLL
|
WS_VSCROLL
))
==
(
WS_HSCROLL
|
WS_VSCROLL
)),
/* Win 9x/ME */
"unexpected style change %
8lx expected %
8x
\n
"
,
"unexpected style change %
08x expected %0
8x
\n
"
,
(
winstyle
&
(
WS_HSCROLL
|
WS_VSCROLL
)),
style
);
}
/* do the test again with H and V reversed.
...
...
@@ -341,12 +341,12 @@ todo_wine
if
(
bThemeActive
||
style
!=
WS_VSCROLL
)
todo_wine
ok
(
(
winstyle
&
(
WS_HSCROLL
|
WS_VSCROLL
))
==
(
style
|
WS_HSCROLL
),
"unexpected style change %
8lx expected %8l
x
\n
"
,
"unexpected style change %
08x expected %08
x
\n
"
,
(
winstyle
&
(
WS_HSCROLL
|
WS_VSCROLL
)),
style
|
WS_HSCROLL
);
else
ok
(
(
winstyle
&
(
WS_HSCROLL
|
WS_VSCROLL
))
==
style
||
broken
((
winstyle
&
(
WS_HSCROLL
|
WS_VSCROLL
))
==
(
WS_HSCROLL
|
WS_VSCROLL
)),
/* Win 9x/ME */
"unexpected style change %
8lx expected %
8x
\n
"
,
"unexpected style change %
08x expected %0
8x
\n
"
,
(
winstyle
&
(
WS_HSCROLL
|
WS_VSCROLL
)),
style
);
}
/* Slightly change the test to use SetScrollInfo
...
...
dlls/user32/tests/win.c
View file @
1435b5ec
...
...
@@ -3642,7 +3642,7 @@ static LRESULT WINAPI StyleCheckProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM
ok
(
!
(
lpcs
->
dwExStyle
&
WS_EX_WINDOWEDGE
),
"Window shouldn't have WS_EX_WINDOWEDGE style
\n
"
);
ok
((
lpss
->
styleOld
&
~
WS_EX_WINDOWEDGE
)
==
(
lpcs
->
dwExStyle
&
~
WS_EX_WINDOWEDGE
),
"Ex style (0x%08
lx) should match what the caller passed to CreateWindowEx (0x%08l
x)
\n
"
,
"Ex style (0x%08
x) should match what the caller passed to CreateWindowEx (0x%08
x)
\n
"
,
(
lpss
->
styleOld
&
~
WS_EX_WINDOWEDGE
),
(
lpcs
->
dwExStyle
&
~
WS_EX_WINDOWEDGE
));
ok
(
lpss
->
styleNew
==
lpcs
->
style
,
...
...
dlls/user32/win.c
View file @
1435b5ec
...
...
@@ -1085,7 +1085,7 @@ static void dump_window_styles( DWORD style, DWORD exstyle )
WS_MINIMIZEBOX | \
WS_MAXIMIZEBOX)
if
(
style
&
~
DUMPED_STYLES
)
TRACE
(
" %08
l
x"
,
style
&
~
DUMPED_STYLES
);
if
(
style
&
~
DUMPED_STYLES
)
TRACE
(
" %08x"
,
style
&
~
DUMPED_STYLES
);
TRACE
(
"
\n
"
);
#undef DUMPED_STYLES
...
...
@@ -1131,7 +1131,7 @@ static void dump_window_styles( DWORD style, DWORD exstyle )
WS_EX_LAYERED | \
WS_EX_LAYOUTRTL)
if
(
exstyle
&
~
DUMPED_EX_STYLES
)
TRACE
(
" %08
l
x"
,
exstyle
&
~
DUMPED_EX_STYLES
);
if
(
exstyle
&
~
DUMPED_EX_STYLES
)
TRACE
(
" %08x"
,
exstyle
&
~
DUMPED_EX_STYLES
);
TRACE
(
"
\n
"
);
#undef DUMPED_EX_STYLES
}
...
...
include/winuser.h
View file @
1435b5ec
This diff is collapsed.
Click to expand it.
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