Package: Win32.Winbase

Dependencies

with Ada.Unchecked_Conversion;

with Stdarg;

with Win32.Windef;

with Win32.Winnt;

Header

package Win32.Winbase is
 

Type Summary

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

Constants and Named Numbers

BACKUP_ALTERNATE_DATA : constant := 16#4#;
winbase.h :3299
BACKUP_DATA : constant := 16#1#;
winbase.h :3296
BACKUP_EA_DATA : constant := 16#2#;
winbase.h :3297
BACKUP_INVALID : constant := 16#0#;
winbase.h :3295
BACKUP_LINK : constant := 16#5#;
winbase.h :3300
BACKUP_PROPERTY_DATA : constant := 16#6#;
winbase.h :3301
BACKUP_SECURITY_DATA : constant := 16#3#;
winbase.h :3298
BAUD_075 : constant DWORD := 16#1#;
winbase.h :302
BAUD_110 : constant DWORD := 16#2#;
winbase.h :303
BAUD_115200 : constant DWORD := 16#20000#;
winbase.h :319
BAUD_1200 : constant DWORD := 16#40#;
winbase.h :308
BAUD_128K : constant DWORD := 16#10000#;
winbase.h :318
BAUD_134_5 : constant DWORD := 16#4#;
winbase.h :304
BAUD_14400 : constant DWORD := 16#1000#;
winbase.h :314
BAUD_150 : constant DWORD := 16#8#;
winbase.h :305
BAUD_1800 : constant DWORD := 16#80#;
winbase.h :309
BAUD_19200 : constant DWORD := 16#2000#;
winbase.h :315
BAUD_2400 : constant DWORD := 16#100#;
winbase.h :310
BAUD_300 : constant DWORD := 16#10#;
winbase.h :306
BAUD_38400 : constant DWORD := 16#4000#;
winbase.h :316
BAUD_4800 : constant DWORD := 16#200#;
winbase.h :311
BAUD_56K : constant DWORD := 16#8000#;
winbase.h :317
BAUD_57600 : constant DWORD := 16#40000#;
winbase.h :320
BAUD_600 : constant DWORD := 16#20#;
winbase.h :307
BAUD_7200 : constant DWORD := 16#400#;
winbase.h :312
BAUD_9600 : constant DWORD := 16#800#;
winbase.h :313
BAUD_USER : constant DWORD := 16#10000000#;
winbase.h :321
CBR_110 : constant := 110;
winbase.h :698
CBR_115200 : constant := 115200;
winbase.h :710
CBR_1200 : constant := 1200;
winbase.h :701
CBR_128000 : constant := 128000;
winbase.h :711
CBR_14400 : constant := 14400;
winbase.h :705
CBR_19200 : constant := 19200;
winbase.h :706
CBR_2400 : constant := 2400;
winbase.h :702
CBR_256000 : constant := 256000;
winbase.h :712
CBR_300 : constant := 300;
winbase.h :699
CBR_38400 : constant := 38400;
winbase.h :707
CBR_4800 : constant := 4800;
winbase.h :703
CBR_56000 : constant := 56000;
winbase.h :708
CBR_57600 : constant := 57600;
winbase.h :709
CBR_600 : constant := 600;
winbase.h :700
CBR_9600 : constant := 9600;
winbase.h :704
CE_BREAK : constant := 16#10#;
winbase.h :722
CE_DNS : constant := 16#800#;
winbase.h :726
CE_FRAME : constant := 16#8#;
winbase.h :721
CE_IOE : constant := 16#400#;
winbase.h :725
CE_MODE : constant := 16#8000#;
winbase.h :728
CE_OOP : constant := 16#1000#;
winbase.h :727
CE_OVERRUN : constant := 16#2#;
winbase.h :719
CE_PTO : constant := 16#200#;
winbase.h :724
CE_RXOVER : constant := 16#1#;
winbase.h :718
CE_RXPARITY : constant := 16#4#;
winbase.h :720
CE_TXFULL : constant := 16#100#;
winbase.h :723
CLRBREAK : constant := 9;
winbase.h :769
CLRDTR : constant := 6;
winbase.h :766
CLRRTS : constant := 4;
winbase.h :764
COMMPROP_INITIALIZED : constant DWORD := 16#e73cf52e#;
winbase.h :372
CREATE_ALWAYS : constant := 2;
winbase.h :117
CREATE_DEFAULT_ERROR_MODE : constant := 16#4000000#;
winbase.h :554
CREATE_NEW : constant := 1;
winbase.h :116
CREATE_NEW_CONSOLE : constant := 16#10#;
winbase.h :542
CREATE_NEW_PROCESS_GROUP : constant := 16#200#;
winbase.h :549
CREATE_NO_WINDOW : constant := 16#8000000#;
winbase.h :555
CREATE_PROCESS_DEBUG_EVENT : constant := 3;
winbase.h :572
CREATE_SEPARATE_WOW_VDM : constant := 16#800#;
winbase.h :552
CREATE_SUSPENDED : constant := 16#4#;
winbase.h :538
CREATE_THREAD_DEBUG_EVENT : constant := 2;
winbase.h :571
CREATE_UNICODE_ENVIRONMENT : constant := 16#400#;
winbase.h :550
DATABITS_16 : constant WORD := 16#10#;
winbase.h :331
DATABITS_16X : constant WORD := 16#20#;
winbase.h :332
DATABITS_5 : constant WORD := 16#1#;
winbase.h :327
DATABITS_6 : constant WORD := 16#2#;
winbase.h :328
DATABITS_7 : constant WORD := 16#4#;
winbase.h :329
DATABITS_8 : constant WORD := 16#8#;
winbase.h :330
DDD_EXACT_MATCH_ON_REMOVE : constant := 16#4#;
winbase.h :4694
DDD_RAW_TARGET_PATH : constant := 16#1#;
winbase.h :4692
DDD_REMOVE_DEFINITION : constant := 16#2#;
winbase.h :4693
DEBUG_ONLY_THIS_PROCESS : constant := 16#2#;
winbase.h :536
DEBUG_PROCESS : constant := 16#1#;
winbase.h :535
DETACHED_PROCESS : constant := 16#8#;
winbase.h :540
DONT_RESOLVE_DLL_REFERENCES : constant := 16#1#;
winbase.h :3656
DRIVE_CDROM : constant := 5;
winbase.h :663
DRIVE_FIXED : constant := 3;
winbase.h :661
DRIVE_NO_ROOT_DIR : constant := 1;
winbase.h :659
DRIVE_RAMDISK : constant := 6;
winbase.h :664
DRIVE_REMOTE : constant := 4;
winbase.h :662
DRIVE_REMOVABLE : constant := 2;
winbase.h :660
DRIVE_UNKNOWN : constant := 0;
winbase.h :658
DTR_CONTROL_DISABLE : constant := 16#0#;
winbase.h :390
DTR_CONTROL_ENABLE : constant := 16#1#;
winbase.h :391
DTR_CONTROL_HANDSHAKE : constant := 16#2#;
winbase.h :392
EV_BREAK : constant := 16#40#;
winbase.h :749
EV_CTS : constant := 16#8#;
winbase.h :746
EV_DSR : constant := 16#10#;
winbase.h :747
EV_ERR : constant := 16#80#;
winbase.h :750
EV_EVENT1 : constant := 16#800#;
winbase.h :754
EV_EVENT2 : constant := 16#1000#;
winbase.h :755
EV_PERR : constant := 16#200#;
winbase.h :752
EV_RING : constant := 16#100#;
winbase.h :751
EV_RLSD : constant := 16#20#;
winbase.h :748
EV_RX80FULL : constant := 16#400#;
winbase.h :753
EV_RXCHAR : constant := 16#1#;
winbase.h :743
EV_RXFLAG : constant := 16#2#;
winbase.h :744
EV_TXEMPTY : constant := 16#4#;
winbase.h :745
EVENPARITY : constant := 2;
winbase.h :683
EXCEPTION_DEBUG_EVENT : constant := 1;
winbase.h :570
EXIT_PROCESS_DEBUG_EVENT : constant := 5;
winbase.h :574
EXIT_THREAD_DEBUG_EVENT : constant := 4;
winbase.h :573
FILE_BEGIN : constant := 0;
winbase.h :60
FILE_CURRENT : constant := 1;
winbase.h :61
FILE_END : constant := 2;
winbase.h :62
FILE_FLAG_BACKUP_SEMANTICS : constant := 16#2000000#;
winbase.h :113
FILE_FLAG_DELETE_ON_CLOSE : constant := 16#4000000#;
winbase.h :112
FILE_FLAG_NO_BUFFERING : constant := 16#20000000#;
winbase.h :109
FILE_FLAG_OVERLAPPED : constant := 16#40000000#;
winbase.h :108
FILE_FLAG_POSIX_SEMANTICS : constant := 16#1000000#;
winbase.h :114
FILE_FLAG_RANDOM_ACCESS : constant := 16#10000000#;
winbase.h :110
FILE_FLAG_SEQUENTIAL_SCAN : constant := 16#8000000#;
winbase.h :111
FILE_FLAG_WRITE_THROUGH : constant := 16#80000000#;
winbase.h :107
FILE_MAP_ALL_ACCESS : constant := 16#f001f#;
winbase.h :854
FILE_MAP_COPY : constant := 16#1#;
winbase.h :851
FILE_MAP_READ : constant := 16#4#;
winbase.h :853
FILE_MAP_WRITE : constant := 16#2#;
winbase.h :852
FILE_TYPE_CHAR : constant := 16#2#;
winbase.h :672
FILE_TYPE_DISK : constant := 16#1#;
winbase.h :671
FILE_TYPE_PIPE : constant := 16#3#;
winbase.h :673
FILE_TYPE_REMOTE : constant := 16#8000#;
winbase.h :674
FILE_TYPE_UNKNOWN : constant := 16#0#;
winbase.h :670
FORMAT_MESSAGE_ALLOCATE_BUFFER : constant := 16#100#;
winbase.h :2794
FORMAT_MESSAGE_ARGUMENT_ARRAY : constant := 16#2000#;
winbase.h :2799
FORMAT_MESSAGE_FROM_HMODULE : constant := 16#800#;
winbase.h :2797
FORMAT_MESSAGE_FROM_STRING : constant := 16#400#;
winbase.h :2796
FORMAT_MESSAGE_FROM_SYSTEM : constant := 16#1000#;
winbase.h :2798
FORMAT_MESSAGE_IGNORE_INSERTS : constant := 16#200#;
winbase.h :2795
FORMAT_MESSAGE_MAX_WIDTH_MASK : constant := 16#ff#;
winbase.h :2800
FS_CASE_IS_PRESERVED : constant := 16#2#;
winbase.h :839
FS_CASE_SENSITIVE : constant := 16#1#;
winbase.h :840
FS_FILE_COMPRESSION : constant := 16#10#;
winbase.h :844
FS_PERSISTENT_ACLS : constant := 16#8#;
winbase.h :842
FS_UNICODE_STORED_ON_DISK : constant := 16#4#;
winbase.h :841
FS_VOL_IS_COMPRESSED : constant := 16#8000#;
winbase.h :843
GET_TAPE_DRIVE_INFORMATION : constant := 1;
winbase.h :2453
GET_TAPE_MEDIA_INFORMATION : constant := 0;
winbase.h :2452
GetFileExInfoStandard : constant := 0;
GHND : constant := 16#42#;
winbase.h :486
GMEM_DDESHARE : constant := 16#2000#;
winbase.h :480
GMEM_DISCARDABLE : constant := 16#100#;
winbase.h :477
GMEM_DISCARDED : constant := 16#4000#;
winbase.h :494
GMEM_FIXED : constant := 16#0#;
winbase.h :471
GMEM_INVALID_HANDLE : constant := 16#8000#;
winbase.h :484
GMEM_LOCKCOUNT : constant := 16#ff#;
winbase.h :495
GMEM_LOWER : constant := 16#1000#;
winbase.h :482
GMEM_MODIFY : constant := 16#80#;
winbase.h :476
GMEM_MOVEABLE : constant := 16#2#;
winbase.h :472
GMEM_NOCOMPACT : constant := 16#10#;
winbase.h :473
GMEM_NODISCARD : constant := 16#20#;
winbase.h :474
GMEM_NOT_BANKED : constant := 16#1000#;
winbase.h :478
GMEM_NOTIFY : constant := 16#4000#;
winbase.h :481
GMEM_SHARE : constant := 16#2000#;
winbase.h :479
GMEM_VALID_FLAGS : constant := 16#7f72#;
winbase.h :483
GMEM_ZEROINIT : constant := 16#40#;
winbase.h :475
GPTR : constant := 16#40#;
winbase.h :487
HANDLE_FLAG_INHERIT : constant := 16#1#;
winbase.h :2205
HANDLE_FLAG_PROTECT_FROM_CLOSE : constant := 16#2#;
winbase.h :2206
HIGH_PRIORITY_CLASS : constant := 16#80#;
winbase.h :546
HINSTANCE_ERROR : constant := 32;
winbase.h :2208
IDLE_PRIORITY_CLASS : constant := 16#40#;
winbase.h :545
IE_BADID : constant := -1;
winbase.h :730
IE_BAUDRATE : constant := -12;
winbase.h :737
IE_BYTESIZE : constant := -11;
winbase.h :736
IE_DEFAULT : constant := -5;
winbase.h :734
IE_HARDWARE : constant := -10;
winbase.h :735
IE_MEMORY : constant := -4;
winbase.h :733
IE_NOPEN : constant := -3;
winbase.h :732
IE_OPEN : constant := -2;
winbase.h :731
IGNORE : constant := 0;
winbase.h :691
INFINITE : constant := 16#ffffffff#;
winbase.h :692
INVALID_ATOM : constant Win32.Windef.ATOM := 0;
winbase.h :960
INVALID_FILE_SIZE : constant DWORD := 16#ffffffff#;
winbase.h :58
INVALID_HANDLE_VALUE : constant Win32.Winnt.HANDLE;
winbase.h :57
LHND : constant := 16#42#;
winbase.h :519
LMEM_DISCARDABLE : constant := 16#f00#;
winbase.h :515
LMEM_DISCARDED : constant := 16#4000#;
winbase.h :528
LMEM_FIXED : constant := 16#0#;
winbase.h :509
LMEM_INVALID_HANDLE : constant := 16#8000#;
winbase.h :517
LMEM_LOCKCOUNT : constant := 16#ff#;
winbase.h :529
LMEM_MODIFY : constant := 16#80#;
winbase.h :514
LMEM_MOVEABLE : constant := 16#2#;
winbase.h :510
LMEM_NOCOMPACT : constant := 16#10#;
winbase.h :511
LMEM_NODISCARD : constant := 16#20#;
winbase.h :512
LMEM_VALID_FLAGS : constant := 16#f72#;
winbase.h :516
LMEM_ZEROINIT : constant := 16#40#;
winbase.h :513
LOAD_DLL_DEBUG_EVENT : constant := 6;
winbase.h :575
LOAD_LIBRARY_AS_DATAFILE : constant := 16#2#;
winbase.h :3657
LOAD_WITH_ALTERED_SEARCH_PATH : constant := 16#8#;
winbase.h :3658
LOCKFILE_EXCLUSIVE_LOCK : constant := 16#2#;
winbase.h :2017
LOCKFILE_FAIL_IMMEDIATELY : constant := 16#1#;
winbase.h :2016
LPTR : constant := 16#40#;
winbase.h :520
LPTX : constant := 16#80#;
winbase.h :779
MARKPARITY : constant := 3;
winbase.h :684
MAX_COMPUTERNAME_LENGTH : constant := 15;
winbase.h :6571
MAXINTATOM : constant := 16#c000#;
winbase.h :958
MOVEFILE_COPY_ALLOWED : constant := 16#2#;
winbase.h :4981
MOVEFILE_DELAY_UNTIL_REBOOT : constant := 16#4#;
winbase.h :4982
MOVEFILE_REPLACE_EXISTING : constant := 16#1#;
winbase.h :4980
MS_CTS_ON : constant DWORD := 16#10#;
winbase.h :784
MS_DSR_ON : constant DWORD := 16#20#;
winbase.h :785
MS_RING_ON : constant DWORD := 16#40#;
winbase.h :786
MS_RLSD_ON : constant DWORD := 16#80#;
winbase.h :787
MUTEX_ALL_ACCESS : constant := 16#1f0001#;
winbase.h :244
MUTEX_MODIFY_STATE : constant := 16#1#;
winbase.h :243
NMPWAIT_NOWAIT : constant := 16#1#;
winbase.h :836
NMPWAIT_USE_DEFAULT_WAIT : constant := 16#0#;
winbase.h :837
NMPWAIT_WAIT_FOREVER : constant := 16#ffffffff#;
winbase.h :835
NONZEROLHND : constant := 16#2#;
winbase.h :522
NONZEROLPTR : constant := 16#0#;
winbase.h :523
NOPARITY : constant := 0;
winbase.h :681
NORMAL_PRIORITY_CLASS : constant := 16#20#;
winbase.h :544
ODDPARITY : constant := 1;
winbase.h :682
OF_CANCEL : constant := 16#800#;
winbase.h :867
OF_CREATE : constant := 16#1000#;
winbase.h :868
OF_DELETE : constant := 16#200#;
winbase.h :865
OF_EXIST : constant := 16#4000#;
winbase.h :870
OF_PARSE : constant := 16#100#;
winbase.h :864
OF_PROMPT : constant := 16#2000#;
winbase.h :869
OF_READ : constant := 16#0#;
winbase.h :856
OF_READWRITE : constant := 16#2#;
winbase.h :858
OF_REOPEN : constant := 16#8000#;
winbase.h :871
OF_SHARE_COMPAT : constant := 16#0#;
winbase.h :859
OF_SHARE_DENY_NONE : constant := 16#40#;
winbase.h :863
OF_SHARE_DENY_READ : constant := 16#30#;
winbase.h :862
OF_SHARE_DENY_WRITE : constant := 16#20#;
winbase.h :861
OF_SHARE_EXCLUSIVE : constant := 16#10#;
winbase.h :860
OF_VERIFY : constant := 16#400#;
winbase.h :866
OF_WRITE : constant := 16#1#;
winbase.h :857
OFS_MAXPATHNAME : constant := 128;
winbase.h :873
ONE5STOPBITS : constant := 1;
winbase.h :688
ONESTOPBIT : constant := 0;
winbase.h :687
OPEN_ALWAYS : constant := 4;
winbase.h :119
OPEN_EXISTING : constant := 3;
winbase.h :118
OUTPUT_DEBUG_STRING_EVENT : constant := 8;
winbase.h :577
PARITY_EVEN : constant WORD := 16#400#;
winbase.h :343
PARITY_MARK : constant WORD := 16#800#;
winbase.h :344
PARITY_NONE : constant WORD := 16#100#;
winbase.h :341
PARITY_ODD : constant WORD := 16#200#;
winbase.h :342
PARITY_SPACE : constant WORD := 16#1000#;
winbase.h :345
PCF_16BITMODE : constant DWORD := 16#200#;
winbase.h :284
PCF_DTRDSR : constant DWORD := 16#1#;
winbase.h :275
PCF_INTTIMEOUTS : constant DWORD := 16#80#;
winbase.h :282
PCF_PARITY_CHECK : constant DWORD := 16#8#;
winbase.h :278
PCF_RLSD : constant DWORD := 16#4#;
winbase.h :277
PCF_RTSCTS : constant DWORD := 16#2#;
winbase.h :276
PCF_SETXCHAR : constant DWORD := 16#20#;
winbase.h :280
PCF_SPECIALCHARS : constant DWORD := 16#100#;
winbase.h :283
PCF_TOTALTIMEOUTS : constant DWORD := 16#40#;
winbase.h :281
PCF_XONXOFF : constant DWORD := 16#10#;
winbase.h :279
PIPE_ACCESS_DUPLEX : constant := 16#3#;
winbase.h :133
PIPE_ACCESS_INBOUND : constant := 16#1#;
winbase.h :131
PIPE_ACCESS_OUTBOUND : constant := 16#2#;
winbase.h :132
PIPE_CLIENT_END : constant := 16#0#;
winbase.h :139
PIPE_NOWAIT : constant := 16#1#;
winbase.h :147
PIPE_READMODE_BYTE : constant := 16#0#;
winbase.h :148
PIPE_READMODE_MESSAGE : constant := 16#2#;
winbase.h :149
PIPE_SERVER_END : constant := 16#1#;
winbase.h :140
PIPE_TYPE_BYTE : constant := 16#0#;
winbase.h :150
PIPE_TYPE_MESSAGE : constant := 16#4#;
winbase.h :151
PIPE_UNLIMITED_INSTANCES : constant := 255;
winbase.h :157
PIPE_WAIT : constant := 16#0#;
winbase.h :146
PROCESS_HEAP_ENTRY_BUSY : constant := 16#4#;
winbase.h :1359
PROCESS_HEAP_ENTRY_DDESHARE : constant := 16#20#;
winbase.h :1361
PROCESS_HEAP_ENTRY_MOVEABLE : constant := 16#10#;
winbase.h :1360
PROCESS_HEAP_REGION : constant := 16#1#;
winbase.h :1357
PROCESS_HEAP_UNCOMMITTED_RANGE : constant := 16#2#;
winbase.h :1358
PST_FAX : constant DWORD := 16#21#;
winbase.h :263
PST_LAT : constant DWORD := 16#101#;
winbase.h :266
PST_MODEM : constant DWORD := 16#6#;
winbase.h :262
PST_NETWORK_BRIDGE : constant DWORD := 16#100#;
winbase.h :265
PST_PARALLELPORT : constant DWORD := 16#2#;
winbase.h :258
PST_RS232 : constant DWORD := 16#1#;
winbase.h :257
PST_RS422 : constant DWORD := 16#3#;
winbase.h :259
PST_RS423 : constant DWORD := 16#4#;
winbase.h :260
PST_RS449 : constant DWORD := 16#5#;
winbase.h :261
PST_SCANNER : constant DWORD := 16#22#;
winbase.h :264
PST_TCPIP_TELNET : constant DWORD := 16#102#;
winbase.h :267
PST_UNSPECIFIED : constant DWORD := 16#0#;
winbase.h :256
PST_X25 : constant DWORD := 16#103#;
winbase.h :268
PURGE_RXABORT : constant := 16#2#;
winbase.h :775
PURGE_RXCLEAR : constant := 16#8#;
winbase.h :777
PURGE_TXABORT : constant := 16#1#;
winbase.h :774
PURGE_TXCLEAR : constant := 16#4#;
winbase.h :776
REALTIME_PRIORITY_CLASS : constant := 16#100#;
winbase.h :547
RESETDEV : constant := 7;
winbase.h :767
RIP_EVENT : constant := 9;
winbase.h :578
RTS_CONTROL_DISABLE : constant := 16#0#;
winbase.h :397
RTS_CONTROL_ENABLE : constant := 16#1#;
winbase.h :398
RTS_CONTROL_HANDSHAKE : constant := 16#2#;
winbase.h :399
RTS_CONTROL_TOGGLE : constant := 16#3#;
winbase.h :400
S_ALLTHRESHOLD : constant := 2;
winbase.h :795
S_LEGATO : constant := 1;
winbase.h :802
S_NORMAL : constant := 0;
winbase.h :801
S_PERIOD1024 : constant := 1;
winbase.h :810
S_PERIOD2048 : constant := 2;
winbase.h :811
S_PERIOD512 : constant := 0;
winbase.h :809
S_PERIODVOICE : constant := 3;
winbase.h :812
S_QUEUEEMPTY : constant := 0;
winbase.h :793
S_SERBDNT : constant := -5;
winbase.h :822
S_SERDCC : constant := -7;
winbase.h :824
S_SERDDR : constant := -14;
winbase.h :831
S_SERDFQ : constant := -13;
winbase.h :830
S_SERDLN : constant := -6;
winbase.h :823
S_SERDMD : constant := -10;
winbase.h :827
S_SERDPT : constant := -12;
winbase.h :829
S_SERDSH : constant := -11;
winbase.h :828
S_SERDSR : constant := -15;
winbase.h :832
S_SERDST : constant := -16;
winbase.h :833
S_SERDTP : constant := -8;
winbase.h :825
S_SERDVL : constant := -9;
winbase.h :826
S_SERDVNA : constant := -1;
winbase.h :818
S_SERMACT : constant := -3;
winbase.h :820
S_SEROFM : constant := -2;
winbase.h :819
S_SERQFUL : constant := -4;
winbase.h :821
S_STACCATO : constant := 2;
winbase.h :803
S_THRESHOLD : constant := 1;
winbase.h :794
S_WHITE1024 : constant := 5;
winbase.h :814
S_WHITE2048 : constant := 6;
winbase.h :815
S_WHITE512 : constant := 4;
winbase.h :813
S_WHITEVOICE : constant := 7;
winbase.h :816
SCS_32BIT_BINARY : constant := 0;
winbase.h :1387
SCS_DOS_BINARY : constant := 1;
winbase.h :1388
SCS_OS216_BINARY : constant := 5;
winbase.h :1392
SCS_PIF_BINARY : constant := 3;
winbase.h :1390
SCS_POSIX_BINARY : constant := 4;
winbase.h :1391
SCS_WOW_BINARY : constant := 2;
winbase.h :1389
SECURITY_ANONYMOUS : constant :=   Win32.Winnt.

  SECURITY_IMPERSONATION_LEVEL'Pos

  (Win32.Winnt.SecurityAnonymous) * 2 ** 16;
