"Vitaly Perov" <vitperov(a)etersoft.ru> wrote:
> + /* Tests for GetCharCodePages */
> + /* Latin 1 */
> + ok(IMLangFontLink_GetCharCodePages(iMLFL, 'd', &dwCodePages) == S_OK,
> + "IMLangFontLink_GetCharCodePages failed\n");
> + ok(dwCodePages == 2032127, "Incorrect CodePages returned (%i)\n", dwCodePages);
> +
> + /* Cyrillic (Japanese, Simplified Chinese and Korean are also
> + include these symbols) */
> + ok(IMLangFontLink_GetCharCodePages(iMLFL, 0x0436, &dwCodePages) == S_OK,
> + "IMLangFontLink_GetCharCodePages failed\n");
> + ok(dwCodePages == 917508, "Incorrect CodePages returned (%i)\n", dwCodePages);
> +
> + /* Japanese */
> + ok(IMLangFontLink_GetCharCodePages(iMLFL, 0xff6f, &dwCodePages) == S_OK,
> + "IMLangFontLink_GetCharCodePages failed\n");
> + ok(dwCodePages == 131072, "Incorrect CodePages returned (%i)\n", dwCodePages);
Please use symbolic names for code pages bit field.
--
Dmitry.