kernel32/tests: Fix check for invalid type value.
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2417221531
commit
3d8d811be1
|
@ -4720,7 +4720,7 @@ static void test_GetGeoInfo(void)
|
|||
|
||||
/* try invalid type value */
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = pGetGeoInfoA(203, GEO_CURRENCYSYMBOL + 1, NULL, 0, 0);
|
||||
ret = pGetGeoInfoA(203, GEO_ID + 1, NULL, 0, 0);
|
||||
ok(ret == 0, "got %d\n", ret);
|
||||
ok(GetLastError() == ERROR_INVALID_FLAGS, "got %d\n", GetLastError());
|
||||
}
|
||||
|
|
|
@ -826,7 +826,9 @@ enum SYSGEOTYPE
|
|||
GEO_PARENT,
|
||||
GEO_DIALINGCODE,
|
||||
GEO_CURRENCYCODE,
|
||||
GEO_CURRENCYSYMBOL
|
||||
GEO_CURRENCYSYMBOL,
|
||||
GEO_NAME,
|
||||
GEO_ID
|
||||
};
|
||||
|
||||
enum SYSGEOCLASS
|
||||
|
|
Loading…
Reference in New Issue