strmbase: Properly implement IVideoWindow::get_WindowStyle().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Zebediah Figura 2019-10-15 16:00:20 -05:00 committed by Alexandre Julliard
parent a0aa542a26
commit d1a879fb9d
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}