Zebediah Figura : strmbase: Properly implement IVideoWindow::get_WindowStyle().
Module: wine Branch: master Commit: d1a879fb9d6357bc6897d3fd4fb776c79468f29d URL: https://source.winehq.org/git/wine.git/?a=commit;h=d1a879fb9d6357bc6897d3fd4... Author: Zebediah Figura <z.figura12(a)gmail.com> Date: Tue Oct 15 16:00:20 2019 -0500 strmbase: Properly implement IVideoWindow::get_WindowStyle(). Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/strmbase/window.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/strmbase/window.c b/dlls/strmbase/window.c index 3135de066a..fbf0edc78c 100644 --- a/dlls/strmbase/window.c +++ b/dlls/strmbase/window.c @@ -310,13 +310,13 @@ HRESULT WINAPI BaseControlWindowImpl_put_WindowStyle(IVideoWindow *iface, LONG W return S_OK; } -HRESULT WINAPI BaseControlWindowImpl_get_WindowStyle(IVideoWindow *iface, LONG *WindowStyle) +HRESULT WINAPI BaseControlWindowImpl_get_WindowStyle(IVideoWindow *iface, LONG *style) { - BaseControlWindow* This = impl_from_IVideoWindow(iface); + BaseControlWindow *window = impl_from_IVideoWindow(iface); - TRACE("(%p/%p)->(%p)\n", This, iface, WindowStyle); + TRACE("window %p, style %p.\n", window, style); - *WindowStyle = This->baseWindow.WindowStyles; + *style = GetWindowLongW(window->baseWindow.hWnd, GWL_STYLE); return S_OK; }
participants (1)
-
Alexandre Julliard