mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[BROWSEUI_WINETEST]: Sync to Wine 1.5.13.
CORE-6415 svn path=/trunk/; revision=57436
This commit is contained in:
parent
71da3b771a
commit
1692f61539
2 changed files with 5 additions and 7 deletions
|
@ -1,7 +1,5 @@
|
|||
|
||||
add_definitions(
|
||||
-D__ROS_LONG64__
|
||||
-D_DLL -D__USE_CRTIMP)
|
||||
add_definitions(-D__ROS_LONG64__)
|
||||
|
||||
add_executable(browseui_winetest
|
||||
autocomplete.c
|
||||
|
|
|
@ -39,19 +39,19 @@ static void test_IProgressDialog_QueryInterface(void)
|
|||
return;
|
||||
}
|
||||
|
||||
hr = IUnknown_QueryInterface(dlg, &IID_IUnknown, NULL);
|
||||
hr = IProgressDialog_QueryInterface(dlg, &IID_IUnknown, NULL);
|
||||
ok(hr == E_POINTER, "got 0x%x (expected E_POINTER)\n", hr);
|
||||
|
||||
hr = IUnknown_QueryInterface(dlg, &IID_IUnknown, (void**)&unk);
|
||||
hr = IProgressDialog_QueryInterface(dlg, &IID_IUnknown, (void**)&unk);
|
||||
ok(hr == S_OK, "QueryInterface (IUnknown) returned 0x%x\n", hr);
|
||||
if (SUCCEEDED(hr)) {
|
||||
IUnknown_Release(unk);
|
||||
}
|
||||
|
||||
hr = IUnknown_QueryInterface(dlg, &IID_IOleWindow, (void**)&olewindow);
|
||||
hr = IProgressDialog_QueryInterface(dlg, &IID_IOleWindow, (void**)&olewindow);
|
||||
ok(hr == S_OK, "QueryInterface (IOleWindow) returned 0x%x\n", hr);
|
||||
if (SUCCEEDED(hr)) {
|
||||
hr = IUnknown_QueryInterface(olewindow, &IID_IProgressDialog, (void**)&dlg2);
|
||||
hr = IOleWindow_QueryInterface(olewindow, &IID_IProgressDialog, (void**)&dlg2);
|
||||
ok(hr == S_OK, "QueryInterface (IProgressDialog) returned 0x%x\n", hr);
|
||||
if (SUCCEEDED(hr)) {
|
||||
IProgressDialog_Release(dlg2);
|
||||
|
|
Loading…
Reference in a new issue