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
3c4d7f0d
Commit
3c4d7f0d
authored
Oct 23, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix broadcast tests compilation with __WINESRC__ defined.
parent
e5d95409
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
broadcast.c
dlls/user32/tests/broadcast.c
+3
-3
No files found.
dlls/user32/tests/broadcast.c
View file @
3c4d7f0d
...
...
@@ -59,7 +59,7 @@ static LRESULT WINAPI main_window_procA(HWND hwnd, UINT msg, WPARAM wparam, LPAR
static
BOOL
init_procs
(
void
)
{
WNDCLASSA
cls
;
HANDLE
user32
=
GetModuleHandle
(
"user32
"
);
HANDLE
user32
=
GetModuleHandle
A
(
"user32.dll
"
);
pBroadcastA
=
(
PBROADCAST
)
GetProcAddress
(
user32
,
"BroadcastSystemMessageA"
);
if
(
!
pBroadcastA
)
pBroadcastA
=
(
PBROADCAST
)
GetProcAddress
(
user32
,
"BroadcastSystemMessage"
);
...
...
@@ -82,7 +82,7 @@ static BOOL init_procs(void)
cls
.
cbWndExtra
=
0
;
cls
.
hInstance
=
GetModuleHandleA
(
0
);
cls
.
hIcon
=
0
;
cls
.
hCursor
=
LoadCursorA
(
0
,
IDC_ARROW
);
cls
.
hCursor
=
LoadCursorA
(
0
,
(
LPCSTR
)
IDC_ARROW
);
cls
.
hbrBackground
=
GetStockObject
(
WHITE_BRUSH
);
cls
.
lpszMenuName
=
NULL
;
cls
.
lpszClassName
=
"MainWindowClass"
;
...
...
@@ -92,7 +92,7 @@ static BOOL init_procs(void)
if
(
!
CreateWindowExA
(
0
,
"MainWindowClass"
,
"Main window"
,
WS_CAPTION
|
WS_SYSMENU
|
WS_MINIMIZEBOX
|
WS_MAXIMIZEBOX
|
WS_POPUP
,
100
,
100
,
200
,
200
,
0
,
0
,
GetModuleHandle
(
0
),
NULL
))
200
,
0
,
0
,
GetModuleHandle
A
(
NULL
),
NULL
))
return
FALSE
;
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