winbase.h :164
SECURITY_CONTEXT_TRACKING : constant := 16#40000#;
winbase.h :169
SECURITY_DELEGATION : constant :=   Win32.Winnt.

  SECURITY_IMPERSONATION_LEVEL'Pos

  (Win32.Winnt.SecurityDelegation) * 2 ** 16;
winbase.h :167
SECURITY_EFFECTIVE_ONLY : constant := 16#80000#;
winbase.h :170
SECURITY_IDENTIFICATION : constant :=   Win32.Winnt.

  SECURITY_IMPERSONATION_LEVEL'Pos

  (Win32.Winnt.SecurityIdentification) *

  2 ** 16;
winbase.h :165
SECURITY_IMPERSONATION : constant :=   Win32.Winnt.

  SECURITY_IMPERSONATION_LEVEL'Pos

  (Win32.Winnt.SecurityImpersonation) *

  2 ** 16;
winbase.h :166
SECURITY_SQOS_PRESENT : constant := 16#100000#;
winbase.h :172
SECURITY_VALID_SQOS_FLAGS : constant := 16#1f0000#;
winbase.h :173
SEM_FAILCRITICALERRORS : constant := 16#1#;
winbase.h :1745
SEM_NOALIGNMENTFAULTEXCEPT : constant := 16#4#;
winbase.h :1747
SEM_NOGPFAULTERRORBOX : constant := 16#2#;
winbase.h :1746
SEM_NOOPENFILEERRORBOX : constant := 16#8000#;
winbase.h :1748
SET_TAPE_DRIVE_INFORMATION : constant := 1;
winbase.h :2465
SET_TAPE_MEDIA_INFORMATION : constant := 0;
winbase.h :2464
SETBREAK : constant := 8;
winbase.h :768
SETDTR : constant := 5;
winbase.h :765
SETRTS : constant := 3;
winbase.h :763
SETXOFF : constant := 1;
winbase.h :761
SETXON : constant := 2;
winbase.h :762
SHUTDOWN_NORETRY : constant := 16#1#;
winbase.h :3374
SP_BAUD : constant DWORD := 16#2#;
winbase.h :291
SP_DATABITS : constant DWORD := 16#4#;
winbase.h :292
SP_HANDSHAKING : constant DWORD := 16#10#;
winbase.h :294
SP_PARITY : constant DWORD := 16#1#;
winbase.h :290
SP_PARITY_CHECK : constant DWORD := 16#20#;
winbase.h :295
SP_RLSD : constant DWORD := 16#40#;
winbase.h :296
SP_SERIALCOMM : constant DWORD := 16#1#;
winbase.h :250
SP_STOPBITS : constant DWORD := 16#8#;
winbase.h :293
SPACEPARITY : constant := 4;
winbase.h :685
STARTF_FORCEOFFFEEDBACK : constant := 16#80#;
winbase.h :3323
STARTF_FORCEONFEEDBACK : constant := 16#40#;
winbase.h :3322
STARTF_RUNFULLSCREEN : constant := 16#20#;
winbase.h :3321
STARTF_USECOUNTCHARS : constant := 16#8#;
winbase.h :3319
STARTF_USEFILLATTRIBUTE : constant := 16#10#;
winbase.h :3320
STARTF_USEPOSITION : constant := 16#4#;
winbase.h :3318
STARTF_USESHOWWINDOW : constant := 16#1#;
winbase.h :3316
STARTF_USESIZE : constant := 16#2#;
winbase.h :3317
STARTF_USESTDHANDLES : constant := 16#100#;
winbase.h :3324
STD_ERROR_HANDLE : constant DWORD := To_DWORD (-12);
winbase.h :679
STD_INPUT_HANDLE : constant DWORD := To_DWORD (-10);
winbase.h :677
STD_OUTPUT_HANDLE : constant DWORD := To_DWORD (-11);
winbase.h :678
STOPBITS_10 : constant WORD := 16#1#;
winbase.h :338
STOPBITS_15 : constant WORD := 16#2#;
winbase.h :339
STOPBITS_20 : constant WORD := 16#4#;
winbase.h :340
STREAM_CONTAINS_PROPERTIES : constant := 16#4#;
winbase.h :3310
STREAM_CONTAINS_SECURITY : constant := 16#2#;
winbase.h :3309
STREAM_MODIFIED_WHEN_READ : constant := 16#1#;
winbase.h :3308
STREAM_NORMAL_ATTRIBUTE : constant := 16#0#;
winbase.h :3307
TC_GP_TRAP : constant := 2;
winbase.h :6712
TC_HARDERR : constant := 1;
winbase.h :6711
TC_NORMAL : constant := 0;
winbase.h :6710
TC_SIGNAL : constant := 3;
winbase.h :6713
THREAD_PRIORITY_ABOVE_NORMAL : constant := 1;
winbase.h :561
THREAD_PRIORITY_BELOW_NORMAL : constant := -1;
winbase.h :558
THREAD_PRIORITY_ERROR_RETURN : constant := 16#7fffffff#;
winbase.h :562
THREAD_PRIORITY_HIGHEST : constant := 2;
winbase.h :560
THREAD_PRIORITY_IDLE : constant := -15;
winbase.h :565
THREAD_PRIORITY_LOWEST : constant := -2;
winbase.h :557
THREAD_PRIORITY_NORMAL : constant := 0;
winbase.h :559
THREAD_PRIORITY_TIME_CRITICAL : constant := 15;
winbase.h :564
TIME_ZONE_ID_INVALID : constant DWORD := 16#ffffffff#;
winbase.h :64
TLS_OUT_OF_INDEXES : constant DWORD := 16#ffffffff#;
winbase.h :3160
TRUNCATE_EXISTING : constant := 5;
winbase.h :120
TWOSTOPBITS : constant := 2;
winbase.h :689
UNLOAD_DLL_DEBUG_EVENT : constant := 7;
winbase.h :576
VER_PLATFORM_WIN32_NT : constant := 2;
winbase.h :6680
VER_PLATFORM_WIN32S : constant := 0;
winbase.h :6679
WAIT_FAILED : constant DWORD := 16#ffffffff#;
winbase.h :66

