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

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2017-04-25 13:49:06 +02:00 committed by Alexandre Julliard
parent 2b8cf54245
commit 33e0ca4550
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);