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
48eae0bb
Commit
48eae0bb
authored
Apr 26, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Call appropriate DefWindowProc in DDE client/server window procs
depending on whether a window proc is unicode or ANSI.
parent
a2963dac
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
client.c
dlls/user/dde/client.c
+1
-1
server.c
dlls/user/dde/server.c
+2
-1
No files found.
dlls/user/dde/client.c
View file @
48eae0bb
...
@@ -1343,7 +1343,7 @@ static LRESULT CALLBACK WDML_ClientProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPA
...
@@ -1343,7 +1343,7 @@ static LRESULT CALLBACK WDML_ClientProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPA
}
}
return
(
IsWindowUnicode
(
hwnd
))
?
return
(
IsWindowUnicode
(
hwnd
))
?
DefWindowProc
A
(
hwnd
,
iMsg
,
wParam
,
lParam
)
:
DefWindowProcW
(
hwnd
,
iMsg
,
wParam
,
lParam
);
DefWindowProc
W
(
hwnd
,
iMsg
,
wParam
,
lParam
)
:
DefWindowProcA
(
hwnd
,
iMsg
,
wParam
,
lParam
);
}
}
/*****************************************************************
/*****************************************************************
...
...
dlls/user/dde/server.c
View file @
48eae0bb
...
@@ -997,7 +997,8 @@ static LRESULT CALLBACK WDML_ServerConvProc(HWND hwndServer, UINT iMsg, WPARAM w
...
@@ -997,7 +997,8 @@ static LRESULT CALLBACK WDML_ServerConvProc(HWND hwndServer, UINT iMsg, WPARAM w
}
}
if
(
iMsg
<
WM_DDE_FIRST
||
iMsg
>
WM_DDE_LAST
)
if
(
iMsg
<
WM_DDE_FIRST
||
iMsg
>
WM_DDE_LAST
)
{
{
return
DefWindowProcA
(
hwndServer
,
iMsg
,
wParam
,
lParam
);
return
IsWindowUnicode
(
hwndServer
)
?
DefWindowProcW
(
hwndServer
,
iMsg
,
wParam
,
lParam
)
:
DefWindowProcA
(
hwndServer
,
iMsg
,
wParam
,
lParam
);
}
}
EnterCriticalSection
(
&
WDML_CritSect
);
EnterCriticalSection
(
&
WDML_CritSect
);
...
...
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