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

This commit is contained in:
orbitcowboy 2020-11-21 00:02:20 +01:00
parent 4517c9aae6
commit 072325621e
1 changed files with 224 additions and 0 deletions

View File

@ -13610,4 +13610,228 @@ HFONT CreateFont(
<define name="SECTION_MAP_EXECUTE_EXPLICIT" value="0x0020"/>
<define name="CFG_CALL_TARGET_VALID" value="(0x00000001)"/>
<define name="CFG_CALL_TARGET_PROCESSED" value="(0x00000002)"/>
<!-- WinBase.h -->
<define name="HasOverlappedIoCompleted(lpOverlapped)" value="(((DWORD)(lpOverlapped)-&gt;Internal)!=STATUS_PENDING)"/>
<define name="PROCESS_DEP_ENABLE" value="0x00000001"/>
<define name="PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION" value="0x00000002"/>
<define name="SCS_32BIT_BINARY" value="0"/>
<define name="SCS_DOS_BINARY" value="1"/>
<define name="SCS_WOW_BINARY" value="2"/>
<define name="SCS_PIF_BINARY" value="3"/>
<define name="SCS_POSIX_BINARY" value="4"/>
<define name="SCS_OS216_BINARY" value="5"/>
<define name="SCS_64BIT_BINARY" value="6"/>
<define name="DEBUG_PROCESS" value="0x00000001"/>
<define name="DEBUG_ONLY_THIS_PROCESS" value="0x00000002"/>
<define name="CREATE_SUSPENDED" value="0x00000004"/>
<define name="DETACHED_PROCESS" value="0x00000008"/>
<define name="CREATE_NEW_CONSOLE" value="0x00000010"/>
<define name="NORMAL_PRIORITY_CLASS" value="0x00000020"/>
<define name="IDLE_PRIORITY_CLASS" value="0x00000040"/>
<define name="HIGH_PRIORITY_CLASS" value="0x00000080"/>
<define name="REALTIME_PRIORITY_CLASS" value="0x00000100"/>
<define name="CREATE_NEW_PROCESS_GROUP" value="0x00000200"/>
<define name="CREATE_UNICODE_ENVIRONMENT" value="0x00000400"/>
<define name="CREATE_SEPARATE_WOW_VDM" value="0x00000800"/>
<define name="CREATE_SHARED_WOW_VDM" value="0x00001000"/>
<define name="CREATE_FORCEDOS" value="0x00002000"/>
<define name="BELOW_NORMAL_PRIORITY_CLASS" value="0x00004000"/>
<define name="ABOVE_NORMAL_PRIORITY_CLASS" value="0x00008000"/>
<define name="INHERIT_PARENT_AFFINITY" value="0x00010000"/>
<define name="INHERIT_CALLER_PRIORITY" value="0x00020000"/>
<define name="CREATE_PROTECTED_PROCESS" value="0x00040000"/>
<define name="EXTENDED_STARTUPINFO_PRESENT" value="0x00080000"/>
<define name="PROCESS_MODE_BACKGROUND_BEGIN" value="0x00100000"/>
<define name="PROCESS_MODE_BACKGROUND_END" value="0x00200000"/>
<define name="CREATE_SECURE_PROCESS" value="0x00400000"/>
<define name="CREATE_BREAKAWAY_FROM_JOB" value="0x01000000"/>
<define name="CREATE_PRESERVE_CODE_AUTHZ_LEVEL" value="0x02000000"/>
<define name="CREATE_DEFAULT_ERROR_MODE" value="0x04000000"/>
<define name="CREATE_NO_WINDOW" value="0x08000000"/>
<define name="PROFILE_USER" value="0x10000000"/>
<define name="PROFILE_KERNEL" value="0x20000000"/>
<define name="PROFILE_SERVER" value="0x40000000"/>
<define name="CREATE_IGNORE_SYSTEM_DEFAULT" value="0x80000000"/>
<define name="STACK_SIZE_PARAM_IS_A_RESERVATION" value="0x00010000"/>
<define name="THREAD_PRIORITY_LOWEST" value="THREAD_BASE_PRIORITY_MIN"/>
<define name="THREAD_PRIORITY_BELOW_NORMAL" value="(THREAD_PRIORITY_LOWEST+1)"/>
<define name="THREAD_PRIORITY_NORMAL" value="0"/>
<define name="THREAD_PRIORITY_HIGHEST" value="THREAD_BASE_PRIORITY_MAX"/>
<define name="THREAD_PRIORITY_ABOVE_NORMAL" value="(THREAD_PRIORITY_HIGHEST-1)"/>
<define name="THREAD_PRIORITY_ERROR_RETURN" value="(MAXLONG)"/>
<define name="THREAD_PRIORITY_TIME_CRITICAL" value="THREAD_BASE_PRIORITY_LOWRT"/>
<define name="THREAD_PRIORITY_IDLE" value="THREAD_BASE_PRIORITY_IDLE"/>
<define name="THREAD_MODE_BACKGROUND_BEGIN" value="0x00010000"/>
<define name="THREAD_MODE_BACKGROUND_END" value="0x00020000"/>
<define name="VOLUME_NAME_DOS" value="0x0"/>
<define name="VOLUME_NAME_GUID" value="0x1"/>
<define name="VOLUME_NAME_NT" value="0x2"/>
<define name="VOLUME_NAME_NONE" value="0x4"/>
<define name="FILE_NAME_NORMALIZED" value="0x0"/>
<define name="FILE_NAME_OPENED" value="0x8"/>
<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="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="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"/>
<define name="FreeModule(hLibModule)" value="FreeLibrary((hLibModule))"/>
<define name="MakeProcInstance(lpProc,hInstance)" value="(lpProc)"/>
<define name="FreeProcInstance(lpProc)" value="(lpProc)"/>
<define name="GMEM_FIXED" value="0x0000"/>
<define name="GMEM_MOVEABLE" value="0x0002"/>
<define name="GMEM_NOCOMPACT" value="0x0010"/>
<define name="GMEM_NODISCARD" value="0x0020"/>
<define name="GMEM_ZEROINIT" value="0x0040"/>
<define name="GMEM_MODIFY" value="0x0080"/>
<define name="GMEM_DISCARDABLE" value="0x0100"/>
<define name="GMEM_NOT_BANKED" value="0x1000"/>
<define name="GMEM_SHARE" value="0x2000"/>
<define name="GMEM_DDESHARE" value="0x2000"/>
<define name="GMEM_NOTIFY" value="0x4000"/>
<define name="GMEM_LOWER" value="GMEM_NOT_BANKED"/>
<define name="GMEM_VALID_FLAGS" value="0x7F72"/>
<define name="GMEM_INVALID_HANDLE" value="0x8000"/>
<define name="GHND" value="(GMEM_MOVEABLE|GMEM_ZEROINIT)"/>
<define name="GPTR" value="(GMEM_FIXED|GMEM_ZEROINIT)"/>
<define name="GlobalLRUNewest(h)" value="((HANDLE)(h))"/>
<define name="GlobalLRUOldest(h)" value="((HANDLE)(h))"/>
<define name="GlobalDiscard(h)" value="GlobalReAlloc((h),0,GMEM_MOVEABLE)"/>
<define name="GMEM_DISCARDED" value="0x4000"/>
<define name="GMEM_LOCKCOUNT" value="0x00FF"/>
</def>