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
ade55382
Commit
ade55382
authored
Mar 27, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Fix SHCreateWorkerWindowW fallback to A-call condition.
parent
3058b68b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
ordinal.c
dlls/shlwapi/ordinal.c
+6
-3
No files found.
dlls/shlwapi/ordinal.c
View file @
ade55382
...
...
@@ -2895,16 +2895,19 @@ DWORD WINAPI WhichPlatform(void)
HWND
WINAPI
SHCreateWorkerWindowW
(
LONG
wndProc
,
HWND
hWndParent
,
DWORD
dwExStyle
,
DWORD
dwStyle
,
HMENU
hMenu
,
LONG
z
)
{
static
const
WCHAR
szClass
[]
=
{
'W'
,
'o'
,
'r'
,
'k'
,
'e'
,
'r'
,
'W'
,
'\0'
};
static
const
WCHAR
szClass
[]
=
{
'W'
,
'o'
,
'r'
,
'k'
,
'e'
,
'r'
,
'W'
,
0
};
WNDCLASSW
wc
;
HWND
hWnd
;
TRACE
(
"(0x%08x,%p,0x%08x,0x%08x,%p,0x%08x)
\n
"
,
wndProc
,
hWndParent
,
dwExStyle
,
dwStyle
,
hMenu
,
z
);
/* If our OS is natively ASCII, use the ASCII version */
if
(
!
(
GetVersion
()
&
0x80000000
))
/* NT */
/* If our OS is natively ANSI, use the ANSI version */
if
(
GetVersion
()
&
0x80000000
)
/* not NT */
{
TRACE
(
"fallback to ANSI, ver 0x%08x
\n
"
,
GetVersion
());
return
SHCreateWorkerWindowA
(
wndProc
,
hWndParent
,
dwExStyle
,
dwStyle
,
hMenu
,
z
);
}
/* Create Window class */
wc
.
style
=
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