ole32: Fix return value for DefaultHandler_GetMiscStatus.

This commit is contained in:
Nikolay Sivov 2009-01-07 11:58:29 +03:00 committed by Alexandre Julliard
parent 77228b52e6
commit 11c1d7a0e7
2 changed files with 1 additions and 2 deletions

View File

@ -909,7 +909,7 @@ static HRESULT WINAPI DefaultHandler_GetMiscStatus(
if (FAILED(hres))
*pdwStatus = 0;
return S_OK;
return hres;
}
/************************************************************************

View File

@ -1384,7 +1384,6 @@ static void test_default_handler(void)
hr);
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);
hr = IOleObject_GetUserClassID(pObject, &clsid);