dplayx/tests: Deal with broken COM aggregation handling on NT4.
This commit is contained in:
parent
cba4bcb47f
commit
df39c470ed
|
@ -6380,9 +6380,9 @@ static void test_COM(void)
|
|||
/* COM aggregation */
|
||||
hr = CoCreateInstance(&CLSID_DirectPlay, (IUnknown*)&dp4, CLSCTX_INPROC_SERVER, &IID_IUnknown,
|
||||
(void**)&dp4);
|
||||
ok(hr == CLASS_E_NOAGGREGATION,
|
||||
ok(hr == CLASS_E_NOAGGREGATION || broken(hr == E_INVALIDARG),
|
||||
"DirectPlay create failed: %08x, expected CLASS_E_NOAGGREGATION\n", hr);
|
||||
ok(!dp4, "dp4 = %p\n", dp4);
|
||||
ok(!dp4 || dp4 == (IDirectPlay4*)0xdeadbeef, "dp4 = %p\n", dp4);
|
||||
|
||||
/* Invalid RIID */
|
||||
hr = CoCreateInstance(&CLSID_DirectPlay, NULL, CLSCTX_INPROC_SERVER, &IID_IDirectPlayLobby,
|
||||
|
|
Loading…
Reference in New Issue