Commit 9d52d8c0 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dmloader/tests: Test the return of CoCreateInstance (PVS-Studio).

parent 4ffcae35
......@@ -47,6 +47,7 @@ static void test_release_object(void)
IDirectMusicLoader8* loader = NULL;
hr = CoCreateInstance(&CLSID_DirectMusicLoader, NULL, CLSCTX_INPROC, &IID_IDirectMusicLoader8, (void**)&loader);
ok(hr == S_OK, "Couldn't create Loader %08x\n", hr);
hr = IDirectMusicLoader_ReleaseObject(loader, NULL);
ok(hr == E_POINTER, "Expected E_POINTER, received %#x\n", hr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment