dplayx/tests: Deal with broken COM aggregation handling on NT4.

This commit is contained in:
Michael Stefaniuc 2013-04-08 23:16:26 +02:00 committed by Alexandre Julliard
parent cba4bcb47f
commit df39c470ed
1 changed files with 2 additions and 2 deletions

View File

@ -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,