Commit 3d8d811b authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

kernel32/tests: Fix check for invalid type value.

parent 24172215
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment