windows.cfg: Added support for some constants from WinBase.h

This commit is contained in:
orbitcowboy 2019-01-16 15:54:18 +01:00
parent 705fa1820c
commit cdae767bd8
1 changed files with 148 additions and 0 deletions

View File

@ -11071,4 +11071,152 @@ HFONT CreateFont(
<define name="PARITY_EVEN" value="(0x0400)"/>
<define name="PARITY_MARK" value="(0x0800)"/>
<define name="PARITY_SPACE" value="(0x1000)"/>
<define name="DRIVE_UNKNOWN" value="0"/>
<define name="DRIVE_NO_ROOT_DIR" value="1"/>
<define name="DRIVE_REMOVABLE" value="2"/>
<define name="DRIVE_FIXED" value="3"/>
<define name="DRIVE_REMOTE" value="4"/>
<define name="DRIVE_CDROM" value="5"/>
<define name="DRIVE_RAMDISK" value="6"/>
<define name="GetFreeSpace(w)" value="(0x100000L)"/>
<define name="FILE_TYPE_UNKNOWN" value="0x0000"/>
<define name="FILE_TYPE_DISK" value="0x0001"/>
<define name="FILE_TYPE_CHAR" value="0x0002"/>
<define name="FILE_TYPE_PIPE" value="0x0003"/>
<define name="FILE_TYPE_REMOTE" value="0x8000"/>
<define name="STD_INPUT_HANDLE" value="(-10)"/>
<define name="STD_OUTPUT_HANDLE" value="(-11)"/>
<define name="STD_ERROR_HANDLE" value="(-12)"/>
<define name="NOPARITY" value="0"/>
<define name="ODDPARITY" value="1"/>
<define name="EVENPARITY" value="2"/>
<define name="MARKPARITY" value="3"/>
<define name="SPACEPARITY" value="4"/>
<define name="ONESTOPBIT" value="0"/>
<define name="ONE5STOPBITS" value="1"/>
<define name="TWOSTOPBITS" value="2"/>
<define name="IGNORE" value="0"/>
<define name="INFINITE" value="0xFFFFFFFF"/>
<define name="CBR_110" value="110"/>
<define name="CBR_300" value="300"/>
<define name="CBR_600" value="600"/>
<define name="CBR_1200" value="1200"/>
<define name="CBR_2400" value="2400"/>
<define name="CBR_4800" value="4800"/>
<define name="CBR_9600" value="9600"/>
<define name="CBR_14400" value="14400"/>
<define name="CBR_19200" value="19200"/>
<define name="CBR_38400" value="38400"/>
<define name="CBR_56000" value="56000"/>
<define name="CBR_57600" value="57600"/>
<define name="CBR_115200" value="115200"/>
<define name="CBR_128000" value="128000"/>
<define name="CBR_256000" value="256000"/>
<define name="CE_RXOVER" value="0x0001"/>
<define name="CE_OVERRUN" value="0x0002"/>
<define name="CE_RXPARITY" value="0x0004"/>
<define name="CE_FRAME" value="0x0008"/>
<define name="CE_BREAK" value="0x0010"/>
<define name="CE_TXFULL" value="0x0100"/>
<define name="CE_PTO" value="0x0200"/>
<define name="CE_IOE" value="0x0400"/>
<define name="CE_DNS" value="0x0800"/>
<define name="CE_OOP" value="0x1000"/>
<define name="CE_MODE" value="0x8000"/>
<define name="IE_BADID" value="(-1)"/>
<define name="IE_OPEN" value="(-2)"/>
<define name="IE_NOPEN" value="(-3)"/>
<define name="IE_MEMORY" value="(-4)"/>
<define name="IE_DEFAULT" value="(-5)"/>
<define name="IE_HARDWARE" value="(-10)"/>
<define name="IE_BYTESIZE" value="(-11)"/>
<define name="IE_BAUDRATE" value="(-12)"/>
<define name="EV_RXCHAR" value="0x0001"/>
<define name="EV_RXFLAG" value="0x0002"/>
<define name="EV_TXEMPTY" value="0x0004"/>
<define name="EV_CTS" value="0x0008"/>
<define name="EV_DSR" value="0x0010"/>
<define name="EV_RLSD" value="0x0020"/>
<define name="EV_BREAK" value="0x0040"/>
<define name="EV_ERR" value="0x0080"/>
<define name="EV_RING" value="0x0100"/>
<define name="EV_PERR" value="0x0200"/>
<define name="EV_RX80FULL" value="0x0400"/>
<define name="EV_EVENT1" value="0x0800"/>
<define name="EV_EVENT2" value="0x1000"/>
<define name="SETXOFF" value="1"/>
<define name="SETXON" value="2"/>
<define name="SETRTS" value="3"/>
<define name="CLRRTS" value="4"/>
<define name="SETDTR" value="5"/>
<define name="CLRDTR" value="6"/>
<define name="RESETDEV" value="7"/>
<define name="SETBREAK" value="8"/>
<define name="CLRBREAK" value="9"/>
<define name="PURGE_TXABORT" value="0x0001"/>
<define name="PURGE_RXABORT" value="0x0002"/>
<define name="PURGE_TXCLEAR" value="0x0004"/>
<define name="PURGE_RXCLEAR" value="0x0008"/>
<define name="LPTx" value="0x80"/>
<define name="MS_CTS_ON" value="(0x0010)"/>
<define name="MS_DSR_ON" value="(0x0020)"/>
<define name="MS_RING_ON" value="(0x0040)"/>
<define name="MS_RLSD_ON" value="(0x0080)"/>
<define name="S_QUEUEEMPTY" value="0"/>
<define name="S_THRESHOLD" value="1"/>
<define name="S_ALLTHRESHOLD" value="2"/>
<define name="S_NORMAL" value="0"/>
<define name="S_LEGATO" value="1"/>
<define name="S_STACCATO" value="2"/>
<define name="S_PERIOD512" value="0"/>
<define name="S_PERIOD1024" value="1"/>
<define name="S_PERIOD2048" value="2"/>
<define name="S_PERIODVOICE" value="3"/>
<define name="S_WHITE512" value="4"/>
<define name="S_WHITE1024" value="5"/>
<define name="S_WHITE2048" value="6"/>
<define name="S_WHITEVOICE" value="7"/>
<define name="S_SERDVNA" value="(-1)"/>
<define name="S_SEROFM" value="(-2)"/>
<define name="S_SERMACT" value="(-3)"/>
<define name="S_SERQFUL" value="(-4)"/>
<define name="S_SERBDNT" value="(-5)"/>
<define name="S_SERDLN" value="(-6)"/>
<define name="S_SERDCC" value="(-7)"/>
<define name="S_SERDTP" value="(-8)"/>
<define name="S_SERDVL" value="(-9)"/>
<define name="S_SERDMD" value="(-10)"/>
<define name="S_SERDSH" value="(-11)"/>
<define name="S_SERDPT" value="(-12)"/>
<define name="S_SERDFQ" value="(-13)"/>
<define name="S_SERDDR" value="(-14)"/>
<define name="S_SERDSR" value="(-15)"/>
<define name="S_SERDST" value="(-16)"/>
<define name="NMPWAIT_WAIT_FOREVER" value="0xffffffff"/>
<define name="NMPWAIT_NOWAIT" value="0x00000001"/>
<define name="NMPWAIT_USE_DEFAULT_WAIT" value="0x00000000"/>
<define name="FS_CASE_IS_PRESERVED" value="FILE_CASE_PRESERVED_NAMES"/>
<define name="FS_CASE_SENSITIVE" value="FILE_CASE_SENSITIVE_SEARCH"/>
<define name="FS_UNICODE_STORED_ON_DISK" value="FILE_UNICODE_ON_DISK"/>
<define name="FS_PERSISTENT_ACLS" value="FILE_PERSISTENT_ACLS"/>
<define name="FS_VOL_IS_COMPRESSED" value="FILE_VOLUME_IS_COMPRESSED"/>
<define name="FS_FILE_COMPRESSION" value="FILE_FILE_COMPRESSION"/>
<define name="FS_FILE_ENCRYPTION" value="FILE_SUPPORTS_ENCRYPTION"/>
<define name="OF_READ" value="0x00000000"/>
<define name="OF_WRITE" value="0x00000001"/>
<define name="OF_READWRITE" value="0x00000002"/>
<define name="OF_SHARE_COMPAT" value="0x00000000"/>
<define name="OF_SHARE_EXCLUSIVE" value="0x00000010"/>
<define name="OF_SHARE_DENY_WRITE" value="0x00000020"/>
<define name="OF_SHARE_DENY_READ" value="0x00000030"/>
<define name="OF_SHARE_DENY_NONE" value="0x00000040"/>
<define name="OF_PARSE" value="0x00000100"/>
<define name="OF_DELETE" value="0x00000200"/>
<define name="OF_VERIFY" value="0x00000400"/>
<define name="OF_CANCEL" value="0x00000800"/>
<define name="OF_CREATE" value="0x00001000"/>
<define name="OF_PROMPT" value="0x00002000"/>
<define name="OF_EXIST" value="0x00004000"/>
<define name="OF_REOPEN" value="0x00008000"/>
<define name="OFS_MAXPATHNAME" value="128"/>
</def>