[PATCH] kernel32/tests: Add initial tests for GetConsoleFontInfo (v2)
Hugh McMaster
hugh.mcmaster at outlook.com
Mon Apr 25 04:39:25 CDT 2016
On Sunday, 24 April 2016 11:43 PM, Sebastian Lackner wrote:
> You'll have to add a stub first, otherwise it breaks the tests:
I always thought the if check was supposed to guard against such crashes.
hmod = GetModuleHandleA("kernel32.dll");
pGetConsoleFontInfo = (void *)GetProcAddress(hmod, "GetConsoleFontInfo");
if (!pGetConsoleFontInfo)
{
win_skip("GetConsoleFontInfo is not available\n");
return;
}
Anyway, I'm preparing a new version of the patch with additional tests,
as I've worked out the values returned by this function.
More information about the wine-devel
mailing list