This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$01 value VK_LBUTTON | |
$02 value VK_RBUTTON | |
$03 value VK_CANCEL | |
$04 value VK_MBUTTON | |
$08 value VK_BACK | |
$09 value VK_TAB | |
$0c value VK_CLEAR | |
$0d value VK_RETURN | |
$10 value VK_SHIFT | |
$11 value VK_CONTROL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
# Often, when writing code that interfaces with the Win32 API, I need | |
# to know the numerical value of constants defined in various headers. | |
# Microsoft documents some, but others are conspicuously absent. It's | |
# no fun to grep through *.h files, trying to find it. And keeping | |
# Visual Studio around and open solely to hover over constant names | |
# to see their value is a pain in a Linux dev environment. | |
# | |
# So this program uses the MinGW cross compiler to look up constant |