Variables

CONTROL_C_EXIT : DWORD renames

  Win32.Winnt.STATUS_CONTROL_C_EXIT;
winbase.h :96
EXCEPTION_ACCESS_VIOLATION : DWORD renames

  Win32.Winnt.STATUS_ACCESS_VIOLATION;
winbase.h :75
EXCEPTION_ARRAY_BOUNDS_EXCEEDED : DWORD renames Win32.Winnt.

  STATUS_ARRAY_BOUNDS_EXCEEDED;
winbase.h :79
EXCEPTION_BREAKPOINT : DWORD renames Win32.Winnt.

  STATUS_BREAKPOINT;
winbase.h :77
EXCEPTION_DATATYPE_MISALIGNMENT : DWORD renames Win32.Winnt.

  STATUS_DATATYPE_MISALIGNMENT;
winbase.h :76
EXCEPTION_FLT_DENORMAL_OPERAND : DWORD renames Win32.Winnt.

  STATUS_FLOAT_DENORMAL_OPERAND;
winbase.h :80
EXCEPTION_FLT_DIVIDE_BY_ZERO : DWORD renames

  Win32.Winnt.STATUS_FLOAT_DIVIDE_BY_ZERO;
winbase.h :81
EXCEPTION_FLT_INEXACT_RESULT : DWORD renames

  Win32.Winnt.STATUS_FLOAT_INEXACT_RESULT;
