dmcompos: Mark IPersistStream_Save of DMSignPostTrack as a stub.

This commit is contained in:
Michael Stefaniuc 2015-06-28 23:37:09 +02:00 committed by Alexandre Julliard
parent 3e62435989
commit 9c5336ee80
2 changed files with 9 additions and 2 deletions

View File

@ -253,7 +253,14 @@ static HRESULT WINAPI IPersistStreamImpl_Load(IPersistStream *iface, IStream *pS
static HRESULT WINAPI IPersistStreamImpl_Save(IPersistStream *iface, IStream *stream,
BOOL cleardirty)
{
return E_NOTIMPL;
IDirectMusicSignPostTrack *This = impl_from_IPersistStream(iface);
FIXME("(%p, %p, %d): stub\n", This, stream, cleardirty);
if (!stream)
return E_POINTER;
return E_NOTIMPL;
}
static const IPersistStreamVtbl persiststream_vtbl = {

View File

@ -387,7 +387,7 @@ static void test_signposttrack(void)
ok(IsEqualGUID(&class, &CLSID_DirectMusicSignPostTrack),
"Expected class CLSID_DirectMusicSignPostTrack got %s\n", wine_dbgstr_guid(&class));
hr = IPersistStream_Save(ps, NULL, TRUE);
todo_wine ok(hr == E_POINTER, "IPersistStream_Save failed: %08x\n", hr);
ok(hr == E_POINTER, "IPersistStream_Save failed: %08x\n", hr);
/* Unimplemented IPersistStream methods */
hr = IPersistStream_IsDirty(ps);