advapi32/tests: Skip some tests if EnumServicesStatusExA is missing.

This commit is contained in:
Alexandre Julliard 2011-08-25 11:19:56 +02:00
parent 36a22dfa33
commit d34ff26230

View File

@ -1402,6 +1402,11 @@ static void test_enum_svc(void)
CloseServiceHandle(scm_handle);
/* More or less the same for EnumServicesStatusExA */
if (!pEnumServicesStatusExA)
{
win_skip( "EnumServicesStatusExA not available\n" );
return;
}
/* All NULL or wrong */
SetLastError(0xdeadbeef);