strmbase: IVideoWindow::get_AutoShow() returns OATRUE, not TRUE.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-10-08 20:02:17 -05:00 committed by Alexandre Julliard
parent 89d9bcb1f1
commit 7272891efb
2 changed files with 2 additions and 2 deletions

View File

@ -1928,7 +1928,7 @@ static void test_video_window_autoshow(IVideoWindow *window, IFilterGraph2 *grap
hr = IVideoWindow_get_AutoShow(window, &l);
ok(hr == S_OK, "Got hr %#x.\n", hr);
todo_wine ok(l == OATRUE, "Got %d.\n", l);
ok(l == OATRUE, "Got %d.\n", l);
hr = IVideoWindow_put_Visible(window, OAFALSE);
ok(hr == S_OK, "Got hr %#x.\n", hr);

View File

@ -203,7 +203,7 @@ HRESULT WINAPI BaseControlWindow_Init(BaseControlWindow *pControlWindow,
if (SUCCEEDED(hr))
{
pControlWindow->IVideoWindow_iface.lpVtbl = lpVtbl;
pControlWindow->AutoShow = TRUE;
pControlWindow->AutoShow = OATRUE;
pControlWindow->hwndDrain = NULL;
pControlWindow->hwndOwner = NULL;
pControlWindow->pFilter = owner;