kernel32/tests: Fix GetGeoInfo() test failure on Win10.

oldstable
Nikolay Sivov 2015-08-22 09:18:58 +03:00 committed by Alexandre Julliard
parent 1cab27e960
commit cc2bc84d14
2 changed files with 5 additions and 2 deletions

View File

@ -4242,7 +4242,7 @@ static void test_GetGeoInfo(void)
/* try invalid type value */
SetLastError(0xdeadbeef);
ret = pGetGeoInfoA(203, GEO_PARENT + 1, NULL, 0, 0);
ret = pGetGeoInfoA(203, GEO_CURRENCYSYMBOL + 1, NULL, 0, 0);
ok(ret == 0, "got %d\n", ret);
ok(GetLastError() == ERROR_INVALID_FLAGS, "got %d\n", GetLastError());
}

View File

@ -807,7 +807,10 @@ enum SYSGEOTYPE
GEO_TIMEZONES,
GEO_OFFICIALLANGUAGES,
GEO_ISO_UN_NUMBER,
GEO_PARENT
GEO_PARENT,
GEO_DIALINGCODE,
GEO_CURRENCYCODE,
GEO_CURRENCYSYMBOL
};
enum SYSGEOCLASS