ole32: Fix return value for DefaultHandler_GetMiscStatus.
This commit is contained in:
parent
77228b52e6
commit
11c1d7a0e7
@ -909,7 +909,7 @@ static HRESULT WINAPI DefaultHandler_GetMiscStatus(
|
|||||||
if (FAILED(hres))
|
if (FAILED(hres))
|
||||||
*pdwStatus = 0;
|
*pdwStatus = 0;
|
||||||
|
|
||||||
return S_OK;
|
return hres;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
|
@ -1384,7 +1384,6 @@ static void test_default_handler(void)
|
|||||||
hr);
|
hr);
|
||||||
|
|
||||||
hr = IOleObject_GetMiscStatus(pObject, DVASPECT_CONTENT, &dwStatus);
|
hr = IOleObject_GetMiscStatus(pObject, DVASPECT_CONTENT, &dwStatus);
|
||||||
todo_wine
|
|
||||||
ok(hr == REGDB_E_CLASSNOTREG, "IOleObject_GetMiscStatus should have returned REGDB_E_CLASSNOTREG instead of 0x%08x\n", hr);
|
ok(hr == REGDB_E_CLASSNOTREG, "IOleObject_GetMiscStatus should have returned REGDB_E_CLASSNOTREG instead of 0x%08x\n", hr);
|
||||||
|
|
||||||
hr = IOleObject_GetUserClassID(pObject, &clsid);
|
hr = IOleObject_GetUserClassID(pObject, &clsid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user