winbase.h :82
EXCEPTION_FLT_INVALID_OPERATION : DWORD renames Win32.Winnt.

  STATUS_FLOAT_INVALID_OPERATION;
winbase.h :83
EXCEPTION_FLT_OVERFLOW : DWORD renames

  Win32.Winnt.STATUS_FLOAT_OVERFLOW;
winbase.h :84
EXCEPTION_FLT_STACK_CHECK : DWORD renames

  Win32.Winnt.STATUS_FLOAT_STACK_CHECK;
winbase.h :85
EXCEPTION_FLT_UNDERFLOW : DWORD renames

  Win32.Winnt.STATUS_FLOAT_UNDERFLOW;
winbase.h :86
EXCEPTION_GUARD_PAGE : DWORD renames

  Win32.Winnt.STATUS_GUARD_PAGE_VIOLATION;
winbase.h :95
EXCEPTION_ILLEGAL_INSTRUCTION : DWORD renames

  Win32.Winnt.STATUS_ILLEGAL_INSTRUCTION;
winbase.h :91
EXCEPTION_IN_PAGE_ERROR : DWORD renames

  Win32.Winnt.STATUS_IN_PAGE_ERROR;
winbase.h :90
EXCEPTION_INT_DIVIDE_BY_ZERO : DWORD renames Win32.Winnt.

  STATUS_INTEGER_DIVIDE_BY_ZERO;
