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

This commit is contained in:
orbitcowboy 2019-01-16 15:51:14 +01:00
parent 11cf28e6ab
commit 705fa1820c
1 changed files with 192 additions and 0 deletions

View File

@ -10879,4 +10879,196 @@ HFONT CreateFont(
<define name="ERROR_INTERNET_PROTOCOL_NOT_FOUND" value="12008"/>
<define name="HANDLE_FLAG_INHERIT" value="1"/>
<define name="HANDLE_FLAG_PROTECT_FROM_CLOSE" value="2"/>
<define name="STATUS_WAIT_0" value="(0x00000000L)"/>
<define name="STATUS_ABANDONED_WAIT_0" value="(0x00000080L)"/>
<define name="STATUS_USER_APC" value="(0x000000C0L)"/>
<define name="STATUS_TIMEOUT" value="(0x00000102L)"/>
<define name="STATUS_PENDING" value="(0x00000103L)"/>
<define name="DBG_EXCEPTION_HANDLED" value="(0x00010001L)"/>
<define name="DBG_CONTINUE" value="(0x00010002L)"/>
<define name="STATUS_SEGMENT_NOTIFICATION" value="(0x40000005L)"/>
<define name="STATUS_FATAL_APP_EXIT" value="(0x40000015L)"/>
<define name="DBG_TERMINATE_THREAD" value="(0x40010003L)"/>
<define name="DBG_TERMINATE_PROCESS" value="(0x40010004L)"/>
<define name="DBG_CONTROL_C" value="(0x40010005L)"/>
<define name="DBG_PRINTEXCEPTION_C" value="(0x40010006L)"/>
<define name="DBG_RIPEXCEPTION" value="(0x40010007L)"/>
<define name="DBG_CONTROL_BREAK" value="(0x40010008L)"/>
<define name="DBG_COMMAND_EXCEPTION" value="(0x40010009L)"/>
<define name="STATUS_GUARD_PAGE_VIOLATION" value="(0x80000001L)"/>
<define name="STATUS_DATATYPE_MISALIGNMENT" value="(0x80000002L)"/>
<define name="STATUS_BREAKPOINT" value="(0x80000003L)"/>
<define name="STATUS_SINGLE_STEP" value="(0x80000004L)"/>
<define name="STATUS_LONGJUMP" value="(0x80000026L)"/>
<define name="STATUS_UNWIND_CONSOLIDATE" value="(0x80000029L)"/>
<define name="DBG_EXCEPTION_NOT_HANDLED" value="(0x80010001L)"/>
<define name="STATUS_ACCESS_VIOLATION" value="(0xC0000005L)"/>
<define name="STATUS_IN_PAGE_ERROR" value="(0xC0000006L)"/>
<define name="STATUS_INVALID_HANDLE" value="(0xC0000008L)"/>
<define name="STATUS_INVALID_PARAMETER" value="(0xC000000DL)"/>
<define name="STATUS_NO_MEMORY" value="(0xC0000017L)"/>
<define name="STATUS_ILLEGAL_INSTRUCTION" value="(0xC000001DL)"/>
<define name="STATUS_NONCONTINUABLE_EXCEPTION" value="(0xC0000025L)"/>
<define name="STATUS_INVALID_DISPOSITION" value="(0xC0000026L)"/>
<define name="STATUS_ARRAY_BOUNDS_EXCEEDED" value="(0xC000008CL)"/>
<define name="STATUS_FLOAT_DENORMAL_OPERAND" value="(0xC000008DL)"/>
<define name="STATUS_FLOAT_DIVIDE_BY_ZERO" value="(0xC000008EL)"/>
<define name="STATUS_FLOAT_INEXACT_RESULT" value="(0xC000008FL)"/>
<define name="STATUS_FLOAT_INVALID_OPERATION" value="(0xC0000090L)"/>
<define name="STATUS_FLOAT_OVERFLOW" value="(0xC0000091L)"/>
<define name="STATUS_FLOAT_STACK_CHECK" value="(0xC0000092L)"/>
<define name="STATUS_FLOAT_UNDERFLOW" value="(0xC0000093L)"/>
<define name="STATUS_INTEGER_DIVIDE_BY_ZERO" value="(0xC0000094L)"/>
<define name="STATUS_INTEGER_OVERFLOW" value="(0xC0000095L)"/>
<define name="STATUS_PRIVILEGED_INSTRUCTION" value="(0xC0000096L)"/>
<define name="STATUS_STACK_OVERFLOW" value="(0xC00000FDL)"/>
<define name="STATUS_DLL_NOT_FOUND" value="(0xC0000135L)"/>
<define name="STATUS_ORDINAL_NOT_FOUND" value="(0xC0000138L)"/>
<define name="STATUS_ENTRYPOINT_NOT_FOUND" value="(0xC0000139L)"/>
<define name="STATUS_CONTROL_C_EXIT" value="(0xC000013AL)"/>
<define name="STATUS_DLL_INIT_FAILED" value="(0xC0000142L)"/>
<define name="STATUS_FLOAT_MULTIPLE_FAULTS" value="(0xC00002B4L)"/>
<define name="STATUS_FLOAT_MULTIPLE_TRAPS" value="(0xC00002B5L)"/>
<define name="STATUS_REG_NAT_CONSUMPTION" value="(0xC00002C9L)"/>
<define name="STATUS_HEAP_CORRUPTION" value="(0xC0000374L)"/>
<define name="STATUS_STACK_BUFFER_OVERRUN" value="(0xC0000409L)"/>
<define name="STATUS_INVALID_CRUNTIME_PARAMETER" value="(0xC0000417L)"/>
<define name="STATUS_ASSERTION_FAILURE" value="(0xC0000420L)"/>
<define name="STATUS_SXS_EARLY_DEACTIVATION" value="(0xC015000FL)"/>
<define name="STATUS_SXS_INVALID_DEACTIVATION" value="(0xC0150010L)"/>
<define name="DefineHandleTable(w)" value="((w),TRUE)"/>
<define name="SetSwapAreaSize(w)" value="(w)"/>
<define name="LockSegment(w)" value="GlobalFix((HANDLE)(w))"/>
<define name="UnlockSegment(w)" value="GlobalUnfix((HANDLE)(w))"/>
<define name="GetCurrentTime()" value="GetTickCount()"/>
<define name="FILE_BEGIN" value="0"/>
<define name="FILE_CURRENT" value="1"/>
<define name="FILE_END" value="2"/>
<define name="WAIT_FAILED" value="(0xFFFFFFFF)"/>
<define name="WAIT_OBJECT_0" value="((STATUS_WAIT_0 ) + 0 )"/>
<define name="WAIT_ABANDONED" value="((STATUS_ABANDONED_WAIT_0 ) + 0 )"/>
<define name="WAIT_ABANDONED_0" value="((STATUS_ABANDONED_WAIT_0 ) + 0 )"/>
<define name="WAIT_IO_COMPLETION" value="STATUS_USER_APC"/>
<define name="SecureZeroMemory" value="RtlSecureZeroMemory"/>
<define name="CaptureStackBackTrace" value="RtlCaptureStackBackTrace"/>
<define name="FILE_FLAG_WRITE_THROUGH" value="0x80000000"/>
<define name="FILE_FLAG_OVERLAPPED" value="0x40000000"/>
<define name="FILE_FLAG_NO_BUFFERING" value="0x20000000"/>
<define name="FILE_FLAG_RANDOM_ACCESS" value="0x10000000"/>
<define name="FILE_FLAG_SEQUENTIAL_SCAN" value="0x08000000"/>
<define name="FILE_FLAG_DELETE_ON_CLOSE" value="0x04000000"/>
<define name="FILE_FLAG_BACKUP_SEMANTICS" value="0x02000000"/>
<define name="FILE_FLAG_POSIX_SEMANTICS" value="0x01000000"/>
<define name="FILE_FLAG_SESSION_AWARE" value="0x00800000"/>
<define name="FILE_FLAG_OPEN_REPARSE_POINT" value="0x00200000"/>
<define name="FILE_FLAG_OPEN_NO_RECALL" value="0x00100000"/>
<define name="FILE_FLAG_FIRST_PIPE_INSTANCE" value="0x00080000"/>
<define name="FILE_FLAG_OPEN_REQUIRING_OPLOCK" value="0x00040000"/>
<define name="PROGRESS_CONTINUE" value="0"/>
<define name="PROGRESS_CANCEL" value="1"/>
<define name="PROGRESS_STOP" value="2"/>
<define name="PROGRESS_QUIET" value="3"/>
<define name="CALLBACK_CHUNK_FINISHED" value="0x00000000"/>
<define name="CALLBACK_STREAM_SWITCH" value="0x00000001"/>
<define name="COPY_FILE_FAIL_IF_EXISTS" value="0x00000001"/>
<define name="COPY_FILE_RESTARTABLE" value="0x00000002"/>
<define name="COPY_FILE_OPEN_SOURCE_FOR_WRITE" value="0x00000004"/>
<define name="COPY_FILE_ALLOW_DECRYPTED_DESTINATION" value="0x00000008"/>
<define name="COPY_FILE_COPY_SYMLINK" value="0x00000800"/>
<define name="COPY_FILE_NO_BUFFERING" value="0x00001000"/>
<define name="COPY_FILE_REQUEST_SECURITY_PRIVILEGES" value="0x00002000"/>
<define name="COPY_FILE_RESUME_FROM_PAUSE" value="0x00004000"/>
<define name="COPY_FILE_NO_OFFLOAD" value="0x00040000"/>
<define name="REPLACEFILE_WRITE_THROUGH" value="0x00000001"/>
<define name="REPLACEFILE_IGNORE_MERGE_ERRORS" value="0x00000002"/>
<define name="REPLACEFILE_IGNORE_ACL_ERRORS" value="0x00000004"/>
<define name="PIPE_ACCESS_INBOUND" value="0x00000001"/>
<define name="PIPE_ACCESS_OUTBOUND" value="0x00000002"/>
<define name="PIPE_ACCESS_DUPLEX" value="0x00000003"/>
<define name="PIPE_CLIENT_END" value="0x00000000"/>
<define name="PIPE_SERVER_END" value="0x00000001"/>
<define name="PIPE_WAIT" value="0x00000000"/>
<define name="PIPE_NOWAIT" value="0x00000001"/>
<define name="PIPE_READMODE_BYTE" value="0x00000000"/>
<define name="PIPE_READMODE_MESSAGE" value="0x00000002"/>
<define name="PIPE_TYPE_BYTE" value="0x00000000"/>
<define name="PIPE_TYPE_MESSAGE" value="0x00000004"/>
<define name="PIPE_ACCEPT_REMOTE_CLIENTS" value="0x00000000"/>
<define name="PIPE_REJECT_REMOTE_CLIENTS" value="0x00000008"/>
<define name="PIPE_UNLIMITED_INSTANCES" value="255"/>
<define name="SECURITY_ANONYMOUS" value="( SecurityAnonymous &lt;&lt; 16 )"/>
<define name="SECURITY_IDENTIFICATION" value="( SecurityIdentification &lt;&lt; 16 )"/>
<define name="SECURITY_IMPERSONATION" value="( SecurityImpersonation &lt;&lt; 16 )"/>
<define name="SECURITY_DELEGATION" value="( SecurityDelegation &lt;&lt; 16 )"/>
<define name="SECURITY_CONTEXT_TRACKING" value="0x00040000"/>
<define name="SECURITY_EFFECTIVE_ONLY" value="0x00080000"/>
<define name="SECURITY_SQOS_PRESENT" value="0x00100000"/>
<define name="SECURITY_VALID_SQOS_FLAGS" value="0x001F0000"/>
<define name="FAIL_FAST_GENERATE_EXCEPTION_ADDRESS" value="0x1"/>
<define name="FAIL_FAST_NO_HARD_ERROR_DLG" value="0x2"/>
<define name="SP_SERIALCOMM" value="(0x00000001)"/>
<define name="PST_UNSPECIFIED" value="(0x00000000)"/>
<define name="PST_RS232" value="(0x00000001)"/>
<define name="PST_PARALLELPORT" value="(0x00000002)"/>
<define name="PST_RS422" value="(0x00000003)"/>
<define name="PST_RS423" value="(0x00000004)"/>
<define name="PST_RS449" value="(0x00000005)"/>
<define name="PST_MODEM" value="(0x00000006)"/>
<define name="PST_FAX" value="(0x00000021)"/>
<define name="PST_SCANNER" value="(0x00000022)"/>
<define name="PST_NETWORK_BRIDGE" value="(0x00000100)"/>
<define name="PST_LAT" value="(0x00000101)"/>
<define name="PST_TCPIP_TELNET" value="(0x00000102)"/>
<define name="PST_X25" value="(0x00000103)"/>
<define name="PCF_DTRDSR" value="(0x0001)"/>
<define name="PCF_RTSCTS" value="(0x0002)"/>
<define name="PCF_RLSD" value="(0x0004)"/>
<define name="PCF_PARITY_CHECK" value="(0x0008)"/>
<define name="PCF_XONXOFF" value="(0x0010)"/>
<define name="PCF_SETXCHAR" value="(0x0020)"/>
<define name="PCF_TOTALTIMEOUTS" value="(0x0040)"/>
<define name="PCF_INTTIMEOUTS" value="(0x0080)"/>
<define name="PCF_SPECIALCHARS" value="(0x0100)"/>
<define name="PCF_16BITMODE" value="(0x0200)"/>
<define name="SP_PARITY" value="(0x0001)"/>
<define name="SP_BAUD" value="(0x0002)"/>
<define name="SP_DATABITS" value="(0x0004)"/>
<define name="SP_STOPBITS" value="(0x0008)"/>
<define name="SP_HANDSHAKING" value="(0x0010)"/>
<define name="SP_PARITY_CHECK" value="(0x0020)"/>
<define name="SP_RLSD" value="(0x0040)"/>
<define name="BAUD_075" value="(0x00000001)"/>
<define name="BAUD_110" value="(0x00000002)"/>
<define name="BAUD_134_5" value="(0x00000004)"/>
<define name="BAUD_150" value="(0x00000008)"/>
<define name="BAUD_300" value="(0x00000010)"/>
<define name="BAUD_600" value="(0x00000020)"/>
<define name="BAUD_1200" value="(0x00000040)"/>
<define name="BAUD_1800" value="(0x00000080)"/>
<define name="BAUD_2400" value="(0x00000100)"/>
<define name="BAUD_4800" value="(0x00000200)"/>
<define name="BAUD_7200" value="(0x00000400)"/>
<define name="BAUD_9600" value="(0x00000800)"/>
<define name="BAUD_14400" value="(0x00001000)"/>
<define name="BAUD_19200" value="(0x00002000)"/>
<define name="BAUD_38400" value="(0x00004000)"/>
<define name="BAUD_56K" value="(0x00008000)"/>
<define name="BAUD_128K" value="(0x00010000)"/>
<define name="BAUD_115200" value="(0x00020000)"/>
<define name="BAUD_57600" value="(0x00040000)"/>
<define name="BAUD_USER" value="(0x10000000)"/>
<define name="DATABITS_5" value="(0x0001)"/>
<define name="DATABITS_6" value="(0x0002)"/>
<define name="DATABITS_7" value="(0x0004)"/>
<define name="DATABITS_8" value="(0x0008)"/>
<define name="DATABITS_16" value="(0x0010)"/>
<define name="DATABITS_16X" value="(0x0020)"/>
<define name="STOPBITS_10" value="(0x0001)"/>
<define name="STOPBITS_15" value="(0x0002)"/>
<define name="STOPBITS_20" value="(0x0004)"/>
<define name="PARITY_NONE" value="(0x0100)"/>
<define name="PARITY_ODD" value="(0x0200)"/>
<define name="PARITY_EVEN" value="(0x0400)"/>
<define name="PARITY_MARK" value="(0x0800)"/>
<define name="PARITY_SPACE" value="(0x1000)"/>
</def>