netprofm/tests: Fix a test failure on Win7/Win2008 systems.
This commit is contained in:
parent
5ef54904f2
commit
3f0a24349c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue