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
402f2618
Commit
402f2618
authored
Oct 23, 2002
by
Rein Klazes
Committed by
Alexandre Julliard
Oct 23, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MessageBoxIndirectW: call FindResourceEx with arguments in the right
order.
parent
ab974c31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
msgbox.c
windows/msgbox.c
+1
-2
No files found.
windows/msgbox.c
View file @
402f2618
...
...
@@ -436,8 +436,7 @@ INT WINAPI MessageBoxIndirectW( LPMSGBOXPARAMSW msgbox )
HRSRC
hRes
;
HMODULE
hUser32
=
GetModuleHandleA
(
"user32.dll"
);
static
const
WCHAR
msg_box_res_nameW
[]
=
{
'M'
,
'S'
,
'G'
,
'B'
,
'O'
,
'X'
,
0
};
if
(
!
(
hRes
=
FindResourceExW
(
hUser32
,
msg_box_res_nameW
,
RT_DIALOGW
,
msgbox
->
dwLanguageId
)))
if
(
!
(
hRes
=
FindResourceExW
(
hUser32
,
RT_DIALOGW
,
msg_box_res_nameW
,
msgbox
->
dwLanguageId
)))
return
0
;
if
(
!
(
tmplate
=
(
LPVOID
)
LoadResource
(
hUser32
,
hRes
)))
return
0
;
...
...
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