winbase.h :87
EXCEPTION_INT_OVERFLOW : DWORD renames

  Win32.Winnt.STATUS_INTEGER_OVERFLOW;
winbase.h :88
EXCEPTION_INVALID_DISPOSITION : DWORD renames

  Win32.Winnt.STATUS_INVALID_DISPOSITION;
winbase.h :94
EXCEPTION_NONCONTINUABLE_EXCEPTION : DWORD renames Win32.Winnt.

  STATUS_NONCONTINUABLE_EXCEPTION;
winbase.h :92
EXCEPTION_PRIV_INSTRUCTION : DWORD renames Win32.Winnt.

  STATUS_PRIVILEGED_INSTRUCTION;
winbase.h :89
EXCEPTION_SINGLE_STEP : DWORD renames

  Win32.Winnt.STATUS_SINGLE_STEP;
winbase.h :78
EXCEPTION_STACK_OVERFLOW : DWORD renames

  Win32.Winnt.STATUS_STACK_OVERFLOW;
winbase.h :93
STILL_ACTIVE : DWORD renames

  Win32.Winnt.STATUS_PENDING;
winbase.h :74
WAIT_ABANDONED : DWORD renames

  Win32.Winnt.STATUS_ABANDONED_WAIT_0;
winbase.h :79
WAIT_ABANDONED_0 : DWORD renames

  Win32.Winnt.STATUS_ABANDONED_WAIT_0;
