with Ada.Unchecked_Conversion; with Stdarg; with Win32.Windef; with Win32.Winnt;
package Win32.Winbase is
ac_CONTEXT_t
ac_FILETIME_t
ac_SYSTEMTIME_t
ac_TIME_ZONE_INFORMATION_t
BY_HANDLE_FILE_INFORMATION
COMMCONFIG
COMMPROP
COMMTIMEOUTS
COMSTAT
CREATE_PROCESS_DEBUG_INFO
CREATE_THREAD_DEBUG_INFO
DCB
DEBUG_EVENT
ENUMRESLANGPROC
ENUMRESNAMEPROC
ENUMRESTYPEPROC
EXCEPTION_DEBUG_INFO
EXIT_PROCESS_DEBUG_INFO
EXIT_THREAD_DEBUG_INFO
FILETIME
LOAD_DLL_DEBUG_INFO
LPBY_HANDLE_FILE_INFORMATION
LPCOMMCONFIG
LPCOMMPROP
LPCOMMTIMEOUTS
LPCOMSTAT
LPCONTEXT
LPCREATE_PROCESS_DEBUG_INFO
LPCREATE_THREAD_DEBUG_INFO
LPDCB
LPDEBUG_EVENT
LPEXCEPTION_DEBUG_INFO
LPEXCEPTION_POINTERS
LPEXCEPTION_RECORD
LPEXIT_PROCESS_DEBUG_INFO
LPEXIT_THREAD_DEBUG_INFO
LPLDT_ENTRY
LPLOAD_DLL_DEBUG_INFO
LPMEMORYSTATUS
LPOFSTRUCT
LPOSVERSIONINFO
LPOSVERSIONINFOA
LPOSVERSIONINFOW
LPOUTPUT_DEBUG_STRING_INFO
LPOVERLAPPED
LPOVERLAPPED_COMPLETION_ROUTINE
LPPROCESS_HEAP_ENTRY
LPRIP_INFO
LPSTARTUPINFO
LPSTARTUPINFOA
LPSTARTUPINFOW
LPSYSTEM_INFO
LPTHREAD_START_ROUTINE
LPTIME_ZONE_INFORMATION
LPTOP_LEVEL_EXCEPTION_FILTER
LPUNLOAD_DLL_DEBUG_INFO
LPWIN32_FILE_ATTRIBUTE_DATA
LPWIN32_FIND_DATA
LPWIN32_FIND_DATAA
LPWIN32_FIND_DATAW
LPWIN32_STREAM_ID
MEMORYSTATUS
OFSTRUCT
OSVERSIONINFOA
OSVERSIONINFOW
OUTPUT_DEBUG_STRING_INFO
OVERLAPPED
PBY_HANDLE_FILE_INFORMATION
PCHANDLE
PCRITICAL_SECTION
PCRITICAL_SECTION_DEBUG
PFILETIME
POFSTRUCT
POSVERSIONINFO
POSVERSIONINFOA
POSVERSIONINFOW
PPROCESS_HEAP_ENTRY
PPROCESS_INFORMATION
PROCESS_HEAP_ENTRY
PROCESS_INFORMATION
PSECURITY_ATTRIBUTES
PSYSTEMTIME
PTHREAD_START_ROUTINE
PTIME_ZONE_INFORMATION
PTOP_LEVEL_EXCEPTION_FILTER
PWIN32_FIND_DATA
PWIN32_FIND_DATAA
PWIN32_FIND_DATAW
RIP_INFO
SECURITY_ATTRIBUTES
STARTUPINFOA
STARTUPINFOW
struct_anonymous2_t
struct_anonymous3_t
SYSTEM_INFO
SYSTEMTIME
TIME_ZONE_INFORMATION
union_anonymous0_t
union_anonymous0_t_kind
union_anonymous4_t
union_anonymous4_t_kind
UNLOAD_DLL_DEBUG_INFO
WIN32_FILE_ATTRIBUTE_DATA
WIN32_FIND_DATAA
WIN32_FIND_DATAW
WIN32_STREAM_ID
BACKUP_ALTERNATE_DATA : constant := 16#4#;
BACKUP_DATA : constant := 16#1#;
BACKUP_EA_DATA : constant := 16#2#;
BACKUP_INVALID : constant := 16#0#;
BACKUP_LINK : constant := 16#5#;
BACKUP_PROPERTY_DATA : constant := 16#6#;
BACKUP_SECURITY_DATA : constant := 16#3#;
BAUD_075 : constant DWORD := 16#1#;
BAUD_110 : constant DWORD := 16#2#;
BAUD_115200 : constant DWORD := 16#20000#;
BAUD_1200 : constant DWORD := 16#40#;
BAUD_128K : constant DWORD := 16#10000#;
BAUD_134_5 : constant DWORD := 16#4#;
BAUD_14400 : constant DWORD := 16#1000#;
BAUD_150 : constant DWORD := 16#8#;
BAUD_1800 : constant DWORD := 16#80#;
BAUD_19200 : constant DWORD := 16#2000#;
BAUD_2400 : constant DWORD := 16#100#;
BAUD_300 : constant DWORD := 16#10#;
BAUD_38400 : constant DWORD := 16#4000#;
BAUD_4800 : constant DWORD := 16#200#;
BAUD_56K : constant DWORD := 16#8000#;
BAUD_57600 : constant DWORD := 16#40000#;
BAUD_600 : constant DWORD := 16#20#;
BAUD_7200 : constant DWORD := 16#400#;
BAUD_9600 : constant DWORD := 16#800#;
BAUD_USER : constant DWORD := 16#10000000#;
CBR_110 : constant := 110;
CBR_115200 : constant := 115200;
CBR_1200 : constant := 1200;
CBR_128000 : constant := 128000;
CBR_14400 : constant := 14400;
CBR_19200 : constant := 19200;
CBR_2400 : constant := 2400;
CBR_256000 : constant := 256000;
CBR_300 : constant := 300;
CBR_38400 : constant := 38400;
CBR_4800 : constant := 4800;
CBR_56000 : constant := 56000;
CBR_57600 : constant := 57600;
CBR_600 : constant := 600;
CBR_9600 : constant := 9600;
CE_BREAK : constant := 16#10#;
CE_DNS : constant := 16#800#;
CE_FRAME : constant := 16#8#;
CE_IOE : constant := 16#400#;
CE_MODE : constant := 16#8000#;
CE_OOP : constant := 16#1000#;
CE_OVERRUN : constant := 16#2#;
CE_PTO : constant := 16#200#;
CE_RXOVER : constant := 16#1#;
CE_RXPARITY : constant := 16#4#;
CE_TXFULL : constant := 16#100#;
CLRBREAK : constant := 9;
CLRDTR : constant := 6;
CLRRTS : constant := 4;
COMMPROP_INITIALIZED : constant DWORD := 16#e73cf52e#;
CREATE_ALWAYS : constant := 2;
CREATE_DEFAULT_ERROR_MODE : constant := 16#4000000#;
CREATE_NEW : constant := 1;
CREATE_NEW_CONSOLE : constant := 16#10#;
CREATE_NEW_PROCESS_GROUP : constant := 16#200#;
CREATE_NO_WINDOW : constant := 16#8000000#;
CREATE_PROCESS_DEBUG_EVENT : constant := 3;
CREATE_SEPARATE_WOW_VDM : constant := 16#800#;
CREATE_SUSPENDED : constant := 16#4#;
CREATE_THREAD_DEBUG_EVENT : constant := 2;
CREATE_UNICODE_ENVIRONMENT : constant := 16#400#;
DATABITS_16 : constant WORD := 16#10#;
DATABITS_16X : constant WORD := 16#20#;
DATABITS_5 : constant WORD := 16#1#;
DATABITS_6 : constant WORD := 16#2#;
DATABITS_7 : constant WORD := 16#4#;
DATABITS_8 : constant WORD := 16#8#;
DDD_EXACT_MATCH_ON_REMOVE : constant := 16#4#;
DDD_RAW_TARGET_PATH : constant := 16#1#;
DDD_REMOVE_DEFINITION : constant := 16#2#;
DEBUG_ONLY_THIS_PROCESS : constant := 16#2#;
DEBUG_PROCESS : constant := 16#1#;
DETACHED_PROCESS : constant := 16#8#;
DONT_RESOLVE_DLL_REFERENCES : constant := 16#1#;
DRIVE_CDROM : constant := 5;
DRIVE_FIXED : constant := 3;
DRIVE_NO_ROOT_DIR : constant := 1;
DRIVE_RAMDISK : constant := 6;
DRIVE_REMOTE : constant := 4;
DRIVE_REMOVABLE : constant := 2;
DRIVE_UNKNOWN : constant := 0;
DTR_CONTROL_DISABLE : constant := 16#0#;
DTR_CONTROL_ENABLE : constant := 16#1#;
DTR_CONTROL_HANDSHAKE : constant := 16#2#;
EV_BREAK : constant := 16#40#;
EV_CTS : constant := 16#8#;
EV_DSR : constant := 16#10#;
EV_ERR : constant := 16#80#;
EV_EVENT1 : constant := 16#800#;
EV_EVENT2 : constant := 16#1000#;
EV_PERR : constant := 16#200#;
EV_RING : constant := 16#100#;
EV_RLSD : constant := 16#20#;
EV_RX80FULL : constant := 16#400#;
EV_RXCHAR : constant := 16#1#;
EV_RXFLAG : constant := 16#2#;
EV_TXEMPTY : constant := 16#4#;
EVENPARITY : constant := 2;
EXCEPTION_DEBUG_EVENT : constant := 1;
EXIT_PROCESS_DEBUG_EVENT : constant := 5;
EXIT_THREAD_DEBUG_EVENT : constant := 4;
FILE_BEGIN : constant := 0;
FILE_CURRENT : constant := 1;
FILE_END : constant := 2;
FILE_FLAG_BACKUP_SEMANTICS : constant := 16#2000000#;
FILE_FLAG_DELETE_ON_CLOSE : constant := 16#4000000#;
FILE_FLAG_NO_BUFFERING : constant := 16#20000000#;
FILE_FLAG_OVERLAPPED : constant := 16#40000000#;
FILE_FLAG_POSIX_SEMANTICS : constant := 16#1000000#;
FILE_FLAG_RANDOM_ACCESS : constant := 16#10000000#;
FILE_FLAG_SEQUENTIAL_SCAN : constant := 16#8000000#;
FILE_FLAG_WRITE_THROUGH : constant := 16#80000000#;
FILE_MAP_ALL_ACCESS : constant := 16#f001f#;
FILE_MAP_COPY : constant := 16#1#;
FILE_MAP_READ : constant := 16#4#;
FILE_MAP_WRITE : constant := 16#2#;
FILE_TYPE_CHAR : constant := 16#2#;
FILE_TYPE_DISK : constant := 16#1#;
FILE_TYPE_PIPE : constant := 16#3#;
FILE_TYPE_REMOTE : constant := 16#8000#;
FILE_TYPE_UNKNOWN : constant := 16#0#;
FORMAT_MESSAGE_ALLOCATE_BUFFER : constant := 16#100#;
FORMAT_MESSAGE_ARGUMENT_ARRAY : constant := 16#2000#;
FORMAT_MESSAGE_FROM_HMODULE : constant := 16#800#;
FORMAT_MESSAGE_FROM_STRING : constant := 16#400#;
FORMAT_MESSAGE_FROM_SYSTEM : constant := 16#1000#;
FORMAT_MESSAGE_IGNORE_INSERTS : constant := 16#200#;
FORMAT_MESSAGE_MAX_WIDTH_MASK : constant := 16#ff#;
FS_CASE_IS_PRESERVED : constant := 16#2#;
FS_CASE_SENSITIVE : constant := 16#1#;
FS_FILE_COMPRESSION : constant := 16#10#;
FS_PERSISTENT_ACLS : constant := 16#8#;
FS_UNICODE_STORED_ON_DISK : constant := 16#4#;
FS_VOL_IS_COMPRESSED : constant := 16#8000#;
GET_TAPE_DRIVE_INFORMATION : constant := 1;
GET_TAPE_MEDIA_INFORMATION : constant := 0;
GetFileExInfoStandard : constant := 0;
GHND : constant := 16#42#;
GMEM_DDESHARE : constant := 16#2000#;
GMEM_DISCARDABLE : constant := 16#100#;
GMEM_DISCARDED : constant := 16#4000#;
GMEM_FIXED : constant := 16#0#;
GMEM_INVALID_HANDLE : constant := 16#8000#;
GMEM_LOCKCOUNT : constant := 16#ff#;
GMEM_LOWER : constant := 16#1000#;
GMEM_MODIFY : constant := 16#80#;
GMEM_MOVEABLE : constant := 16#2#;
GMEM_NOCOMPACT : constant := 16#10#;
GMEM_NODISCARD : constant := 16#20#;
GMEM_NOT_BANKED : constant := 16#1000#;
GMEM_NOTIFY : constant := 16#4000#;
GMEM_SHARE : constant := 16#2000#;
GMEM_VALID_FLAGS : constant := 16#7f72#;
GMEM_ZEROINIT : constant := 16#40#;
GPTR : constant := 16#40#;
HANDLE_FLAG_INHERIT : constant := 16#1#;
HANDLE_FLAG_PROTECT_FROM_CLOSE : constant := 16#2#;
HIGH_PRIORITY_CLASS : constant := 16#80#;
HINSTANCE_ERROR : constant := 32;
IDLE_PRIORITY_CLASS : constant := 16#40#;
IE_BADID : constant := -1;
IE_BAUDRATE : constant := -12;
IE_BYTESIZE : constant := -11;
IE_DEFAULT : constant := -5;
IE_HARDWARE : constant := -10;
IE_MEMORY : constant := -4;
IE_NOPEN : constant := -3;
IE_OPEN : constant := -2;
IGNORE : constant := 0;
INFINITE : constant := 16#ffffffff#;
INVALID_ATOM : constant Win32.Windef.ATOM := 0;
INVALID_FILE_SIZE : constant DWORD := 16#ffffffff#;
INVALID_HANDLE_VALUE : constant Win32.Winnt.HANDLE;
LHND : constant := 16#42#;
LMEM_DISCARDABLE : constant := 16#f00#;
LMEM_DISCARDED : constant := 16#4000#;
LMEM_FIXED : constant := 16#0#;
LMEM_INVALID_HANDLE : constant := 16#8000#;
LMEM_LOCKCOUNT : constant := 16#ff#;
LMEM_MODIFY : constant := 16#80#;
LMEM_MOVEABLE : constant := 16#2#;
LMEM_NOCOMPACT : constant := 16#10#;
LMEM_NODISCARD : constant := 16#20#;
LMEM_VALID_FLAGS : constant := 16#f72#;
LMEM_ZEROINIT : constant := 16#40#;
LOAD_DLL_DEBUG_EVENT : constant := 6;
LOAD_LIBRARY_AS_DATAFILE : constant := 16#2#;
LOAD_WITH_ALTERED_SEARCH_PATH : constant := 16#8#;
LOCKFILE_EXCLUSIVE_LOCK : constant := 16#2#;
LOCKFILE_FAIL_IMMEDIATELY : constant := 16#1#;
LPTR : constant := 16#40#;
LPTX : constant := 16#80#;
MARKPARITY : constant := 3;
MAX_COMPUTERNAME_LENGTH : constant := 15;
MAXINTATOM : constant := 16#c000#;
MOVEFILE_COPY_ALLOWED : constant := 16#2#;
MOVEFILE_DELAY_UNTIL_REBOOT : constant := 16#4#;
MOVEFILE_REPLACE_EXISTING : constant := 16#1#;
MS_CTS_ON : constant DWORD := 16#10#;
MS_DSR_ON : constant DWORD := 16#20#;
MS_RING_ON : constant DWORD := 16#40#;
MS_RLSD_ON : constant DWORD := 16#80#;
MUTEX_ALL_ACCESS : constant := 16#1f0001#;
MUTEX_MODIFY_STATE : constant := 16#1#;
NMPWAIT_NOWAIT : constant := 16#1#;
NMPWAIT_USE_DEFAULT_WAIT : constant := 16#0#;
NMPWAIT_WAIT_FOREVER : constant := 16#ffffffff#;
NONZEROLHND : constant := 16#2#;
NONZEROLPTR : constant := 16#0#;
NOPARITY : constant := 0;
NORMAL_PRIORITY_CLASS : constant := 16#20#;
ODDPARITY : constant := 1;
OF_CANCEL : constant := 16#800#;
OF_CREATE : constant := 16#1000#;
OF_DELETE : constant := 16#200#;
OF_EXIST : constant := 16#4000#;
OF_PARSE : constant := 16#100#;
OF_PROMPT : constant := 16#2000#;
OF_READ : constant := 16#0#;
OF_READWRITE : constant := 16#2#;
OF_REOPEN : constant := 16#8000#;
OF_SHARE_COMPAT : constant := 16#0#;
OF_SHARE_DENY_NONE : constant := 16#40#;
OF_SHARE_DENY_READ : constant := 16#30#;
OF_SHARE_DENY_WRITE : constant := 16#20#;
OF_SHARE_EXCLUSIVE : constant := 16#10#;
OF_VERIFY : constant := 16#400#;
OF_WRITE : constant := 16#1#;
OFS_MAXPATHNAME : constant := 128;
ONE5STOPBITS : constant := 1;
ONESTOPBIT : constant := 0;
OPEN_ALWAYS : constant := 4;
OPEN_EXISTING : constant := 3;
OUTPUT_DEBUG_STRING_EVENT : constant := 8;
PARITY_EVEN : constant WORD := 16#400#;
PARITY_MARK : constant WORD := 16#800#;
PARITY_NONE : constant WORD := 16#100#;
PARITY_ODD : constant WORD := 16#200#;
PARITY_SPACE : constant WORD := 16#1000#;
PCF_16BITMODE : constant DWORD := 16#200#;
PCF_DTRDSR : constant DWORD := 16#1#;
PCF_INTTIMEOUTS : constant DWORD := 16#80#;
PCF_PARITY_CHECK : constant DWORD := 16#8#;
PCF_RLSD : constant DWORD := 16#4#;
PCF_RTSCTS : constant DWORD := 16#2#;
PCF_SETXCHAR : constant DWORD := 16#20#;
PCF_SPECIALCHARS : constant DWORD := 16#100#;
PCF_TOTALTIMEOUTS : constant DWORD := 16#40#;
PCF_XONXOFF : constant DWORD := 16#10#;
PIPE_ACCESS_DUPLEX : constant := 16#3#;
PIPE_ACCESS_INBOUND : constant := 16#1#;
PIPE_ACCESS_OUTBOUND : constant := 16#2#;
PIPE_CLIENT_END : constant := 16#0#;
PIPE_NOWAIT : constant := 16#1#;
PIPE_READMODE_BYTE : constant := 16#0#;
PIPE_READMODE_MESSAGE : constant := 16#2#;
PIPE_SERVER_END : constant := 16#1#;
PIPE_TYPE_BYTE : constant := 16#0#;
PIPE_TYPE_MESSAGE : constant := 16#4#;
PIPE_UNLIMITED_INSTANCES : constant := 255;
PIPE_WAIT : constant := 16#0#;
PROCESS_HEAP_ENTRY_BUSY : constant := 16#4#;
PROCESS_HEAP_ENTRY_DDESHARE : constant := 16#20#;
PROCESS_HEAP_ENTRY_MOVEABLE : constant := 16#10#;
PROCESS_HEAP_REGION : constant := 16#1#;
PROCESS_HEAP_UNCOMMITTED_RANGE : constant := 16#2#;
PST_FAX : constant DWORD := 16#21#;
PST_LAT : constant DWORD := 16#101#;
PST_MODEM : constant DWORD := 16#6#;
PST_NETWORK_BRIDGE : constant DWORD := 16#100#;
PST_PARALLELPORT : constant DWORD := 16#2#;
PST_RS232 : constant DWORD := 16#1#;
PST_RS422 : constant DWORD := 16#3#;
PST_RS423 : constant DWORD := 16#4#;
PST_RS449 : constant DWORD := 16#5#;
PST_SCANNER : constant DWORD := 16#22#;
PST_TCPIP_TELNET : constant DWORD := 16#102#;
PST_UNSPECIFIED : constant DWORD := 16#0#;
PST_X25 : constant DWORD := 16#103#;
PURGE_RXABORT : constant := 16#2#;
PURGE_RXCLEAR : constant := 16#8#;
PURGE_TXABORT : constant := 16#1#;
PURGE_TXCLEAR : constant := 16#4#;
REALTIME_PRIORITY_CLASS : constant := 16#100#;
RESETDEV : constant := 7;
RIP_EVENT : constant := 9;
RTS_CONTROL_DISABLE : constant := 16#0#;
RTS_CONTROL_ENABLE : constant := 16#1#;
RTS_CONTROL_HANDSHAKE : constant := 16#2#;
RTS_CONTROL_TOGGLE : constant := 16#3#;
S_ALLTHRESHOLD : constant := 2;
S_LEGATO : constant := 1;
S_NORMAL : constant := 0;
S_PERIOD1024 : constant := 1;
S_PERIOD2048 : constant := 2;
S_PERIOD512 : constant := 0;
S_PERIODVOICE : constant := 3;
S_QUEUEEMPTY : constant := 0;
S_SERBDNT : constant := -5;
S_SERDCC : constant := -7;
S_SERDDR : constant := -14;
S_SERDFQ : constant := -13;
S_SERDLN : constant := -6;
S_SERDMD : constant := -10;
S_SERDPT : constant := -12;
S_SERDSH : constant := -11;
S_SERDSR : constant := -15;
S_SERDST : constant := -16;
S_SERDTP : constant := -8;
S_SERDVL : constant := -9;
S_SERDVNA : constant := -1;
S_SERMACT : constant := -3;
S_SEROFM : constant := -2;
S_SERQFUL : constant := -4;
S_STACCATO : constant := 2;
S_THRESHOLD : constant := 1;
S_WHITE1024 : constant := 5;
S_WHITE2048 : constant := 6;
S_WHITE512 : constant := 4;
S_WHITEVOICE : constant := 7;
SCS_32BIT_BINARY : constant := 0;
SCS_DOS_BINARY : constant := 1;
SCS_OS216_BINARY : constant := 5;
SCS_PIF_BINARY : constant := 3;
SCS_POSIX_BINARY : constant := 4;
SCS_WOW_BINARY : constant := 2;
SECURITY_ANONYMOUS : constant := Win32.Winnt. SECURITY_IMPERSONATION_LEVEL'Pos (Win32.Winnt.SecurityAnonymous) * 2 ** 16;
SECURITY_CONTEXT_TRACKING : constant := 16#40000#;
SECURITY_DELEGATION : constant := Win32.Winnt. SECURITY_IMPERSONATION_LEVEL'Pos (Win32.Winnt.SecurityDelegation) * 2 ** 16;
SECURITY_EFFECTIVE_ONLY : constant := 16#80000#;
SECURITY_IDENTIFICATION : constant := Win32.Winnt. SECURITY_IMPERSONATION_LEVEL'Pos (Win32.Winnt.SecurityIdentification) * 2 ** 16;
SECURITY_IMPERSONATION : constant := Win32.Winnt. SECURITY_IMPERSONATION_LEVEL'Pos (Win32.Winnt.SecurityImpersonation) * 2 ** 16;
SECURITY_SQOS_PRESENT : constant := 16#100000#;
SECURITY_VALID_SQOS_FLAGS : constant := 16#1f0000#;
SEM_FAILCRITICALERRORS : constant := 16#1#;
SEM_NOALIGNMENTFAULTEXCEPT : constant := 16#4#;
SEM_NOGPFAULTERRORBOX : constant := 16#2#;
SEM_NOOPENFILEERRORBOX : constant := 16#8000#;
SET_TAPE_DRIVE_INFORMATION : constant := 1;
SET_TAPE_MEDIA_INFORMATION : constant := 0;
SETBREAK : constant := 8;
SETDTR : constant := 5;
SETRTS : constant := 3;
SETXOFF : constant := 1;
SETXON : constant := 2;
SHUTDOWN_NORETRY : constant := 16#1#;
SP_BAUD : constant DWORD := 16#2#;
SP_DATABITS : constant DWORD := 16#4#;
SP_HANDSHAKING : constant DWORD := 16#10#;
SP_PARITY : constant DWORD := 16#1#;
SP_PARITY_CHECK : constant DWORD := 16#20#;
SP_RLSD : constant DWORD := 16#40#;
SP_SERIALCOMM : constant DWORD := 16#1#;
SP_STOPBITS : constant DWORD := 16#8#;
SPACEPARITY : constant := 4;
STARTF_FORCEOFFFEEDBACK : constant := 16#80#;
STARTF_FORCEONFEEDBACK : constant := 16#40#;
STARTF_RUNFULLSCREEN : constant := 16#20#;
STARTF_USECOUNTCHARS : constant := 16#8#;
STARTF_USEFILLATTRIBUTE : constant := 16#10#;
STARTF_USEPOSITION : constant := 16#4#;
STARTF_USESHOWWINDOW : constant := 16#1#;
STARTF_USESIZE : constant := 16#2#;
STARTF_USESTDHANDLES : constant := 16#100#;
STD_ERROR_HANDLE : constant DWORD := To_DWORD (-12);
STD_INPUT_HANDLE : constant DWORD := To_DWORD (-10);
STD_OUTPUT_HANDLE : constant DWORD := To_DWORD (-11);
STOPBITS_10 : constant WORD := 16#1#;
STOPBITS_15 : constant WORD := 16#2#;
STOPBITS_20 : constant WORD := 16#4#;
STREAM_CONTAINS_PROPERTIES : constant := 16#4#;
STREAM_CONTAINS_SECURITY : constant := 16#2#;
STREAM_MODIFIED_WHEN_READ : constant := 16#1#;
STREAM_NORMAL_ATTRIBUTE : constant := 16#0#;
TC_GP_TRAP : constant := 2;
TC_HARDERR : constant := 1;
TC_NORMAL : constant := 0;
TC_SIGNAL : constant := 3;
THREAD_PRIORITY_ABOVE_NORMAL : constant := 1;
THREAD_PRIORITY_BELOW_NORMAL : constant := -1;
THREAD_PRIORITY_ERROR_RETURN : constant := 16#7fffffff#;
THREAD_PRIORITY_HIGHEST : constant := 2;
THREAD_PRIORITY_IDLE : constant := -15;
THREAD_PRIORITY_LOWEST : constant := -2;
THREAD_PRIORITY_NORMAL : constant := 0;
THREAD_PRIORITY_TIME_CRITICAL : constant := 15;
TIME_ZONE_ID_INVALID : constant DWORD := 16#ffffffff#;
TLS_OUT_OF_INDEXES : constant DWORD := 16#ffffffff#;
TRUNCATE_EXISTING : constant := 5;
TWOSTOPBITS : constant := 2;
UNLOAD_DLL_DEBUG_EVENT : constant := 7;
VER_PLATFORM_WIN32_NT : constant := 2;
VER_PLATFORM_WIN32S : constant := 0;
WAIT_FAILED : constant DWORD := 16#ffffffff#;
CONTROL_C_EXIT : DWORD renames Win32.Winnt.STATUS_CONTROL_C_EXIT;
EXCEPTION_ACCESS_VIOLATION : DWORD renames Win32.Winnt.STATUS_ACCESS_VIOLATION;
EXCEPTION_ARRAY_BOUNDS_EXCEEDED : DWORD renames Win32.Winnt. STATUS_ARRAY_BOUNDS_EXCEEDED;
EXCEPTION_BREAKPOINT : DWORD renames Win32.Winnt. STATUS_BREAKPOINT;
EXCEPTION_DATATYPE_MISALIGNMENT : DWORD renames Win32.Winnt. STATUS_DATATYPE_MISALIGNMENT;
EXCEPTION_FLT_DENORMAL_OPERAND : DWORD renames Win32.Winnt. STATUS_FLOAT_DENORMAL_OPERAND;
EXCEPTION_FLT_DIVIDE_BY_ZERO : DWORD renames Win32.Winnt.STATUS_FLOAT_DIVIDE_BY_ZERO;
EXCEPTION_FLT_INEXACT_RESULT : DWORD renames Win32.Winnt.STATUS_FLOAT_INEXACT_RESULT;
EXCEPTION_FLT_INVALID_OPERATION : DWORD renames Win32.Winnt. STATUS_FLOAT_INVALID_OPERATION;
EXCEPTION_FLT_OVERFLOW : DWORD renames Win32.Winnt.STATUS_FLOAT_OVERFLOW;
EXCEPTION_FLT_STACK_CHECK : DWORD renames Win32.Winnt.STATUS_FLOAT_STACK_CHECK;
EXCEPTION_FLT_UNDERFLOW : DWORD renames Win32.Winnt.STATUS_FLOAT_UNDERFLOW;
EXCEPTION_GUARD_PAGE : DWORD renames Win32.Winnt.STATUS_GUARD_PAGE_VIOLATION;
EXCEPTION_ILLEGAL_INSTRUCTION : DWORD renames Win32.Winnt.STATUS_ILLEGAL_INSTRUCTION;
EXCEPTION_IN_PAGE_ERROR : DWORD renames Win32.Winnt.STATUS_IN_PAGE_ERROR;
EXCEPTION_INT_DIVIDE_BY_ZERO : DWORD renames Win32.Winnt. STATUS_INTEGER_DIVIDE_BY_ZERO;
EXCEPTION_INT_OVERFLOW : DWORD renames Win32.Winnt.STATUS_INTEGER_OVERFLOW;
EXCEPTION_INVALID_DISPOSITION : DWORD renames Win32.Winnt.STATUS_INVALID_DISPOSITION;
EXCEPTION_NONCONTINUABLE_EXCEPTION : DWORD renames Win32.Winnt. STATUS_NONCONTINUABLE_EXCEPTION;
EXCEPTION_PRIV_INSTRUCTION : DWORD renames Win32.Winnt. STATUS_PRIVILEGED_INSTRUCTION;
EXCEPTION_SINGLE_STEP : DWORD renames Win32.Winnt.STATUS_SINGLE_STEP;
EXCEPTION_STACK_OVERFLOW : DWORD renames Win32.Winnt.STATUS_STACK_OVERFLOW;
STILL_ACTIVE : DWORD renames Win32.Winnt.STATUS_PENDING;
WAIT_ABANDONED : DWORD renames Win32.Winnt.STATUS_ABANDONED_WAIT_0;
WAIT_ABANDONED_0 : DWORD renames Win32.Winnt.STATUS_ABANDONED_WAIT_0;
WAIT_IO_COMPLETION : DWORD renames Win32.Winnt.STATUS_USER_APC;
WAIT_OBJECT_0 : DWORD renames Win32.Winnt.STATUS_WAIT_0;
WAIT_TIMEOUT : DWORD renames Win32.Winnt.STATUS_TIMEOUT;
function To_DWORD is new Ada.Unchecked_Conversion (LONG, DWORD);
use type Interfaces.C.long;
type OVERLAPPED; -- Full declaration: OVERLAPPED
type SECURITY_ATTRIBUTES; -- Full declaration: SECURITY_ATTRIBUTES
type PROCESS_INFORMATION; -- Full declaration: PROCESS_INFORMATION
type FILETIME; -- Full declaration: FILETIME
type SYSTEMTIME; -- Full declaration: SYSTEMTIME
type COMMPROP; -- Full declaration: COMMPROP
type COMMTIMEOUTS; -- Full declaration: COMMTIMEOUTS
type COMMCONFIG; -- Full declaration: COMMCONFIG
type SYSTEM_INFO; -- Full declaration: SYSTEM_INFO
type MEMORYSTATUS; -- Full declaration: MEMORYSTATUS
type EXCEPTION_DEBUG_INFO; -- Full declaration: EXCEPTION_DEBUG_INFO
type CREATE_THREAD_DEBUG_INFO; -- Full declaration: CREATE_THREAD_DEBUG_INFO
type CREATE_PROCESS_DEBUG_INFO; -- Full declaration: CREATE_PROCESS_DEBUG_INFO
type EXIT_THREAD_DEBUG_INFO; -- Full declaration: EXIT_THREAD_DEBUG_INFO
type EXIT_PROCESS_DEBUG_INFO; -- Full declaration: EXIT_PROCESS_DEBUG_INFO
type LOAD_DLL_DEBUG_INFO; -- Full declaration: LOAD_DLL_DEBUG_INFO
type UNLOAD_DLL_DEBUG_INFO; -- Full declaration: UNLOAD_DLL_DEBUG_INFO
type OUTPUT_DEBUG_STRING_INFO; -- Full declaration: OUTPUT_DEBUG_STRING_INFO
type RIP_INFO; -- Full declaration: RIP_INFO
type union_anonymous0_t; -- Full declaration: union_anonymous0_t
type DEBUG_EVENT; -- Full declaration: DEBUG_EVENT
type OFSTRUCT; -- Full declaration: OFSTRUCT
type struct_anonymous2_t; -- Full declaration: struct_anonymous2_t
type struct_anonymous3_t; -- Full declaration: struct_anonymous3_t
type union_anonymous4_t; -- Full declaration: union_anonymous4_t pragma Convention (c_pass_by_copy, union_anonymous4_t);
type PROCESS_HEAP_ENTRY; -- Full declaration: PROCESS_HEAP_ENTRY
type BY_HANDLE_FILE_INFORMATION; -- Full declaration: BY_HANDLE_FILE_INFORMATION
type TIME_ZONE_INFORMATION; -- Full declaration: TIME_ZONE_INFORMATION
type WIN32_STREAM_ID; -- Full declaration: WIN32_STREAM_ID
type STARTUPINFOA; -- Full declaration: STARTUPINFOA
type STARTUPINFOW; -- Full declaration: STARTUPINFOW
type WIN32_FIND_DATAA; -- Full declaration: WIN32_FIND_DATAA
type WIN32_FIND_DATAW; -- Full declaration: WIN32_FIND_DATAW