Commit 3f0a2434 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

netprofm/tests: Fix a test failure on Win7/Win2008 systems.

parent 5ef54904
......@@ -56,8 +56,9 @@ static void test_INetworkListManager( void )
ok( hr == S_OK, "got %08x\n", hr );
ok( connected == VARIANT_TRUE || connected == VARIANT_FALSE, "expected boolean value\n" );
INetworkListManager_QueryInterface( mgr, &IID_INetworkCostManager, (void **)&cost_mgr );
ok( hr == S_OK, "got %08x\n", hr );
/* INetworkCostManager is supported starting Win8 */
hr = INetworkListManager_QueryInterface( mgr, &IID_INetworkCostManager, (void **)&cost_mgr );
ok( hr == S_OK || broken(hr == E_NOINTERFACE), "got %08x\n", hr );
if (hr == S_OK)
{
DWORD cost;
......
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