winbase.h :80
WAIT_IO_COMPLETION : DWORD renames

  Win32.Winnt.STATUS_USER_APC;
winbase.h :73
WAIT_OBJECT_0 : DWORD renames Win32.Winnt.STATUS_WAIT_0;
winbase.h :67
WAIT_TIMEOUT : DWORD renames

  Win32.Winnt.STATUS_TIMEOUT;
winbase.h :72

Other Items:

function To_DWORD is new Ada.Unchecked_Conversion (LONG, DWORD);

use type Interfaces.C.long;

type OVERLAPPED;
--  Full declaration: OVERLAPPED
winbase.h :179

type SECURITY_ATTRIBUTES;
--  Full declaration: SECURITY_ATTRIBUTES
winbase.h :187

type PROCESS_INFORMATION;
--  Full declaration: PROCESS_INFORMATION
winbase.h :193

type FILETIME;
--  Full declaration: FILETIME
winbase.h :204

type SYSTEMTIME;
--  Full declaration: SYSTEMTIME
winbase.h :213

type COMMPROP;
--  Full declaration: COMMPROP
winbase.h :347

type COMMTIMEOUTS;
--  Full declaration: COMMTIMEOUTS
winbase.h :433

type COMMCONFIG;
--  Full declaration: COMMCONFIG
winbase.h :441

