winapi-rs icon indicating copy to clipboard operation
winapi-rs copied to clipboard

Change type of VK_* from c_int to WORD

Open indianakernick opened this issue 4 years ago • 0 comments

The virtual key code constants are used in the wVk field of the KEYBDINPUT struct which has the type WORD. The contributing guidelines say that "The type of the constant should depend on where the constant is used" so these constants should have the type WORD.

indianakernick avatar Feb 23 '21 23:02 indianakernick