msxml3: GetMaxSize() is not a stub.

This commit is contained in:
Nikolay Sivov 2012-12-11 13:31:29 +03:00 committed by Alexandre Julliard
parent 351e58318a
commit 9336a3903c
2 changed files with 7 additions and 3 deletions

View File

@ -803,7 +803,7 @@ static HRESULT WINAPI PersistStreamInit_GetSizeMax(
IPersistStreamInit *iface, ULARGE_INTEGER *pcbSize)
{
domdoc *This = impl_from_IPersistStreamInit(iface);
TRACE("(%p)->(%p): stub!\n", This, pcbSize);
TRACE("(%p)->(%p)\n", This, pcbSize);
return E_NOTIMPL;
}

View File

@ -1755,16 +1755,20 @@ static void test_persiststreaminit(void)
{
IXMLDOMDocument *doc;
IPersistStreamInit *streaminit;
ULARGE_INTEGER size;
HRESULT hr;
doc = create_document(&IID_IXMLDOMDocument);
if (!doc) return;
hr = IXMLDOMDocument_QueryInterface(doc, &IID_IPersistStreamInit, (void**)&streaminit);
ok( hr == S_OK, "failed with 0x%08x\n", hr );
ok(hr == S_OK, "got 0x%08x\n", hr);
hr = IPersistStreamInit_InitNew(streaminit);
ok( hr == S_OK, "failed with 0x%08x\n", hr );
ok(hr == S_OK, "got 0x%08x\n", hr);
hr = IPersistStreamInit_GetSizeMax(streaminit, &size);
ok(hr == E_NOTIMPL, "got 0x%08x\n", hr);
IXMLDOMDocument_Release(doc);
}