type SYSTEM_INFO;
--  Full declaration: SYSTEM_INFO
winbase.h :454

type MEMORYSTATUS;
--  Full declaration: MEMORYSTATUS
winbase.h :497

type EXCEPTION_DEBUG_INFO;
--  Full declaration: EXCEPTION_DEBUG_INFO
winbase.h :580

type CREATE_THREAD_DEBUG_INFO;
--  Full declaration: CREATE_THREAD_DEBUG_INFO
winbase.h :585

type CREATE_PROCESS_DEBUG_INFO;
--  Full declaration: CREATE_PROCESS_DEBUG_INFO
winbase.h :591

type EXIT_THREAD_DEBUG_INFO;
--  Full declaration: EXIT_THREAD_DEBUG_INFO
winbase.h :604

type EXIT_PROCESS_DEBUG_INFO;
--  Full declaration: EXIT_PROCESS_DEBUG_INFO
winbase.h :608

type LOAD_DLL_DEBUG_INFO;
--  Full declaration: LOAD_DLL_DEBUG_INFO
winbase.h :612

type UNLOAD_DLL_DEBUG_INFO;
--  Full declaration: UNLOAD_DLL_DEBUG_INFO
winbase.h :621

type OUTPUT_DEBUG_STRING_INFO;
--  Full declaration: OUTPUT_DEBUG_STRING_INFO
winbase.h :625

