windows.cfg: Added support for more interfaces and constants.

This commit is contained in:
orbitcowboy 2019-09-19 08:29:45 +02:00
parent b37b0c0f78
commit f6d3bb8cc8
1 changed files with 392 additions and 0 deletions

View File

@ -4357,6 +4357,25 @@ HFONT CreateFont(
<strz/>
</arg>
</function>
<!--int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) -->
<function name="WinMain">
<noreturn>false</noreturn>
<returnValue type="int"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
<not-null/>
</arg>
<arg nr="4" direction="in">
<not-uninit/>
</arg>
</function>
<!--BOOL WINAPI GetModuleHandleEx(
_In_ DWORD dwFlags,
_In_opt_ LPCTSTR lpModuleName,
@ -12531,4 +12550,377 @@ HFONT CreateFont(
<define name="INVALID_FILE_SIZE" value="((DWORD)0xFFFFFFFF)"/>
<define name="INVALID_SET_FILE_POINTER" value="((DWORD)-1)"/>
<define name="INVALID_FILE_ATTRIBUTES" value="((DWORD)-1)"/>
<!-- WinUser.h -->
<define name="SW_HIDE" value="0"/>
<define name="SW_SHOWNORMAL" value="1"/>
<define name="SW_NORMAL" value="1"/>
<define name="SW_SHOWMINIMIZED" value="2"/>
<define name="SW_SHOWMAXIMIZED" value="3"/>
<define name="SW_MAXIMIZE" value="3"/>
<define name="SW_SHOWNOACTIVATE" value="4"/>
<define name="SW_SHOW" value="5"/>
<define name="SW_MINIMIZE" value="6"/>
<define name="SW_SHOWMINNOACTIVE" value="7"/>
<define name="SW_SHOWNA" value="8"/>
<define name="SW_RESTORE" value="9"/>
<define name="SW_SHOWDEFAULT" value="10"/>
<define name="SW_FORCEMINIMIZE" value="11"/>
<define name="SW_MAX" value="11"/>
<define name="SB_LINELEFT" value="0"/>
<define name="SB_LINEDOWN" value="1"/>
<define name="SB_LINERIGHT" value="1"/>
<define name="SB_PAGEUP" value="2"/>
<define name="SB_PAGELEFT" value="2"/>
<define name="SB_PAGEDOWN" value="3"/>
<define name="SB_PAGERIGHT" value="3"/>
<define name="SB_THUMBPOSITION" value="4"/>
<define name="SB_THUMBTRACK" value="5"/>
<define name="SB_TOP" value="6"/>
<define name="SB_LEFT" value="6"/>
<define name="SB_BOTTOM" value="7"/>
<define name="SB_RIGHT" value="7"/>
<define name="SB_ENDSCROLL" value="8"/>
<define name="SB_HORZ" value="0"/>
<define name="SB_VERT" value="1"/>
<define name="SB_CTL" value="2"/>
<define name="SB_BOTH" value="3"/>
<define name="HIDE_WINDOW" value="0"/>
<define name="SHOW_OPENWINDOW" value="1"/>
<define name="SHOW_ICONWINDOW" value="2"/>
<define name="SHOW_FULLSCREEN" value="3"/>
<define name="SHOW_OPENNOACTIVATE" value="4"/>
<define name="SW_PARENTCLOSING" value="1"/>
<define name="SW_OTHERZOOM" value="2"/>
<define name="SW_PARENTOPENING" value="3"/>
<define name="SW_OTHERUNZOOM" value="4"/>
<define name="AW_HOR_POSITIVE" value="0x00000001"/>
<define name="AW_HOR_NEGATIVE" value="0x00000002"/>
<define name="AW_VER_POSITIVE" value="0x00000004"/>
<define name="AW_VER_NEGATIVE" value="0x00000008"/>
<define name="AW_CENTER" value="0x00000010"/>
<define name="AW_HIDE" value="0x00010000"/>
<define name="AW_ACTIVATE" value="0x00020000"/>
<define name="AW_SLIDE" value="0x00040000"/>
<define name="AW_BLEND" value="0x00080000"/>
<define name="KF_EXTENDED" value="0x0100"/>
<define name="KF_DLGMODE" value="0x0800"/>
<define name="KF_MENUMODE" value="0x1000"/>
<define name="KF_ALTDOWN" value="0x2000"/>
<define name="KF_REPEAT" value="0x4000"/>
<define name="KF_UP" value="0x8000"/>
<define name="VK_LBUTTON" value="0x01"/>
<define name="VK_RBUTTON" value="0x02"/>
<define name="VK_CANCEL" value="0x03"/>
<define name="VK_MBUTTON" value="0x04"/>
<define name="VK_XBUTTON1" value="0x05"/>
<define name="VK_XBUTTON2" value="0x06"/>
<define name="VK_BACK" value="0x08"/>
<define name="VK_TAB" value="0x09"/>
<define name="VK_CLEAR" value="0x0C"/>
<define name="VK_RETURN" value="0x0D"/>
<define name="VK_SHIFT" value="0x10"/>
<define name="VK_CONTROL" value="0x11"/>
<define name="VK_MENU" value="0x12"/>
<define name="VK_PAUSE" value="0x13"/>
<define name="VK_CAPITAL" value="0x14"/>
<define name="VK_KANA" value="0x15"/>
<define name="VK_HANGEUL" value="0x15"/>
<define name="VK_HANGUL" value="0x15"/>
<define name="VK_JUNJA" value="0x17"/>
<define name="VK_FINAL" value="0x18"/>
<define name="VK_HANJA" value="0x19"/>
<define name="VK_KANJI" value="0x19"/>
<define name="VK_ESCAPE" value="0x1B"/>
<define name="VK_CONVERT" value="0x1C"/>
<define name="VK_NONCONVERT" value="0x1D"/>
<define name="VK_ACCEPT" value="0x1E"/>
<define name="VK_MODECHANGE" value="0x1F"/>
<define name="VK_SPACE" value="0x20"/>
<define name="VK_PRIOR" value="0x21"/>
<define name="VK_NEXT" value="0x22"/>
<define name="VK_END" value="0x23"/>
<define name="VK_HOME" value="0x24"/>
<define name="VK_LEFT" value="0x25"/>
<define name="VK_UP" value="0x26"/>
<define name="VK_RIGHT" value="0x27"/>
<define name="VK_DOWN" value="0x28"/>
<define name="VK_SELECT" value="0x29"/>
<define name="VK_PRINT" value="0x2A"/>
<define name="VK_EXECUTE" value="0x2B"/>
<define name="VK_SNAPSHOT" value="0x2C"/>
<define name="VK_INSERT" value="0x2D"/>
<define name="VK_DELETE" value="0x2E"/>
<define name="VK_HELP" value="0x2F"/>
<define name="VK_LWIN" value="0x5B"/>
<define name="VK_RWIN" value="0x5C"/>
<define name="VK_APPS" value="0x5D"/>
<define name="VK_SLEEP" value="0x5F"/>
<define name="VK_NUMPAD0" value="0x60"/>
<define name="VK_NUMPAD1" value="0x61"/>
<define name="VK_NUMPAD2" value="0x62"/>
<define name="VK_NUMPAD3" value="0x63"/>
<define name="VK_NUMPAD4" value="0x64"/>
<define name="VK_NUMPAD5" value="0x65"/>
<define name="VK_NUMPAD6" value="0x66"/>
<define name="VK_NUMPAD7" value="0x67"/>
<define name="VK_NUMPAD8" value="0x68"/>
<define name="VK_NUMPAD9" value="0x69"/>
<define name="VK_MULTIPLY" value="0x6A"/>
<define name="VK_ADD" value="0x6B"/>
<define name="VK_SEPARATOR" value="0x6C"/>
<define name="VK_SUBTRACT" value="0x6D"/>
<define name="VK_DECIMAL" value="0x6E"/>
<define name="VK_DIVIDE" value="0x6F"/>
<define name="VK_F1" value="0x70"/>
<define name="VK_F2" value="0x71"/>
<define name="VK_F3" value="0x72"/>
<define name="VK_F4" value="0x73"/>
<define name="VK_F5" value="0x74"/>
<define name="VK_F6" value="0x75"/>
<define name="VK_F7" value="0x76"/>
<define name="VK_F8" value="0x77"/>
<define name="VK_F9" value="0x78"/>
<define name="VK_F10" value="0x79"/>
<define name="VK_F11" value="0x7A"/>
<define name="VK_F12" value="0x7B"/>
<define name="VK_F13" value="0x7C"/>
<define name="VK_F14" value="0x7D"/>
<define name="VK_F15" value="0x7E"/>
<define name="VK_F16" value="0x7F"/>
<define name="VK_F17" value="0x80"/>
<define name="VK_F18" value="0x81"/>
<define name="VK_F19" value="0x82"/>
<define name="VK_F20" value="0x83"/>
<define name="VK_F21" value="0x84"/>
<define name="VK_F22" value="0x85"/>
<define name="VK_F23" value="0x86"/>
<define name="VK_F24" value="0x87"/>
<define name="VK_NAVIGATION_VIEW" value="0x88"/>
<define name="VK_NAVIGATION_MENU" value="0x89"/>
<define name="VK_NAVIGATION_UP" value="0x8A"/>
<define name="VK_NAVIGATION_DOWN" value="0x8B"/>
<define name="VK_NAVIGATION_LEFT" value="0x8C"/>
<define name="VK_NAVIGATION_RIGHT" value="0x8D"/>
<define name="VK_NAVIGATION_ACCEPT" value="0x8E"/>
<define name="VK_NAVIGATION_CANCEL" value="0x8F"/>
<define name="VK_NUMLOCK" value="0x90"/>
<define name="VK_SCROLL" value="0x91"/>
<define name="VK_OEM_NEC_EQUAL" value="0x92"/>
<define name="VK_OEM_FJ_JISHO" value="0x92"/>
<define name="VK_OEM_FJ_MASSHOU" value="0x93"/>
<define name="VK_OEM_FJ_TOUROKU" value="0x94"/>
<define name="VK_OEM_FJ_LOYA" value="0x95"/>
<define name="VK_OEM_FJ_ROYA" value="0x96"/>
<define name="VK_LSHIFT" value="0xA0"/>
<define name="VK_RSHIFT" value="0xA1"/>
<define name="VK_LCONTROL" value="0xA2"/>
<define name="VK_RCONTROL" value="0xA3"/>
<define name="VK_LMENU" value="0xA4"/>
<define name="VK_RMENU" value="0xA5"/>
<define name="VK_BROWSER_BACK" value="0xA6"/>
<define name="VK_BROWSER_FORWARD" value="0xA7"/>
<define name="VK_BROWSER_REFRESH" value="0xA8"/>
<define name="VK_BROWSER_STOP" value="0xA9"/>
<define name="VK_BROWSER_SEARCH" value="0xAA"/>
<define name="VK_BROWSER_FAVORITES" value="0xAB"/>
<define name="VK_BROWSER_HOME" value="0xAC"/>
<define name="VK_VOLUME_MUTE" value="0xAD"/>
<define name="VK_VOLUME_DOWN" value="0xAE"/>
<define name="VK_VOLUME_UP" value="0xAF"/>
<define name="VK_MEDIA_NEXT_TRACK" value="0xB0"/>
<define name="VK_MEDIA_PREV_TRACK" value="0xB1"/>
<define name="VK_MEDIA_STOP" value="0xB2"/>
<define name="VK_MEDIA_PLAY_PAUSE" value="0xB3"/>
<define name="VK_LAUNCH_MAIL" value="0xB4"/>
<define name="VK_LAUNCH_MEDIA_SELECT" value="0xB5"/>
<define name="VK_LAUNCH_APP1" value="0xB6"/>
<define name="VK_LAUNCH_APP2" value="0xB7"/>
<define name="VK_OEM_1" value="0xBA"/>
<define name="VK_OEM_PLUS" value="0xBB"/>
<define name="VK_OEM_COMMA" value="0xBC"/>
<define name="VK_OEM_MINUS" value="0xBD"/>
<define name="VK_OEM_PERIOD" value="0xBE"/>
<define name="VK_OEM_2" value="0xBF"/>
<define name="VK_OEM_3" value="0xC0"/>
<define name="VK_GAMEPAD_A" value="0xC3"/>
<define name="VK_GAMEPAD_B" value="0xC4"/>
<define name="VK_GAMEPAD_X" value="0xC5"/>
<define name="VK_GAMEPAD_Y" value="0xC6"/>
<define name="VK_GAMEPAD_RIGHT_SHOULDER" value="0xC7"/>
<define name="VK_GAMEPAD_LEFT_SHOULDER" value="0xC8"/>
<define name="VK_GAMEPAD_LEFT_TRIGGER" value="0xC9"/>
<define name="VK_GAMEPAD_RIGHT_TRIGGER" value="0xCA"/>
<define name="VK_GAMEPAD_DPAD_UP" value="0xCB"/>
<define name="VK_GAMEPAD_DPAD_DOWN" value="0xCC"/>
<define name="VK_GAMEPAD_DPAD_LEFT" value="0xCD"/>
<define name="VK_GAMEPAD_DPAD_RIGHT" value="0xCE"/>
<define name="VK_GAMEPAD_MENU" value="0xCF"/>
<define name="VK_GAMEPAD_VIEW" value="0xD0"/>
<define name="VK_GAMEPAD_LEFT_THUMBSTICK_BUTTON" value="0xD1"/>
<define name="VK_GAMEPAD_RIGHT_THUMBSTICK_BUTTON" value="0xD2"/>
<define name="VK_GAMEPAD_LEFT_THUMBSTICK_UP" value="0xD3"/>
<define name="VK_GAMEPAD_LEFT_THUMBSTICK_DOWN" value="0xD4"/>
<define name="VK_GAMEPAD_LEFT_THUMBSTICK_RIGHT" value="0xD5"/>
<define name="VK_GAMEPAD_LEFT_THUMBSTICK_LEFT" value="0xD6"/>
<define name="VK_GAMEPAD_RIGHT_THUMBSTICK_UP" value="0xD7"/>
<define name="VK_GAMEPAD_RIGHT_THUMBSTICK_DOWN" value="0xD8"/>
<define name="VK_GAMEPAD_RIGHT_THUMBSTICK_RIGHT" value="0xD9"/>
<define name="VK_GAMEPAD_RIGHT_THUMBSTICK_LEFT" value="0xDA"/>
<define name="VK_OEM_4" value="0xDB"/>
<define name="VK_OEM_5" value="0xDC"/>
<define name="VK_OEM_6" value="0xDD"/>
<define name="VK_OEM_7" value="0xDE"/>
<define name="VK_OEM_8" value="0xDF"/>
<define name="VK_OEM_AX" value="0xE1"/>
<define name="VK_OEM_102" value="0xE2"/>
<define name="VK_ICO_HELP" value="0xE3"/>
<define name="VK_ICO_00" value="0xE4"/>
<define name="VK_PROCESSKEY" value="0xE5"/>
<define name="VK_ICO_CLEAR" value="0xE6"/>
<define name="VK_PACKET" value="0xE7"/>
<define name="VK_OEM_RESET" value="0xE9"/>
<define name="VK_OEM_JUMP" value="0xEA"/>
<define name="VK_OEM_PA1" value="0xEB"/>
<define name="VK_OEM_PA2" value="0xEC"/>
<define name="VK_OEM_PA3" value="0xED"/>
<define name="VK_OEM_WSCTRL" value="0xEE"/>
<define name="VK_OEM_CUSEL" value="0xEF"/>
<define name="VK_OEM_ATTN" value="0xF0"/>
<define name="VK_OEM_FINISH" value="0xF1"/>
<define name="VK_OEM_COPY" value="0xF2"/>
<define name="VK_OEM_AUTO" value="0xF3"/>
<define name="VK_OEM_ENLW" value="0xF4"/>
<define name="VK_OEM_BACKTAB" value="0xF5"/>
<define name="VK_ATTN" value="0xF6"/>
<define name="VK_CRSEL" value="0xF7"/>
<define name="VK_EXSEL" value="0xF8"/>
<define name="VK_EREOF" value="0xF9"/>
<define name="VK_PLAY" value="0xFA"/>
<define name="VK_ZOOM" value="0xFB"/>
<define name="VK_NONAME" value="0xFC"/>
<define name="VK_PA1" value="0xFD"/>
<define name="VK_OEM_CLEAR" value="0xFE"/>
<define name="WH_MIN" value="(-1)"/>
<define name="WH_MSGFILTER" value="(-1)"/>
<define name="WH_JOURNALRECORD" value="0"/>
<define name="WH_JOURNALPLAYBACK" value="1"/>
<define name="WH_KEYBOARD" value="2"/>
<define name="WH_GETMESSAGE" value="3"/>
<define name="WH_CALLWNDPROC" value="4"/>
<define name="WH_CBT" value="5"/>
<define name="WH_SYSMSGFILTER" value="6"/>
<define name="WH_MOUSE" value="7"/>
<define name="WH_HARDWARE" value="8"/>
<define name="WH_DEBUG" value="9"/>
<define name="WH_SHELL" value="10"/>
<define name="WH_FOREGROUNDIDLE" value="11"/>
<define name="WH_CALLWNDPROCRET" value="12"/>
<define name="WH_KEYBOARD_LL" value="13"/>
<define name="WH_MOUSE_LL" value="14"/>
<define name="WH_MAX" value="14"/>
<define name="WH_MINHOOK" value="WH_MIN"/>
<define name="WH_MAXHOOK" value="WH_MAX"/>
<define name="HC_ACTION" value="0"/>
<define name="HC_GETNEXT" value="1"/>
<define name="HC_SKIP" value="2"/>
<define name="HC_NOREMOVE" value="3"/>
<define name="HC_NOREM" value="HC_NOREMOVE"/>
<define name="HC_SYSMODALON" value="4"/>
<define name="HC_SYSMODALOFF" value="5"/>
<define name="HCBT_MOVESIZE" value="0"/>
<define name="HCBT_MINMAX" value="1"/>
<define name="HCBT_QS" value="2"/>
<define name="HCBT_CREATEWND" value="3"/>
<define name="HCBT_DESTROYWND" value="4"/>
<define name="HCBT_ACTIVATE" value="5"/>
<define name="HCBT_CLICKSKIPPED" value="6"/>
<define name="HCBT_KEYSKIPPED" value="7"/>
<define name="HCBT_SYSCOMMAND" value="8"/>
<define name="HCBT_SETFOCUS" value="9"/>
<define name="WTS_CONSOLE_CONNECT" value="0x1"/>
<define name="WTS_CONSOLE_DISCONNECT" value="0x2"/>
<define name="WTS_REMOTE_CONNECT" value="0x3"/>
<define name="WTS_REMOTE_DISCONNECT" value="0x4"/>
<define name="WTS_SESSION_LOGON" value="0x5"/>
<define name="WTS_SESSION_LOGOFF" value="0x6"/>
<define name="WTS_SESSION_LOCK" value="0x7"/>
<define name="WTS_SESSION_UNLOCK" value="0x8"/>
<define name="WTS_SESSION_REMOTE_CONTROL" value="0x9"/>
<define name="WTS_SESSION_CREATE" value="0xa"/>
<define name="WTS_SESSION_TERMINATE" value="0xb"/>
<define name="MSGF_DIALOGBOX" value="0"/>
<define name="MSGF_MESSAGEBOX" value="1"/>
<define name="MSGF_MENU" value="2"/>
<define name="MSGF_SCROLLBAR" value="5"/>
<define name="MSGF_NEXTWINDOW" value="6"/>
<define name="MSGF_MAX" value="8"/>
<define name="MSGF_USER" value="4096"/>
<define name="HSHELL_WINDOWCREATED" value="1"/>
<define name="HSHELL_WINDOWDESTROYED" value="2"/>
<define name="HSHELL_ACTIVATESHELLWINDOW" value="3"/>
<define name="HSHELL_WINDOWACTIVATED" value="4"/>
<define name="HSHELL_GETMINRECT" value="5"/>
<define name="HSHELL_REDRAW" value="6"/>
<define name="HSHELL_TASKMAN" value="7"/>
<define name="HSHELL_LANGUAGE" value="8"/>
<define name="HSHELL_SYSMENU" value="9"/>
<define name="HSHELL_ENDTASK" value="10"/>
<define name="APPCOMMAND_BROWSER_BACKWARD" value="1"/>
<define name="APPCOMMAND_BROWSER_FORWARD" value="2"/>
<define name="APPCOMMAND_BROWSER_REFRESH" value="3"/>
<define name="APPCOMMAND_BROWSER_STOP" value="4"/>
<define name="APPCOMMAND_BROWSER_SEARCH" value="5"/>
<define name="APPCOMMAND_BROWSER_FAVORITES" value="6"/>
<define name="APPCOMMAND_BROWSER_HOME" value="7"/>
<define name="APPCOMMAND_VOLUME_MUTE" value="8"/>
<define name="APPCOMMAND_VOLUME_DOWN" value="9"/>
<define name="APPCOMMAND_VOLUME_UP" value="10"/>
<define name="APPCOMMAND_MEDIA_NEXTTRACK" value="11"/>
<define name="APPCOMMAND_MEDIA_PREVIOUSTRACK" value="12"/>
<define name="APPCOMMAND_MEDIA_STOP" value="13"/>
<define name="APPCOMMAND_MEDIA_PLAY_PAUSE" value="14"/>
<define name="APPCOMMAND_LAUNCH_MAIL" value="15"/>
<define name="APPCOMMAND_LAUNCH_MEDIA_SELECT" value="16"/>
<define name="APPCOMMAND_LAUNCH_APP1" value="17"/>
<define name="APPCOMMAND_LAUNCH_APP2" value="18"/>
<define name="APPCOMMAND_BASS_DOWN" value="19"/>
<define name="APPCOMMAND_BASS_BOOST" value="20"/>
<define name="APPCOMMAND_BASS_UP" value="21"/>
<define name="APPCOMMAND_TREBLE_DOWN" value="22"/>
<define name="APPCOMMAND_TREBLE_UP" value="23"/>
<define name="APPCOMMAND_MICROPHONE_VOLUME_MUTE" value="24"/>
<define name="APPCOMMAND_MICROPHONE_VOLUME_DOWN" value="25"/>
<define name="APPCOMMAND_MICROPHONE_VOLUME_UP" value="26"/>
<define name="APPCOMMAND_HELP" value="27"/>
<define name="APPCOMMAND_FIND" value="28"/>
<define name="APPCOMMAND_NEW" value="29"/>
<define name="APPCOMMAND_OPEN" value="30"/>
<define name="APPCOMMAND_CLOSE" value="31"/>
<define name="APPCOMMAND_SAVE" value="32"/>
<define name="APPCOMMAND_PRINT" value="33"/>
<define name="APPCOMMAND_UNDO" value="34"/>
<define name="APPCOMMAND_REDO" value="35"/>
<define name="APPCOMMAND_COPY" value="36"/>
<define name="APPCOMMAND_CUT" value="37"/>
<define name="APPCOMMAND_PASTE" value="38"/>
<define name="APPCOMMAND_REPLY_TO_MAIL" value="39"/>
<define name="APPCOMMAND_FORWARD_MAIL" value="40"/>
<define name="APPCOMMAND_SEND_MAIL" value="41"/>
<define name="APPCOMMAND_SPELL_CHECK" value="42"/>
<define name="APPCOMMAND_DICTATE_OR_COMMAND_CONTROL_TOGGLE" value="43"/>
<define name="APPCOMMAND_MIC_ON_OFF_TOGGLE" value="44"/>
<define name="APPCOMMAND_CORRECTION_LIST" value="45"/>
<define name="APPCOMMAND_MEDIA_PLAY" value="46"/>
<define name="APPCOMMAND_MEDIA_PAUSE" value="47"/>
<define name="APPCOMMAND_MEDIA_RECORD" value="48"/>
<define name="APPCOMMAND_MEDIA_FAST_FORWARD" value="49"/>
<define name="APPCOMMAND_MEDIA_REWIND" value="50"/>
<define name="APPCOMMAND_MEDIA_CHANNEL_UP" value="51"/>
<define name="APPCOMMAND_MEDIA_CHANNEL_DOWN" value="52"/>
<define name="APPCOMMAND_DELETE" value="53"/>
<define name="APPCOMMAND_DWM_FLIP3D" value="54"/>
<define name="FAPPCOMMAND_MOUSE" value="0x8000"/>
<define name="FAPPCOMMAND_KEY" value="0"/>
<define name="FAPPCOMMAND_OEM" value="0x1000"/>
<define name="FAPPCOMMAND_MASK" value="0xF000"/>
</def>