@@ -2101,6 +2101,13 @@ static void test_SoftwareLicensingProduct( IWbemServices *services )
21012101 DWORD count ;
21022102
21032103 hr = IWbemServices_ExecQuery ( services , wql , query , 0 , NULL , & result );
2104+ #ifdef __REACTOS__
2105+ if (hr != S_OK )
2106+ {
2107+ win_skip ( "class not found\n" );
2108+ return ;
2109+ }
2110+ #endif
21042111 ok ( hr == S_OK , "got %#lx\n" , hr );
21052112
21062113 for (;;)
@@ -2451,9 +2458,22 @@ static void test_MSSMBios_RawSMBiosTables( IWbemLocator *locator )
24512458
24522459 hr = IWbemLocator_ConnectServer ( locator , path , NULL , NULL , NULL , 0 , NULL , NULL , & services );
24532460 ok ( hr == S_OK , "failed to get IWbemServices interface %#lx\n" , hr );
2461+ #ifdef __REACTOS__
2462+ if (hr != S_OK )
2463+ {
2464+ win_skip ("MSSMBios_RawSMBiosTables is unavailable\n" );
2465+ return ;
2466+ }
24542467
24552468 hr = IWbemServices_CreateInstanceEnum ( services , bios , 0 , NULL , & iter );
24562469 ok ( hr == S_OK , "got %#lx\n" , hr );
2470+ #ifdef __REACTOS__
2471+ if (hr != S_OK )
2472+ {
2473+ win_skip ("IWbemServices_CreateInstanceEnum failed\n" );
2474+ return ;
2475+ }
2476+ #endif
24572477
24582478 hr = IEnumWbemClassObject_Next ( iter , WBEM_INFINITE , 1 , & obj , & count );
24592479 if (hr != S_OK ) goto done ;
@@ -2487,6 +2507,13 @@ static void test_MSFT_PhysicalDisk( IWbemLocator *locator )
24872507 HRESULT hr ;
24882508
24892509 hr = IWbemLocator_ConnectServer ( locator , path , NULL , NULL , NULL , 0 , NULL , NULL , & services );
2510+ #ifdef __REACTOS__
2511+ if (hr != S_OK )
2512+ {
2513+ win_skip ( "class not found\n" );
2514+ return ;
2515+ }
2516+ #endif
24902517 ok ( hr == S_OK , "failed to get IWbemServices interface %#lx\n" , hr );
24912518
24922519 hr = IWbemServices_ExecQuery ( services , wql , query , 0 , NULL , & result );
0 commit comments