type RIP_INFO;
--  Full declaration: RIP_INFO
winbase.h :631

type union_anonymous0_t;
--  Full declaration: union_anonymous0_t
winbase.h :651

type DEBUG_EVENT;
--  Full declaration: DEBUG_EVENT
winbase.h :637

type OFSTRUCT;
--  Full declaration: OFSTRUCT
winbase.h :874

type struct_anonymous2_t;
--  Full declaration: struct_anonymous2_t
winbase.h :1347

type struct_anonymous3_t;
--  Full declaration: struct_anonymous3_t
winbase.h :1353

type union_anonymous4_t;
--  Full declaration: union_anonymous4_t
pragma Convention (c_pass_by_copy, union_anonymous4_t);
winbase.h :1354

type PROCESS_HEAP_ENTRY;
--  Full declaration: PROCESS_HEAP_ENTRY
winbase.h :1337

type BY_HANDLE_FILE_INFORMATION;
--  Full declaration: BY_HANDLE_FILE_INFORMATION
winbase.h :2030

type TIME_ZONE_INFORMATION;
--  Full declaration: TIME_ZONE_INFORMATION
winbase.h :2645

type WIN32_STREAM_ID;
--  Full declaration: WIN32_STREAM_ID
winbase.h :3283

type STARTUPINFOA;
--  Full declaration: STARTUPINFOA
winbase.h :3326

type STARTUPINFOW;
--  Full declaration: STARTUPINFOW
winbase.h :3346

type WIN32_FIND_DATAA;
--  Full declaration: WIN32_FIND_DATAA
winbase.h :3376

type WIN32_FIND_DATAW;
--  Full declaration: WIN32_FIND_DATAW
winbase.h :3388