oleaut32: Return success from GetSizeMax if not dirty.
This commit is contained in:
parent
148db6a6c5
commit
c1f5f98f79
2 changed files with 2 additions and 2 deletions
|
@ -1882,7 +1882,8 @@ static HRESULT WINAPI OLEPictureImpl_GetSizeMax(IPersistStream *iface, ULARGE_IN
|
|||
FIXME("(%p), PICTYPE_BITMAP (format UNKNOWN, using BMP?) not implemented!\n",This);
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else hr = S_OK;
|
||||
|
||||
break;
|
||||
case PICTYPE_METAFILE:
|
||||
FIXME("(%p), PICTYPE_METAFILE not implemented!\n",This);
|
||||
|
|
|
@ -1262,7 +1262,6 @@ static void test_load_save_bmp(void)
|
|||
|
||||
maxsize.QuadPart = 0;
|
||||
hr = IPersistStream_GetSizeMax(src_stream, &maxsize);
|
||||
todo_wine
|
||||
ok(hr == S_OK, "GetSizeMax error %#lx\n", hr);
|
||||
ok(maxsize.QuadPart == 74, "expected 74, got %s\n", wine_dbgstr_longlong(maxsize.QuadPart));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue