implement fixme in CreateAcceleratorTable

Dmitry Timoshkov dmitry at baikal.ru
Fri Feb 27 19:46:46 CST 2004


"Pabs" <pabs3 at bonedaddy.net> wrote:

> ChangeLog
> 
>   Added some checks to CreateAcceleratorTableA/W (removes fixmes)

IMO it's better to use

if (!MapVirtualKeyW(lpaccel[i].key, 0))
{
    WARN("Invalid VK\n");
    SetLastError(ERROR_INVALID_PARAMETER);
    return NULL;
}

for a check whether VK is a valid one.

-- 
Dmitry.




More information about the wine-devel mailing list