Commit 33e0ca45 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dsound/tests: Use a void* instead of void** outer IUnknown argument.

parent 2b8cf542
......@@ -189,7 +189,7 @@ static void IDirectSound_tests(void)
"failed: %08x\n", rc);
/* COM aggregation */
rc=CoCreateInstance(&CLSID_DirectSound, (IUnknown*)&dso, CLSCTX_INPROC_SERVER,
rc=CoCreateInstance(&CLSID_DirectSound, (IUnknown*)0xdeadbeef, CLSCTX_INPROC_SERVER,
&IID_IDirectSound, (void**)&dso);
ok(rc==CLASS_E_NOAGGREGATION || broken(rc==DSERR_INVALIDPARAM),
"DirectMusicPerformance create failed: %08x, expected CLASS_E_NOAGGREGATION\n", rc);
......
......@@ -1132,7 +1132,7 @@ static void test_COM(void)
HRESULT hr;
/* COM aggregation */
hr = CoCreateInstance(&CLSID_DirectSound8, (IUnknown*)&ds, CLSCTX_INPROC_SERVER,
hr = CoCreateInstance(&CLSID_DirectSound8, (IUnknown*)0xdeadbeef, CLSCTX_INPROC_SERVER,
&IID_IUnknown, (void**)&ds8);
ok(hr == CLASS_E_NOAGGREGATION,
"DirectSound create failed: %08x, expected CLASS_E_NOAGGREGATION\n", hr);
......
......@@ -239,7 +239,7 @@ static void test_COM(void)
HRESULT hr;
/* COM aggregation */
hr = CoCreateInstance(&CLSID_DirectSoundFullDuplex, (IUnknown*)&dsfd, CLSCTX_INPROC_SERVER,
hr = CoCreateInstance(&CLSID_DirectSoundFullDuplex, (IUnknown*)0xdeadbeef, CLSCTX_INPROC_SERVER,
&IID_IUnknown, (void**)&dsfd);
ok(hr == CLASS_E_NOAGGREGATION,
"DirectSoundFullDuplex create failed: %08x, expected CLASS_E_NOAGGREGATION\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