Dylan Smith : richedit:Added tests for ctrl-key shortcut handling in WM_KEYDOWN.

Dan Kegel dank at kegel.com
Wed Oct 22 10:50:30 CDT 2008


Dmitry wrote:
>> +  BYTE key_state[256];
>> +...
>> +  result = GetKeyboardState((LPBYTE)&key_state);

> the casts in the above code clearly
> show that the pointer syntax is wrong there.

Nah.  It's ugly, but not wrong.

key_state == &key_state here.
- Dan



More information about the wine-devel mailing list