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
2f0bfbac
Commit
2f0bfbac
authored
Dec 13, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Remove the no longer used WINPROC_CallDlgProc16 function.
parent
57e9244a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
44 deletions
+0
-44
user_private.h
dlls/user32/user_private.h
+0
-1
winproc.c
dlls/user32/winproc.c
+0
-43
No files found.
dlls/user32/user_private.h
View file @
2f0bfbac
...
...
@@ -250,7 +250,6 @@ extern LRESULT WINPROC_CallProc16To32A( winproc_callback_t callback, HWND16 hwnd
extern
LRESULT
WINPROC_CallProc32ATo16
(
winproc_callback16_t
callback
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
,
LRESULT
*
result
,
void
*
arg
)
DECLSPEC_HIDDEN
;
extern
INT_PTR
WINPROC_CallDlgProc16
(
DLGPROC16
func
,
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
INT_PTR
WINPROC_CallDlgProcA
(
DLGPROC
func
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
INT_PTR
WINPROC_CallDlgProcW
(
DLGPROC
func
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
BOOL
WINPROC_call_window
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
,
...
...
dlls/user32/winproc.c
View file @
2f0bfbac
...
...
@@ -593,14 +593,6 @@ static LRESULT call_window_proc_AtoW( HWND hwnd, UINT msg, WPARAM wp, LPARAM lp,
arg
,
WMCHAR_MAP_CALLWINDOWPROC
);
}
/* helper callback for 16->32W conversion */
static
LRESULT
call_dialog_proc_AtoW
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wp
,
LPARAM
lp
,
LRESULT
*
result
,
void
*
arg
)
{
return
WINPROC_CallProcAtoW
(
call_dialog_proc
,
hwnd
,
msg
,
wp
,
lp
,
result
,
arg
,
WMCHAR_MAP_CALLWINDOWPROC
);
}
/**********************************************************************
* WINPROC_GetProc16
...
...
@@ -2330,41 +2322,6 @@ LRESULT WINAPI CallWindowProcW( WNDPROC func, HWND hwnd, UINT msg,
/**********************************************************************
* WINPROC_CallDlgProc16
*/
INT_PTR
WINPROC_CallDlgProc16
(
DLGPROC16
func
,
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wParam
,
LPARAM
lParam
)
{
WINDOWPROC
*
proc
;
LRESULT
result
;
INT_PTR
ret
;
if
(
!
func
)
return
0
;
if
(
!
(
proc
=
handle16_to_proc
(
(
WNDPROC16
)
func
)))
{
ret
=
call_dialog_proc16
(
hwnd
,
msg
,
wParam
,
lParam
,
&
result
,
func
);
}
else
if
(
proc
->
procA
)
{
ret
=
WINPROC_CallProc16To32A
(
call_dialog_proc
,
hwnd
,
msg
,
wParam
,
lParam
,
&
result
,
proc
->
procA
);
SetWindowLongPtrW
(
WIN_Handle32
(
hwnd
),
DWLP_MSGRESULT
,
result
);
}
else
if
(
proc
->
procW
)
{
ret
=
WINPROC_CallProc16To32A
(
call_dialog_proc_AtoW
,
hwnd
,
msg
,
wParam
,
lParam
,
&
result
,
proc
->
procW
);
SetWindowLongPtrW
(
WIN_Handle32
(
hwnd
),
DWLP_MSGRESULT
,
result
);
}
else
{
ret
=
call_dialog_proc16
(
hwnd
,
msg
,
wParam
,
lParam
,
&
result
,
proc
->
proc16
);
}
return
ret
;
}
/**********************************************************************
* WINPROC_CallDlgProcA
*/
INT_PTR
WINPROC_CallDlgProcA
(
DLGPROC
func
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
...
...
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