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
a29b1d58
Commit
a29b1d58
authored
Oct 15, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Get rid of BaseWindowImpl_OnReceiveMessage().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
55b2251f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
window.c
dlls/strmbase/window.c
+4
-10
strmbase.h
include/wine/strmbase.h
+0
-1
No files found.
dlls/strmbase/window.c
View file @
a29b1d58
...
...
@@ -32,22 +32,16 @@ static inline BaseControlWindow *impl_from_BaseWindow(BaseWindow *iface)
return
CONTAINING_RECORD
(
iface
,
BaseControlWindow
,
baseWindow
);
}
static
LRESULT
CALLBACK
WndProcW
(
HWND
hwnd
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lP
aram
)
static
LRESULT
CALLBACK
WndProcW
(
HWND
hwnd
,
UINT
message
,
WPARAM
wparam
,
LPARAM
lp
aram
)
{
BaseWindow
*
This
=
(
BaseWindow
*
)
GetWindowLongPtrW
(
hwnd
,
0
);
BaseControlWindow
*
window
=
impl_from_BaseWindow
(
This
);
if
(
!
This
)
return
DefWindowProcW
(
hwnd
,
uMsg
,
wParam
,
lP
aram
);
return
DefWindowProcW
(
hwnd
,
message
,
wparam
,
lp
aram
);
if
(
This
->
pFuncsTable
->
pfnOnReceiveMessage
)
return
This
->
pFuncsTable
->
pfnOnReceiveMessage
(
This
,
hwnd
,
uMsg
,
wParam
,
lParam
);
else
return
BaseWindowImpl_OnReceiveMessage
(
This
,
hwnd
,
uMsg
,
wParam
,
lParam
);
}
LRESULT
WINAPI
BaseWindowImpl_OnReceiveMessage
(
BaseWindow
*
This
,
HWND
hwnd
,
INT
message
,
WPARAM
wparam
,
LPARAM
lparam
)
{
BaseControlWindow
*
window
=
impl_from_BaseWindow
(
This
);
return
This
->
pFuncsTable
->
pfnOnReceiveMessage
(
This
,
hwnd
,
message
,
wparam
,
lparam
);
switch
(
message
)
{
...
...
include/wine/strmbase.h
View file @
a29b1d58
...
...
@@ -389,7 +389,6 @@ HRESULT WINAPI BaseWindow_Destroy(BaseWindow *pBaseWindow);
HRESULT
WINAPI
BaseWindowImpl_PrepareWindow
(
BaseWindow
*
This
);
HRESULT
WINAPI
BaseWindowImpl_DoneWithWindow
(
BaseWindow
*
This
);
LRESULT
WINAPI
BaseWindowImpl_OnReceiveMessage
(
BaseWindow
*
This
,
HWND
hwnd
,
INT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
);
BOOL
WINAPI
BaseWindowImpl_OnSize
(
BaseWindow
*
This
,
LONG
Height
,
LONG
Width
);
enum
strmbase_type_id
...
...
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