[PATCH 5/5] strmbase: Properly implement IVideoWindow::get_WindowStyle().
Zebediah Figura
z.figura12 at gmail.com
Tue Oct 15 16:00:20 CDT 2019
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
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 3135de066a0..fbf0edc78c5 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;
}
--
2.23.0
More information about the wine-devel
mailing list