Added Perl modules containing the #defines values for the
corresponding Windows headers.
This commit is contained in:
parent
64cf1f6f58
commit
500793dc10
|
@ -0,0 +1,398 @@
|
||||||
|
# Automatically generated by make_symbols; DO NOT EDIT!!
|
||||||
|
#
|
||||||
|
# Perl definitions for header file winbase.h
|
||||||
|
#
|
||||||
|
|
||||||
|
$BAUD_075 = 1;
|
||||||
|
$BAUD_110 = 2;
|
||||||
|
$BAUD_115200 = 131072;
|
||||||
|
$BAUD_1200 = 64;
|
||||||
|
$BAUD_128K = 65536;
|
||||||
|
$BAUD_134_5 = 4;
|
||||||
|
$BAUD_14400 = 4096;
|
||||||
|
$BAUD_150 = 8;
|
||||||
|
$BAUD_1800 = 128;
|
||||||
|
$BAUD_19200 = 8192;
|
||||||
|
$BAUD_2400 = 256;
|
||||||
|
$BAUD_300 = 16;
|
||||||
|
$BAUD_38400 = 16384;
|
||||||
|
$BAUD_4800 = 512;
|
||||||
|
$BAUD_56K = 32768;
|
||||||
|
$BAUD_57600 = 262144;
|
||||||
|
$BAUD_600 = 32;
|
||||||
|
$BAUD_7200 = 1024;
|
||||||
|
$BAUD_9600 = 2048;
|
||||||
|
$BAUD_USER = 268435456;
|
||||||
|
$CBR_110 = 65296;
|
||||||
|
$CBR_115200 = 65313;
|
||||||
|
$CBR_1200 = 65299;
|
||||||
|
$CBR_128000 = 65315;
|
||||||
|
$CBR_14400 = 65303;
|
||||||
|
$CBR_19200 = 65304;
|
||||||
|
$CBR_2400 = 65300;
|
||||||
|
$CBR_256000 = 65319;
|
||||||
|
$CBR_300 = 65297;
|
||||||
|
$CBR_38400 = 65307;
|
||||||
|
$CBR_4800 = 65301;
|
||||||
|
$CBR_56000 = 65311;
|
||||||
|
$CBR_57600 = 65312;
|
||||||
|
$CBR_600 = 65298;
|
||||||
|
$CBR_9600 = 65302;
|
||||||
|
$CE_BREAK = 16;
|
||||||
|
$CE_CTSTO = 32;
|
||||||
|
$CE_DNS = 2048;
|
||||||
|
$CE_DSRTO = 64;
|
||||||
|
$CE_FRAME = 8;
|
||||||
|
$CE_IOE = 1024;
|
||||||
|
$CE_MODE = 32768;
|
||||||
|
$CE_OOP = 4096;
|
||||||
|
$CE_OVERRUN = 2;
|
||||||
|
$CE_PTO = 512;
|
||||||
|
$CE_RLSDTO = 128;
|
||||||
|
$CE_RXOVER = 1;
|
||||||
|
$CE_RXPARITY = 4;
|
||||||
|
$CE_TXFULL = 256;
|
||||||
|
$CLRBREAK = 9;
|
||||||
|
$CLRDTR = 6;
|
||||||
|
$CLRRTS = 4;
|
||||||
|
$CONTROL_C_EXIT = -1073741510;
|
||||||
|
$COPY_FILE_FAIL_IF_EXISTS = 1;
|
||||||
|
$COPY_FILE_OPEN_SOURCE_FOR_WRITE = 4;
|
||||||
|
$COPY_FILE_RESTARTABLE = 2;
|
||||||
|
$CREATE_ALWAYS = 2;
|
||||||
|
$CREATE_DEFAULT_ERROR_MODE = 67108864;
|
||||||
|
$CREATE_NEW = 1;
|
||||||
|
$CREATE_NEW_CONSOLE = 16;
|
||||||
|
$CREATE_NEW_PROCESS_GROUP = 512;
|
||||||
|
$CREATE_NO_WINDOW = 134217728;
|
||||||
|
$CREATE_PROCESS_DEBUG_EVENT = 3;
|
||||||
|
$CREATE_SEPARATE_WOW_VDM = 2048;
|
||||||
|
$CREATE_SHARED_WOW_VDM = 4096;
|
||||||
|
$CREATE_SUSPENDED = 4;
|
||||||
|
$CREATE_THREAD_DEBUG_EVENT = 2;
|
||||||
|
$CREATE_UNICODE_ENVIRONMENT = 1024;
|
||||||
|
$DATABITS_16 = 16;
|
||||||
|
$DATABITS_16X = 32;
|
||||||
|
$DATABITS_5 = 1;
|
||||||
|
$DATABITS_6 = 2;
|
||||||
|
$DATABITS_7 = 4;
|
||||||
|
$DATABITS_8 = 8;
|
||||||
|
$DEBUG_ONLY_THIS_PROCESS = 2;
|
||||||
|
$DEBUG_PROCESS = 1;
|
||||||
|
$DETACHED_PROCESS = 8;
|
||||||
|
$DONT_RESOLVE_DLL_REFERENCES = 1;
|
||||||
|
$DRIVE_CDROM = 5;
|
||||||
|
$DRIVE_FIXED = 3;
|
||||||
|
$DRIVE_NO_ROOT_DIR = 1;
|
||||||
|
$DRIVE_RAMDISK = 6;
|
||||||
|
$DRIVE_REMOTE = 4;
|
||||||
|
$DRIVE_REMOVABLE = 2;
|
||||||
|
$DRIVE_UNKNOWN = 0;
|
||||||
|
$DTR_CONTROL_DISABLE = 0;
|
||||||
|
$DTR_CONTROL_ENABLE = 1;
|
||||||
|
$DTR_CONTROL_HANDSHAKE = 2;
|
||||||
|
$DUPLICATE_CLOSE_SOURCE = 1;
|
||||||
|
$DUPLICATE_SAME_ACCESS = 2;
|
||||||
|
$EVENPARITY = 2;
|
||||||
|
$EV_BREAK = 64;
|
||||||
|
$EV_CTS = 8;
|
||||||
|
$EV_DSR = 16;
|
||||||
|
$EV_ERR = 128;
|
||||||
|
$EV_EVENT1 = 2048;
|
||||||
|
$EV_EVENT2 = 4096;
|
||||||
|
$EV_PERR = 512;
|
||||||
|
$EV_RING = 256;
|
||||||
|
$EV_RLSD = 32;
|
||||||
|
$EV_RX80FULL = 1024;
|
||||||
|
$EV_RXCHAR = 1;
|
||||||
|
$EV_RXFLAG = 2;
|
||||||
|
$EV_TXEMPT = 4;
|
||||||
|
$EXCEPTION_ACCESS_VIOLATION = -1073741819;
|
||||||
|
$EXCEPTION_ARRAY_BOUNDS_EXCEEDED = -1073741684;
|
||||||
|
$EXCEPTION_BREAKPOINT = -2147483645;
|
||||||
|
$EXCEPTION_CRITICAL_SECTION_WAIT = -1073741420;
|
||||||
|
$EXCEPTION_DATATYPE_MISALIGNMENT = -2147483646;
|
||||||
|
$EXCEPTION_DEBUG_EVENT = 1;
|
||||||
|
$EXCEPTION_FLT_DENORMAL_OPERAND = -1073741683;
|
||||||
|
$EXCEPTION_FLT_DIVIDE_BY_ZERO = -1073741682;
|
||||||
|
$EXCEPTION_FLT_INEXACT_RESULT = -1073741681;
|
||||||
|
$EXCEPTION_FLT_INVALID_OPERATION = -1073741680;
|
||||||
|
$EXCEPTION_FLT_OVERFLOW = -1073741679;
|
||||||
|
$EXCEPTION_FLT_STACK_CHECK = -1073741678;
|
||||||
|
$EXCEPTION_FLT_UNDERFLOW = -1073741677;
|
||||||
|
$EXCEPTION_GUARD_PAGE = -2147483647;
|
||||||
|
$EXCEPTION_ILLEGAL_INSTRUCTION = -1073741795;
|
||||||
|
$EXCEPTION_INT_DIVIDE_BY_ZERO = -1073741676;
|
||||||
|
$EXCEPTION_INT_OVERFLOW = -1073741675;
|
||||||
|
$EXCEPTION_INVALID_DISPOSITION = -1073741786;
|
||||||
|
$EXCEPTION_INVALID_HANDLE = -1073741816;
|
||||||
|
$EXCEPTION_IN_PAGE_ERROR = -1073741818;
|
||||||
|
$EXCEPTION_NONCONTINUABLE_EXCEPTION = -1073741787;
|
||||||
|
$EXCEPTION_PRIV_INSTRUCTION = -1073741674;
|
||||||
|
$EXCEPTION_SINGLE_STEP = -2147483644;
|
||||||
|
$EXCEPTION_STACK_OVERFLOW = -1073741571;
|
||||||
|
$EXIT_PROCESS_DEBUG_EVENT = 5;
|
||||||
|
$EXIT_THREAD_DEBUG_EVENT = 4;
|
||||||
|
$FILE_BEGIN = 0;
|
||||||
|
$FILE_CURRENT = 1;
|
||||||
|
$FILE_END = 2;
|
||||||
|
$FILE_FLAG_BACKUP_SEMANTICS = 33554432;
|
||||||
|
$FILE_FLAG_DELETE_ON_CLOSE = 67108864;
|
||||||
|
$FILE_FLAG_NO_BUFFERING = 536870912;
|
||||||
|
$FILE_FLAG_OVERLAPPED = 1073741824;
|
||||||
|
$FILE_FLAG_POSIX_SEMANTICS = 16777216;
|
||||||
|
$FILE_FLAG_RANDOM_ACCESS = 268435456;
|
||||||
|
$FILE_FLAG_SEQUENTIAL_SCAN = 134217728;
|
||||||
|
$FILE_FLAG_WRITE_THROUGH = -2147483648;
|
||||||
|
$FILE_MAP_ALL_ACCESS = 983071;
|
||||||
|
$FILE_MAP_COPY = 1;
|
||||||
|
$FILE_MAP_READ = 4;
|
||||||
|
$FILE_MAP_WRITE = 2;
|
||||||
|
$FILE_TYPE_CHAR = 2;
|
||||||
|
$FILE_TYPE_DISK = 1;
|
||||||
|
$FILE_TYPE_PIPE = 3;
|
||||||
|
$FILE_TYPE_REMOTE = 32768;
|
||||||
|
$FILE_TYPE_UNKNOWN = 0;
|
||||||
|
$FORMAT_MESSAGE_ALLOCATE_BUFFER = 256;
|
||||||
|
$FORMAT_MESSAGE_ARGUMENT_ARRAY = 8192;
|
||||||
|
$FORMAT_MESSAGE_FROM_HMODULE = 2048;
|
||||||
|
$FORMAT_MESSAGE_FROM_STRING = 1024;
|
||||||
|
$FORMAT_MESSAGE_FROM_SYSTEM = 4096;
|
||||||
|
$FORMAT_MESSAGE_IGNORE_INSERTS = 512;
|
||||||
|
$FORMAT_MESSAGE_MAX_WIDTH_MASK = 255;
|
||||||
|
$FS_CASE_IS_PRESERVED = 2;
|
||||||
|
$FS_CASE_SENSITIVE = 1;
|
||||||
|
$FS_FILE_COMPRESSION = 16;
|
||||||
|
$FS_PERSISTENT_ACLS = 8;
|
||||||
|
$FS_UNICODE_STORED_ON_DISK = 4;
|
||||||
|
$FS_VOL_IS_COMPRESSED = 32768;
|
||||||
|
$GHND = 66;
|
||||||
|
$GMEM_DDESHARE = 8192;
|
||||||
|
$GMEM_DISCARDABLE = 256;
|
||||||
|
$GMEM_DISCARDED = 16384;
|
||||||
|
$GMEM_FIXED = 0;
|
||||||
|
$GMEM_INVALID_HANDLE = 32768;
|
||||||
|
$GMEM_LOCKCOUNT = 255;
|
||||||
|
$GMEM_LOWER = 4096;
|
||||||
|
$GMEM_MODIFY = 128;
|
||||||
|
$GMEM_MOVEABLE = 2;
|
||||||
|
$GMEM_NOCOMPACT = 16;
|
||||||
|
$GMEM_NODISCARD = 32;
|
||||||
|
$GMEM_NOTIFY = 16384;
|
||||||
|
$GMEM_NOT_BANKED = 4096;
|
||||||
|
$GMEM_SHARE = 8192;
|
||||||
|
$GMEM_ZEROINIT = 64;
|
||||||
|
$GPD_APP_COMPAT_FLAGS = -56;
|
||||||
|
$GPD_FLAGS = -4;
|
||||||
|
$GPD_HINSTANCE16 = -48;
|
||||||
|
$GPD_LOAD_DONE_EVENT = -52;
|
||||||
|
$GPD_PARENT = -8;
|
||||||
|
$GPD_PDB = -36;
|
||||||
|
$GPD_STARTF_FLAGS = -12;
|
||||||
|
$GPD_STARTF_HOTKEY = -28;
|
||||||
|
$GPD_STARTF_POSITION = -16;
|
||||||
|
$GPD_STARTF_SHELLDATA = -32;
|
||||||
|
$GPD_STARTF_SHOWWINDOW = -24;
|
||||||
|
$GPD_STARTF_SIZE = -20;
|
||||||
|
$GPD_THDB = -40;
|
||||||
|
$GPD_USERDATA = 0;
|
||||||
|
$GPD_WINDOWS_VERSION = -44;
|
||||||
|
$GPTR = 64;
|
||||||
|
$HANDLE_FLAG_INHERIT = 1;
|
||||||
|
$HANDLE_FLAG_PROTECT_FROM_CLOSE = 2;
|
||||||
|
$HIGH_PRIORITY_CLASS = 128;
|
||||||
|
$HINSTANCE_ERROR = 32;
|
||||||
|
$IDLE_PRIORITY_CLASS = 64;
|
||||||
|
$IE_BADID = -1;
|
||||||
|
$IE_BAUDRATE = -12;
|
||||||
|
$IE_BYTESIZE = -11;
|
||||||
|
$IE_DEFAULT = -5;
|
||||||
|
$IE_HARDWARE = -10;
|
||||||
|
$IE_MEMORY = -4;
|
||||||
|
$IE_NOPEN = -3;
|
||||||
|
$IE_OPEN = -2;
|
||||||
|
$IGNORE = 0;
|
||||||
|
$INFINITE = -1;
|
||||||
|
$INVALID_ATOM = 0;
|
||||||
|
$INVALID_HANDLE_VALUE = -1;
|
||||||
|
$LHND = 66;
|
||||||
|
$LMEM_DISCARDABLE = 3840;
|
||||||
|
$LMEM_DISCARDED = 16384;
|
||||||
|
$LMEM_FIXED = 0;
|
||||||
|
$LMEM_LOCKCOUNT = 255;
|
||||||
|
$LMEM_MODIFY = 128;
|
||||||
|
$LMEM_MOVEABLE = 2;
|
||||||
|
$LMEM_NOCOMPACT = 16;
|
||||||
|
$LMEM_NODISCARD = 32;
|
||||||
|
$LMEM_ZEROINIT = 64;
|
||||||
|
$LOAD_DLL_DEBUG_EVENT = 6;
|
||||||
|
$LOAD_LIBRARY_AS_DATAFILE = 2;
|
||||||
|
$LOAD_WITH_ALTERED_SEARCH_PATH = 8;
|
||||||
|
$LPTR = 64;
|
||||||
|
$MARKPARITY = 3;
|
||||||
|
$MAXINTATOM = 49152;
|
||||||
|
$MOVEFILE_COPY_ALLOWED = 2;
|
||||||
|
$MOVEFILE_DELAY_UNTIL_REBOOT = 4;
|
||||||
|
$MOVEFILE_REPLACE_EXISTING = 1;
|
||||||
|
$MS_CTS_ON = 16;
|
||||||
|
$MS_DSR_ON = 32;
|
||||||
|
$MS_RING_ON = 64;
|
||||||
|
$MS_RLSD_ON = 128;
|
||||||
|
$NMPWAIT_NOWAIT = 1;
|
||||||
|
$NMPWAIT_USE_DEFAULT_WAIT = 0;
|
||||||
|
$NMPWAIT_WAIT_FOREVER = -1;
|
||||||
|
$NONZEROLHND = 2;
|
||||||
|
$NONZEROLPTR = 0;
|
||||||
|
$NOPARITY = 0;
|
||||||
|
$NORMAL_PRIORITY_CLASS = 32;
|
||||||
|
$ODDPARITY = 1;
|
||||||
|
$OFS_MAXPATHNAME = 128;
|
||||||
|
$OF_CANCEL = 2048;
|
||||||
|
$OF_CREATE = 4096;
|
||||||
|
$OF_DELETE = 512;
|
||||||
|
$OF_EXIST = 16384;
|
||||||
|
$OF_PARSE = 256;
|
||||||
|
$OF_PROMPT = 8192;
|
||||||
|
$OF_READ = 0;
|
||||||
|
$OF_READWRITE = 2;
|
||||||
|
$OF_REOPEN = 32768;
|
||||||
|
$OF_SEARCH = 1024;
|
||||||
|
$OF_SHARE_COMPAT = 0;
|
||||||
|
$OF_SHARE_DENY_NONE = 64;
|
||||||
|
$OF_SHARE_DENY_READ = 48;
|
||||||
|
$OF_SHARE_DENY_WRITE = 32;
|
||||||
|
$OF_SHARE_EXCLUSIVE = 16;
|
||||||
|
$OF_VERIFY = 1024;
|
||||||
|
$OF_WRITE = 1;
|
||||||
|
$ONE5STOPBITS = 1;
|
||||||
|
$ONESTOPBIT = 0;
|
||||||
|
$OPEN_ALWAYS = 4;
|
||||||
|
$OPEN_EXISTING = 3;
|
||||||
|
$OUTPUT_DEBUG_STRING_EVENT = 8;
|
||||||
|
$PARITY_EVEN = 1024;
|
||||||
|
$PARITY_MARK = 2048;
|
||||||
|
$PARITY_NONE = 256;
|
||||||
|
$PARITY_ODD = 512;
|
||||||
|
$PARITY_SPACE = 4096;
|
||||||
|
$PCF_16BITMODE = 512;
|
||||||
|
$PCF_DTRDSR = 1;
|
||||||
|
$PCF_INTTIMEOUTS = 128;
|
||||||
|
$PCF_PARITY_CHECK = 8;
|
||||||
|
$PCF_RLSD = 4;
|
||||||
|
$PCF_RTSCTS = 2;
|
||||||
|
$PCF_SETXCHAR = 32;
|
||||||
|
$PCF_SPECIALCHARS = 256;
|
||||||
|
$PCF_TOTALTIMEOUTS = 64;
|
||||||
|
$PCF_XONXOFF = 16;
|
||||||
|
$PIPE_ACCESS_DUPLEX = 3;
|
||||||
|
$PIPE_ACCESS_INBOUND = 1;
|
||||||
|
$PIPE_ACCESS_OUTBOUND = 2;
|
||||||
|
$PIPE_NOWAIT = 1;
|
||||||
|
$PIPE_READMODE_BYTE = 0;
|
||||||
|
$PIPE_READMODE_MESSAGE = 2;
|
||||||
|
$PIPE_TYPE_BYTE = 0;
|
||||||
|
$PIPE_TYPE_MESSAGE = 4;
|
||||||
|
$PIPE_UNLIMITED_INSTANCES = 255;
|
||||||
|
$PIPE_WAIT = 0;
|
||||||
|
$PROCESS_HEAP_ENTRY_BUSY = 4;
|
||||||
|
$PROCESS_HEAP_ENTRY_DDESHARE = 32;
|
||||||
|
$PROCESS_HEAP_ENTRY_MOVEABLE = 16;
|
||||||
|
$PROCESS_HEAP_REGION = 1;
|
||||||
|
$PROCESS_HEAP_UNCOMMITTED_RANGE = 2;
|
||||||
|
$PROFILE_KERNEL = 536870912;
|
||||||
|
$PROFILE_SERVER = 1073741824;
|
||||||
|
$PROFILE_USER = 268435456;
|
||||||
|
$PST_FAX = 33;
|
||||||
|
$PST_LAT = 257;
|
||||||
|
$PST_MODEM = 6;
|
||||||
|
$PST_NETWORK_BRIDGE = 256;
|
||||||
|
$PST_PARALLEL_PORT = 2;
|
||||||
|
$PST_RS232 = 1;
|
||||||
|
$PST_RS423 = 4;
|
||||||
|
$PST_RS442 = 3;
|
||||||
|
$PST_RS449 = 6;
|
||||||
|
$PST_SCANNER = 34;
|
||||||
|
$PST_TCPIP_TELNET = 258;
|
||||||
|
$PST_UNSPECIFIED = 0;
|
||||||
|
$PST_X25 = 259;
|
||||||
|
$PURGE_RXABORT = 2;
|
||||||
|
$PURGE_RXCLEAR = 8;
|
||||||
|
$PURGE_TXABORT = 1;
|
||||||
|
$PURGE_TXCLEAR = 4;
|
||||||
|
$REALTIME_PRIORITY_CLASS = 256;
|
||||||
|
$RESETDEV = 7;
|
||||||
|
$RIP_EVENT = 9;
|
||||||
|
$RTS_CONTROL_DISABLE = 0;
|
||||||
|
$RTS_CONTROL_ENABLE = 1;
|
||||||
|
$RTS_CONTROL_HANDSHAKE = 2;
|
||||||
|
$RTS_CONTROL_TOGGLE = 3;
|
||||||
|
$SCS_32BIT_BINARY = 0;
|
||||||
|
$SCS_DOS_BINARY = 1;
|
||||||
|
$SCS_OS216_BINARY = 5;
|
||||||
|
$SCS_PIF_BINARY = 3;
|
||||||
|
$SCS_POSIX_BINARY = 4;
|
||||||
|
$SCS_WOW_BINARY = 2;
|
||||||
|
$SEM_FAILCRITICALERRORS = 1;
|
||||||
|
$SEM_NOALIGNMENTFAULTEXCEPT = 4;
|
||||||
|
$SEM_NOGPFAULTERRORBOX = 2;
|
||||||
|
$SEM_NOOPENFILEERRORBOX = 32768;
|
||||||
|
$SETBREAK = 8;
|
||||||
|
$SETDTR = 5;
|
||||||
|
$SETRTS = 3;
|
||||||
|
$SETXOFF = 1;
|
||||||
|
$SETXON = 2;
|
||||||
|
$SHUTDOWN_NORETRY = 1;
|
||||||
|
$SPACEPARITY = 4;
|
||||||
|
$SP_BAUD = 2;
|
||||||
|
$SP_DATABITS = 4;
|
||||||
|
$SP_HANDSHAKING = 16;
|
||||||
|
$SP_PARITY = 1;
|
||||||
|
$SP_PARITY_CHECK = 32;
|
||||||
|
$SP_RLSD = 64;
|
||||||
|
$SP_SERIALCOMM = 1;
|
||||||
|
$SP_STOPBITS = 8;
|
||||||
|
$STARTF_FORCEOFFFEEDBACK = 128;
|
||||||
|
$STARTF_FORCEONFEEDBACK = 64;
|
||||||
|
$STARTF_RUNFULLSCREEN = 32;
|
||||||
|
$STARTF_USECOUNTCHARS = 8;
|
||||||
|
$STARTF_USEFILLATTRIBUTE = 16;
|
||||||
|
$STARTF_USEHOTKEY = 512;
|
||||||
|
$STARTF_USEPOSITION = 4;
|
||||||
|
$STARTF_USESHOWWINDOW = 1;
|
||||||
|
$STARTF_USESIZE = 2;
|
||||||
|
$STARTF_USESTDHANDLES = 256;
|
||||||
|
$STD_ERROR_HANDLE = -12;
|
||||||
|
$STD_INPUT_HANDLE = -10;
|
||||||
|
$STD_OUTPUT_HANDLE = -11;
|
||||||
|
$STILL_ACTIVE = 259;
|
||||||
|
$STOPBITS_10 = 1;
|
||||||
|
$STOPBITS_15 = 2;
|
||||||
|
$STOPBITS_20 = 4;
|
||||||
|
$TF_FORCEDRIVE = 128;
|
||||||
|
$THREAD_PRIORITY_ABOVE_NORMAL = 1;
|
||||||
|
$THREAD_PRIORITY_BELOW_NORMAL = -1;
|
||||||
|
$THREAD_PRIORITY_ERROR_RETURN = 2147483647;
|
||||||
|
$THREAD_PRIORITY_HIGHEST = 2;
|
||||||
|
$THREAD_PRIORITY_IDLE = -15;
|
||||||
|
$THREAD_PRIORITY_LOWEST = -2;
|
||||||
|
$THREAD_PRIORITY_NORMAL = 0;
|
||||||
|
$THREAD_PRIORITY_TIME_CRITICAL = 15;
|
||||||
|
$TIME_ZONE_ID_DAYLIGHT = 2;
|
||||||
|
$TIME_ZONE_ID_INVALID = -1;
|
||||||
|
$TIME_ZONE_ID_STANDARD = 1;
|
||||||
|
$TIME_ZONE_ID_UNKNOWN = 0;
|
||||||
|
$TLS_OUT_OF_INDEXES = -1;
|
||||||
|
$TRUNCATE_EXISTING = 5;
|
||||||
|
$TWOSTOPBITS = 2;
|
||||||
|
$UNLOAD_DLL_DEBUG_EVENT = 7;
|
||||||
|
$VER_PLATFORM_WIN32_NT = 2;
|
||||||
|
$VER_PLATFORM_WIN32_WINDOWS = 1;
|
||||||
|
$VER_PLATFORM_WIN32s = 0;
|
||||||
|
$WAIT_ABANDONED = 128;
|
||||||
|
$WAIT_ABANDONED_0 = 128;
|
||||||
|
$WAIT_FAILED = -1;
|
||||||
|
$WAIT_IO_COMPLETION = 192;
|
||||||
|
$WAIT_OBJECT_0 = 0;
|
||||||
|
$WAIT_TIMEOUT = 258;
|
||||||
|
$WEP_FREE_DLL = 0;
|
||||||
|
$WEP_SYSTEM_EXIT = 1;
|
|
@ -0,0 +1,49 @@
|
||||||
|
# Automatically generated by make_symbols; DO NOT EDIT!!
|
||||||
|
#
|
||||||
|
# Perl definitions for header file wincon.h
|
||||||
|
#
|
||||||
|
|
||||||
|
$BACKGROUND_BLUE = 16;
|
||||||
|
$BACKGROUND_GREEN = 32;
|
||||||
|
$BACKGROUND_INTENSITY = 128;
|
||||||
|
$BACKGROUND_RED = 64;
|
||||||
|
$CAPSLOCK_ON = 128;
|
||||||
|
$CONSOLE_TEXTMODE_BUFFER = 1;
|
||||||
|
$CTRL_BREAK_EVENT = 1;
|
||||||
|
$CTRL_CLOSE_EVENT = 2;
|
||||||
|
$CTRL_C_EVENT = 0;
|
||||||
|
$CTRL_LOGOFF_EVENT = 5;
|
||||||
|
$CTRL_SHUTDOWN_EVENT = 6;
|
||||||
|
$DOUBLE_CLICK = 2;
|
||||||
|
$ENABLE_ECHO_INPUT = 4;
|
||||||
|
$ENABLE_LINE_INPUT = 2;
|
||||||
|
$ENABLE_MOUSE_INPUT = 16;
|
||||||
|
$ENABLE_PROCESSED_INPUT = 1;
|
||||||
|
$ENABLE_PROCESSED_OUTPUT = 1;
|
||||||
|
$ENABLE_WINDOW_INPUT = 8;
|
||||||
|
$ENABLE_WRAP_AT_EOL_OUTPUT = 2;
|
||||||
|
$ENHANCED_KEY = 256;
|
||||||
|
$FOCUS_EVENT = 16;
|
||||||
|
$FOREGROUND_BLUE = 1;
|
||||||
|
$FOREGROUND_GREEN = 2;
|
||||||
|
$FOREGROUND_INTENSITY = 8;
|
||||||
|
$FOREGROUND_RED = 4;
|
||||||
|
$FROM_LEFT_1ST_BUTTON_PRESSED = 1;
|
||||||
|
$FROM_LEFT_2ND_BUTTON_PRESSED = 4;
|
||||||
|
$FROM_LEFT_3RD_BUTTON_PRESSED = 8;
|
||||||
|
$FROM_LEFT_4TH_BUTTON_PRESSED = 16;
|
||||||
|
$KEY_EVENT = 1;
|
||||||
|
$LEFT_ALT_PRESSED = 2;
|
||||||
|
$LEFT_CTRL_PRESSED = 8;
|
||||||
|
$MENU_EVENT = 8;
|
||||||
|
$MOUSE_EVENT = 2;
|
||||||
|
$MOUSE_MOVED = 1;
|
||||||
|
$MOUSE_WHEELED = 4;
|
||||||
|
$NUMLOCK_ON = 32;
|
||||||
|
$RIGHTMOST_BUTTON_PRESSED = 2;
|
||||||
|
$RIGHT_ALT_PRESSED = 1;
|
||||||
|
$RIGHT_CTRL_PRESSED = 4;
|
||||||
|
$SCROLLLOCK_ON = 64;
|
||||||
|
$SHIFT_PRESSED = 16;
|
||||||
|
$WINDOW_BUFFER_SIZE_EVENT = 4;
|
||||||
|
$WINE_ENABLE_LINE_INPUT_EMACS = 128;
|
|
@ -0,0 +1,13 @@
|
||||||
|
# Automatically generated by make_symbols; DO NOT EDIT!!
|
||||||
|
#
|
||||||
|
# Perl definitions for header file windef.h
|
||||||
|
#
|
||||||
|
|
||||||
|
$HFILE_ERROR = -1;
|
||||||
|
$MAX_PATH = 260;
|
||||||
|
$WINVER = 1280;
|
||||||
|
$_MAX_DIR = 256;
|
||||||
|
$_MAX_DRIVE = 3;
|
||||||
|
$_MAX_EXT = 256;
|
||||||
|
$_MAX_FNAME = 256;
|
||||||
|
$_MAX_PATH = 260;
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,259 @@
|
||||||
|
# Automatically generated by make_symbols; DO NOT EDIT!!
|
||||||
|
#
|
||||||
|
# Perl definitions for header file winnls.h
|
||||||
|
#
|
||||||
|
|
||||||
|
$C1_ALPHA = 256;
|
||||||
|
$C1_BLANK = 64;
|
||||||
|
$C1_CNTRL = 32;
|
||||||
|
$C1_DIGIT = 4;
|
||||||
|
$C1_LOWER = 2;
|
||||||
|
$C1_PUNCT = 16;
|
||||||
|
$C1_SPACE = 8;
|
||||||
|
$C1_UPPER = 1;
|
||||||
|
$C1_XDIGIT = 128;
|
||||||
|
$C2_ARABICNUMBER = 6;
|
||||||
|
$C2_BLOCKSEPARATOR = 8;
|
||||||
|
$C2_COMMONSEPARATOR = 7;
|
||||||
|
$C2_EUROPENUMBER = 3;
|
||||||
|
$C2_EUROPESEPARATOR = 4;
|
||||||
|
$C2_EUROPETERMINATOR = 5;
|
||||||
|
$C2_LEFTTORIGHT = 1;
|
||||||
|
$C2_NOTAPPLICABLE = 0;
|
||||||
|
$C2_OTHERNEUTRAL = 11;
|
||||||
|
$C2_RIGHTTOLEFT = 2;
|
||||||
|
$C2_SEGMENTSEPARATOR = 9;
|
||||||
|
$C2_WHITESPACE = 10;
|
||||||
|
$C3_ALPHA = 32768;
|
||||||
|
$C3_DIACRITIC = 2;
|
||||||
|
$C3_FULLWIDTH = 128;
|
||||||
|
$C3_HALFWIDTH = 64;
|
||||||
|
$C3_HIRAGANA = 32;
|
||||||
|
$C3_IDEOGRAPH = 256;
|
||||||
|
$C3_KASHIDA = 512;
|
||||||
|
$C3_KATAKANA = 16;
|
||||||
|
$C3_LEXICAL = 1024;
|
||||||
|
$C3_NONSPACING = 1;
|
||||||
|
$C3_NOTAPPLICABLE = 0;
|
||||||
|
$C3_SYMBOL = 8;
|
||||||
|
$C3_VOWELMARK = 4;
|
||||||
|
$CAL_GREGORIAN = 1;
|
||||||
|
$CAL_GREGORIAN_ARABIC = 10;
|
||||||
|
$CAL_GREGORIAN_ME_FRENCH = 9;
|
||||||
|
$CAL_GREGORIAN_US = 2;
|
||||||
|
$CAL_GREGORIAN_XLIT_ENGLISH = 11;
|
||||||
|
$CAL_GREGORIAN_XLIT_FRENCH = 12;
|
||||||
|
$CAL_HEBREW = 8;
|
||||||
|
$CAL_HIJRI = 6;
|
||||||
|
$CAL_ICALINTVALUE = 1;
|
||||||
|
$CAL_IYEAROFFSETRANGE = 3;
|
||||||
|
$CAL_JAPAN = 3;
|
||||||
|
$CAL_KOREA = 5;
|
||||||
|
$CAL_SABBREVDAYNAME1 = 14;
|
||||||
|
$CAL_SABBREVDAYNAME2 = 15;
|
||||||
|
$CAL_SABBREVDAYNAME3 = 16;
|
||||||
|
$CAL_SABBREVDAYNAME4 = 17;
|
||||||
|
$CAL_SABBREVDAYNAME5 = 18;
|
||||||
|
$CAL_SABBREVDAYNAME6 = 19;
|
||||||
|
$CAL_SABBREVDAYNAME7 = 20;
|
||||||
|
$CAL_SABBREVMONTHNAME1 = 34;
|
||||||
|
$CAL_SABBREVMONTHNAME10 = 43;
|
||||||
|
$CAL_SABBREVMONTHNAME11 = 44;
|
||||||
|
$CAL_SABBREVMONTHNAME12 = 45;
|
||||||
|
$CAL_SABBREVMONTHNAME13 = 46;
|
||||||
|
$CAL_SABBREVMONTHNAME2 = 35;
|
||||||
|
$CAL_SABBREVMONTHNAME3 = 36;
|
||||||
|
$CAL_SABBREVMONTHNAME4 = 37;
|
||||||
|
$CAL_SABBREVMONTHNAME5 = 38;
|
||||||
|
$CAL_SABBREVMONTHNAME6 = 39;
|
||||||
|
$CAL_SABBREVMONTHNAME7 = 40;
|
||||||
|
$CAL_SABBREVMONTHNAME8 = 41;
|
||||||
|
$CAL_SABBREVMONTHNAME9 = 42;
|
||||||
|
$CAL_SCALNAME = 2;
|
||||||
|
$CAL_SDAYNAME1 = 7;
|
||||||
|
$CAL_SDAYNAME2 = 8;
|
||||||
|
$CAL_SDAYNAME3 = 9;
|
||||||
|
$CAL_SDAYNAME4 = 10;
|
||||||
|
$CAL_SDAYNAME5 = 11;
|
||||||
|
$CAL_SDAYNAME6 = 12;
|
||||||
|
$CAL_SDAYNAME7 = 13;
|
||||||
|
$CAL_SERASTRING = 4;
|
||||||
|
$CAL_SLONGDATE = 6;
|
||||||
|
$CAL_SMONTHNAME1 = 21;
|
||||||
|
$CAL_SMONTHNAME10 = 30;
|
||||||
|
$CAL_SMONTHNAME11 = 31;
|
||||||
|
$CAL_SMONTHNAME12 = 32;
|
||||||
|
$CAL_SMONTHNAME13 = 33;
|
||||||
|
$CAL_SMONTHNAME2 = 22;
|
||||||
|
$CAL_SMONTHNAME3 = 23;
|
||||||
|
$CAL_SMONTHNAME4 = 24;
|
||||||
|
$CAL_SMONTHNAME5 = 25;
|
||||||
|
$CAL_SMONTHNAME6 = 26;
|
||||||
|
$CAL_SMONTHNAME7 = 27;
|
||||||
|
$CAL_SMONTHNAME8 = 28;
|
||||||
|
$CAL_SMONTHNAME9 = 29;
|
||||||
|
$CAL_SSHORTDATE = 5;
|
||||||
|
$CAL_SYEARMONTH = 47;
|
||||||
|
$CAL_TAIWAN = 4;
|
||||||
|
$CAL_THAI = 7;
|
||||||
|
$CP_ACP = 0;
|
||||||
|
$CP_MACCP = 2;
|
||||||
|
$CP_OEMCP = 1;
|
||||||
|
$CP_SYMBOL = 42;
|
||||||
|
$CP_THREAD_ACP = 3;
|
||||||
|
$CP_UTF7 = 65000;
|
||||||
|
$CP_UTF8 = 65001;
|
||||||
|
$CT_CTYPE1 = 1;
|
||||||
|
$CT_CTYPE2 = 2;
|
||||||
|
$CT_CTYPE3 = 4;
|
||||||
|
$DATE_DATEVARSONLY = 256;
|
||||||
|
$DATE_LONGDATE = 2;
|
||||||
|
$DATE_SHORTDATE = 1;
|
||||||
|
$DATE_USE_ALT_CALENDAR = 4;
|
||||||
|
$ITU_IMPLEMENTED_TESTS = 520;
|
||||||
|
$LCID_INSTALLED = 1;
|
||||||
|
$LCMAP_BYTEREV = 2048;
|
||||||
|
$LCMAP_FULLWIDTH = 8388608;
|
||||||
|
$LCMAP_HALFWIDTH = 4194304;
|
||||||
|
$LCMAP_HIRAGANA = 1048576;
|
||||||
|
$LCMAP_KATAKANA = 2097152;
|
||||||
|
$LCMAP_LOWERCASE = 256;
|
||||||
|
$LCMAP_SORTKEY = 1024;
|
||||||
|
$LCMAP_UPPERCASE = 512;
|
||||||
|
$LOCALE_FONTSIGNATURE = 88;
|
||||||
|
$LOCALE_ICALENDARTYPE = 4105;
|
||||||
|
$LOCALE_ICENTURY = 36;
|
||||||
|
$LOCALE_ICOUNTRY = 5;
|
||||||
|
$LOCALE_ICURRDIGITS = 25;
|
||||||
|
$LOCALE_ICURRENCY = 27;
|
||||||
|
$LOCALE_IDATE = 33;
|
||||||
|
$LOCALE_IDAYLZERO = 38;
|
||||||
|
$LOCALE_IDEFAULTANSICODEPAGE = 4100;
|
||||||
|
$LOCALE_IDEFAULTCODEPAGE = 11;
|
||||||
|
$LOCALE_IDEFAULTCOUNTRY = 10;
|
||||||
|
$LOCALE_IDEFAULTEBCDICCODEPAGE = 4114;
|
||||||
|
$LOCALE_IDEFAULTLANGUAGE = 9;
|
||||||
|
$LOCALE_IDEFAULTMACCODEPAGE = 4113;
|
||||||
|
$LOCALE_IDIGITS = 17;
|
||||||
|
$LOCALE_IDIGITSUBSTITUTION = 4116;
|
||||||
|
$LOCALE_IFIRSTDAYOFWEEK = 4108;
|
||||||
|
$LOCALE_IFIRSTWEEKOFYEAR = 4109;
|
||||||
|
$LOCALE_IINTLCURRDIGITS = 26;
|
||||||
|
$LOCALE_ILANGUAGE = 1;
|
||||||
|
$LOCALE_ILDATE = 34;
|
||||||
|
$LOCALE_ILZERO = 18;
|
||||||
|
$LOCALE_IMEASURE = 13;
|
||||||
|
$LOCALE_IMONLZERO = 39;
|
||||||
|
$LOCALE_INEGCURR = 28;
|
||||||
|
$LOCALE_INEGNUMBER = 4112;
|
||||||
|
$LOCALE_INEGSEPBYSPACE = 87;
|
||||||
|
$LOCALE_INEGSIGNPOSN = 83;
|
||||||
|
$LOCALE_INEGSYMPRECEDES = 86;
|
||||||
|
$LOCALE_IOPTIONALCALENDAR = 4107;
|
||||||
|
$LOCALE_IPAPERSIZE = 4106;
|
||||||
|
$LOCALE_IPOSSEPBYSPACE = 85;
|
||||||
|
$LOCALE_IPOSSIGNPOSN = 82;
|
||||||
|
$LOCALE_IPOSSYMPRECEDES = 84;
|
||||||
|
$LOCALE_ITIME = 35;
|
||||||
|
$LOCALE_ITIMEMARKPOSN = 4101;
|
||||||
|
$LOCALE_ITLZERO = 37;
|
||||||
|
$LOCALE_LOCALEINFOFLAGSMASK = -1073741824;
|
||||||
|
$LOCALE_NOUSEROVERRIDE = -2147483648;
|
||||||
|
$LOCALE_S1159 = 40;
|
||||||
|
$LOCALE_S2359 = 41;
|
||||||
|
$LOCALE_SABBREVCTRYNAME = 7;
|
||||||
|
$LOCALE_SABBREVDAYNAME1 = 49;
|
||||||
|
$LOCALE_SABBREVDAYNAME2 = 50;
|
||||||
|
$LOCALE_SABBREVDAYNAME3 = 51;
|
||||||
|
$LOCALE_SABBREVDAYNAME4 = 52;
|
||||||
|
$LOCALE_SABBREVDAYNAME5 = 53;
|
||||||
|
$LOCALE_SABBREVDAYNAME6 = 54;
|
||||||
|
$LOCALE_SABBREVDAYNAME7 = 55;
|
||||||
|
$LOCALE_SABBREVLANGNAME = 3;
|
||||||
|
$LOCALE_SABBREVMONTHNAME1 = 68;
|
||||||
|
$LOCALE_SABBREVMONTHNAME10 = 77;
|
||||||
|
$LOCALE_SABBREVMONTHNAME11 = 78;
|
||||||
|
$LOCALE_SABBREVMONTHNAME12 = 79;
|
||||||
|
$LOCALE_SABBREVMONTHNAME13 = 4111;
|
||||||
|
$LOCALE_SABBREVMONTHNAME2 = 69;
|
||||||
|
$LOCALE_SABBREVMONTHNAME3 = 70;
|
||||||
|
$LOCALE_SABBREVMONTHNAME4 = 71;
|
||||||
|
$LOCALE_SABBREVMONTHNAME5 = 72;
|
||||||
|
$LOCALE_SABBREVMONTHNAME6 = 73;
|
||||||
|
$LOCALE_SABBREVMONTHNAME7 = 74;
|
||||||
|
$LOCALE_SABBREVMONTHNAME8 = 75;
|
||||||
|
$LOCALE_SABBREVMONTHNAME9 = 76;
|
||||||
|
$LOCALE_SCOUNTRY = 6;
|
||||||
|
$LOCALE_SCURRENCY = 20;
|
||||||
|
$LOCALE_SDATE = 29;
|
||||||
|
$LOCALE_SDAYNAME1 = 42;
|
||||||
|
$LOCALE_SDAYNAME2 = 43;
|
||||||
|
$LOCALE_SDAYNAME3 = 44;
|
||||||
|
$LOCALE_SDAYNAME4 = 45;
|
||||||
|
$LOCALE_SDAYNAME5 = 46;
|
||||||
|
$LOCALE_SDAYNAME6 = 47;
|
||||||
|
$LOCALE_SDAYNAME7 = 48;
|
||||||
|
$LOCALE_SDECIMAL = 14;
|
||||||
|
$LOCALE_SENGCOUNTRY = 4098;
|
||||||
|
$LOCALE_SENGCURRNAME = 4103;
|
||||||
|
$LOCALE_SENGLANGUAGE = 4097;
|
||||||
|
$LOCALE_SGROUPING = 16;
|
||||||
|
$LOCALE_SINTLSYMBOL = 21;
|
||||||
|
$LOCALE_SISO3166CTRYNAME = 90;
|
||||||
|
$LOCALE_SISO639LANGNAME = 89;
|
||||||
|
$LOCALE_SLANGUAGE = 2;
|
||||||
|
$LOCALE_SLIST = 12;
|
||||||
|
$LOCALE_SLONGDATE = 32;
|
||||||
|
$LOCALE_SMONDECIMALSEP = 22;
|
||||||
|
$LOCALE_SMONGROUPING = 24;
|
||||||
|
$LOCALE_SMONTHNAME1 = 56;
|
||||||
|
$LOCALE_SMONTHNAME10 = 65;
|
||||||
|
$LOCALE_SMONTHNAME11 = 66;
|
||||||
|
$LOCALE_SMONTHNAME12 = 67;
|
||||||
|
$LOCALE_SMONTHNAME13 = 4110;
|
||||||
|
$LOCALE_SMONTHNAME2 = 57;
|
||||||
|
$LOCALE_SMONTHNAME3 = 58;
|
||||||
|
$LOCALE_SMONTHNAME4 = 59;
|
||||||
|
$LOCALE_SMONTHNAME5 = 60;
|
||||||
|
$LOCALE_SMONTHNAME6 = 61;
|
||||||
|
$LOCALE_SMONTHNAME7 = 62;
|
||||||
|
$LOCALE_SMONTHNAME8 = 63;
|
||||||
|
$LOCALE_SMONTHNAME9 = 64;
|
||||||
|
$LOCALE_SMONTHOUSANDSEP = 23;
|
||||||
|
$LOCALE_SNATIVECTRYNAME = 8;
|
||||||
|
$LOCALE_SNATIVECURRNAME = 4104;
|
||||||
|
$LOCALE_SNATIVEDIGITS = 19;
|
||||||
|
$LOCALE_SNATIVELANGNAME = 4;
|
||||||
|
$LOCALE_SNEGATIVESIGN = 81;
|
||||||
|
$LOCALE_SPOSITIVESIGN = 80;
|
||||||
|
$LOCALE_SSHORTDATE = 31;
|
||||||
|
$LOCALE_SSORTNAME = 4115;
|
||||||
|
$LOCALE_STHOUSAND = 15;
|
||||||
|
$LOCALE_STIME = 30;
|
||||||
|
$LOCALE_STIMEFORMAT = 4099;
|
||||||
|
$LOCALE_SYEARMONTH = 4102;
|
||||||
|
$LOCALE_TIMEDATEBOTH = 768;
|
||||||
|
$LOCALE_USE_CP_ACP = 1073741824;
|
||||||
|
$MAX_DEFAULTCHAR = 2;
|
||||||
|
$MAX_LEADBYTES = 12;
|
||||||
|
$MB_COMPOSITE = 2;
|
||||||
|
$MB_ERR_INVALID_CHARS = 8;
|
||||||
|
$MB_PRECOMPOSED = 1;
|
||||||
|
$MB_USEGLYPHCHARS = 4;
|
||||||
|
$NORM_IGNORECASE = 1;
|
||||||
|
$NORM_IGNOREKANATYPE = 65536;
|
||||||
|
$NORM_IGNORENONSPACE = 2;
|
||||||
|
$NORM_IGNORESYMBOLS = 4;
|
||||||
|
$NORM_IGNOREWIDTH = 131072;
|
||||||
|
$NORM_STRINGSORT = 4096;
|
||||||
|
$SORT_STRINGSORT = 4096;
|
||||||
|
$TIME_FORCE24HOURFORMAT = 8;
|
||||||
|
$TIME_NOMINUTESORSECONDS = 1;
|
||||||
|
$TIME_NOSECONDS = 2;
|
||||||
|
$TIME_NOTIMEMARKER = 4;
|
||||||
|
$TIME_TIMEVARSONLY = 512;
|
||||||
|
$WC_COMPOSITECHECK = 512;
|
||||||
|
$WC_DEFAULTCHAR = 64;
|
||||||
|
$WC_DISCARDNS = 16;
|
||||||
|
$WC_NO_BEST_FIT_CHARS = 1024;
|
||||||
|
$WC_SEPCHARS = 32;
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,12 @@
|
||||||
|
# Automatically generated by make_symbols; DO NOT EDIT!!
|
||||||
|
#
|
||||||
|
# Perl definitions for header file winreg.h
|
||||||
|
#
|
||||||
|
|
||||||
|
$HKEY_CLASSES_ROOT = -2147483648;
|
||||||
|
$HKEY_CURRENT_CONFIG = -2147483643;
|
||||||
|
$HKEY_CURRENT_USER = -2147483647;
|
||||||
|
$HKEY_DYN_DATA = -2147483642;
|
||||||
|
$HKEY_LOCAL_MACHINE = -2147483646;
|
||||||
|
$HKEY_PERFORMANCE_DATA = -2147483644;
|
||||||
|
$HKEY_USERS = -2147483645;
|
|
@ -0,0 +1,74 @@
|
||||||
|
# Automatically generated by make_symbols; DO NOT EDIT!!
|
||||||
|
#
|
||||||
|
# Perl definitions for header file winsock2.h
|
||||||
|
#
|
||||||
|
|
||||||
|
$BASE_PROTOCOL = 1;
|
||||||
|
$CF_ACCEPT = 0;
|
||||||
|
$CF_DEFER = 2;
|
||||||
|
$CF_REJECT = 1;
|
||||||
|
$FD_ACCEPT_BIT = 3;
|
||||||
|
$FD_CLOSE_BIT = 5;
|
||||||
|
$FD_CONNECT_BIT = 4;
|
||||||
|
$FD_MAX_EVENTS = 10;
|
||||||
|
$FD_OOB_BIT = 2;
|
||||||
|
$FD_READ_BIT = 0;
|
||||||
|
$FD_WRITE_BIT = 1;
|
||||||
|
$INCL_WINSOCK_API_PROTOTYPES = 1;
|
||||||
|
$INCL_WINSOCK_API_TYPEDEFS = 0;
|
||||||
|
$IOC_PROTOCOL = 268435456;
|
||||||
|
$IOC_UNIX = 0;
|
||||||
|
$IOC_VENDOR = 402653184;
|
||||||
|
$IOC_WS2 = 134217728;
|
||||||
|
$LAYERED_PROTOCOL = 0;
|
||||||
|
$MAX_PROTOCOL_CHAIN = 7;
|
||||||
|
$PVD_CONFIG = 12289;
|
||||||
|
$SD_BOTH = 2;
|
||||||
|
$SD_RECEIVE = 0;
|
||||||
|
$SD_SEND = 1;
|
||||||
|
$SG_CONSTRAINED_GROUP = 2;
|
||||||
|
$SG_UNCONSTRAINED_GROUP = 1;
|
||||||
|
$SIO_ADDRESS_LIST_CHANGE = 671088663;
|
||||||
|
$SIO_ADDRESS_LIST_QUERY = 1207959574;
|
||||||
|
$SIO_ASSOCIATE_HANDLE = -2013265919;
|
||||||
|
$SIO_ENABLE_CIRCULAR_QUEUEING = 671088642;
|
||||||
|
$SIO_FIND_ROUTE = 1207959555;
|
||||||
|
$SIO_FLUSH = 671088644;
|
||||||
|
$SIO_GET_BROADCAST_ADDRESS = 1207959557;
|
||||||
|
$SIO_GET_EXTENSION_FUNCTION_POINTER = -939524090;
|
||||||
|
$SIO_GET_GROUP_QOS = -939524088;
|
||||||
|
$SIO_GET_INTERFACE_LIST = 1074033791;
|
||||||
|
$SIO_GET_QOS = -939524089;
|
||||||
|
$SIO_MULTICAST_SCOPE = -2013265910;
|
||||||
|
$SIO_MULTIPOINT_LOOPBACK = -2013265911;
|
||||||
|
$SIO_QUERY_TARGET_PNP_HANDLE = 1207959576;
|
||||||
|
$SIO_ROUTING_INTERFACE_CHANGE = -2013265899;
|
||||||
|
$SIO_ROUTING_INTERFACE_QUERY = -939524076;
|
||||||
|
$SIO_SET_GROUP_QOS = -2013265908;
|
||||||
|
$SIO_SET_QOS = -2013265909;
|
||||||
|
$SIO_TRANSLATE_HANDLE = -939524083;
|
||||||
|
$SO_CONDITIONAL_ACCEPT = 12290;
|
||||||
|
$SO_GROUP_ID = 8193;
|
||||||
|
$SO_GROUP_PRIORITY = 8194;
|
||||||
|
$SO_MAX_MSG_SIZE = 8195;
|
||||||
|
$SO_PROTOCOL_INFOA = 8196;
|
||||||
|
$SO_PROTOCOL_INFOW = 8197;
|
||||||
|
$WSAPROTOCOL_LEN = 255;
|
||||||
|
$WSA_FLAG_MULTIPOINT_C_LEAF = 4;
|
||||||
|
$WSA_FLAG_MULTIPOINT_C_ROOT = 2;
|
||||||
|
$WSA_FLAG_MULTIPOINT_D_LEAF = 16;
|
||||||
|
$WSA_FLAG_MULTIPOINT_D_ROOT = 8;
|
||||||
|
$WSA_FLAG_OVERLAPPED = 1;
|
||||||
|
$WSA_INFINITE = -1;
|
||||||
|
$WSA_INVALID_EVENT = 0;
|
||||||
|
$WSA_INVALID_HANDLE = 6;
|
||||||
|
$WSA_INVALID_PARAMETER = 87;
|
||||||
|
$WSA_IO_INCOMPLETE = 996;
|
||||||
|
$WSA_IO_PENDING = 997;
|
||||||
|
$WSA_MAXIMUM_WAIT_EVENTS = 64;
|
||||||
|
$WSA_NOT_ENOUGH_MEMORY = 8;
|
||||||
|
$WSA_OPERATION_ABORTED = 995;
|
||||||
|
$WSA_WAIT_EVENT_0 = 0;
|
||||||
|
$WSA_WAIT_FAILED = -1;
|
||||||
|
$WSA_WAIT_IO_COMPLETION = 192;
|
||||||
|
$WSA_WAIT_TIMEOUT = 258;
|
|
@ -0,0 +1,199 @@
|
||||||
|
# Automatically generated by make_symbols; DO NOT EDIT!!
|
||||||
|
#
|
||||||
|
# Perl definitions for header file winspool.h
|
||||||
|
#
|
||||||
|
|
||||||
|
$DEF_PRIORITY = 1;
|
||||||
|
$DI_CHANNEL = 1;
|
||||||
|
$DI_READ_SPOOL_JOB = 3;
|
||||||
|
$FORM_BUILTIN = 1;
|
||||||
|
$FORM_PRINTER = 2;
|
||||||
|
$FORM_USER = 0;
|
||||||
|
$JOB_CONTROL_CANCEL = 3;
|
||||||
|
$JOB_CONTROL_DELETE = 5;
|
||||||
|
$JOB_CONTROL_LAST_PAGE_EJECTED = 7;
|
||||||
|
$JOB_CONTROL_PAUSE = 1;
|
||||||
|
$JOB_CONTROL_RESTART = 4;
|
||||||
|
$JOB_CONTROL_RESUME = 2;
|
||||||
|
$JOB_CONTROL_SENT_TO_PRINTER = 6;
|
||||||
|
$JOB_NOTIFY_FIELD_BYTES_PRINTED = 23;
|
||||||
|
$JOB_NOTIFY_FIELD_DATATYPE = 5;
|
||||||
|
$JOB_NOTIFY_FIELD_DEVMODE = 9;
|
||||||
|
$JOB_NOTIFY_FIELD_DOCUMENT = 13;
|
||||||
|
$JOB_NOTIFY_FIELD_DRIVER_NAME = 8;
|
||||||
|
$JOB_NOTIFY_FIELD_MACHINE_NAME = 1;
|
||||||
|
$JOB_NOTIFY_FIELD_NOTIFY_NAME = 4;
|
||||||
|
$JOB_NOTIFY_FIELD_PAGES_PRINTED = 21;
|
||||||
|
$JOB_NOTIFY_FIELD_PARAMETERS = 7;
|
||||||
|
$JOB_NOTIFY_FIELD_PORT_NAME = 2;
|
||||||
|
$JOB_NOTIFY_FIELD_POSITION = 15;
|
||||||
|
$JOB_NOTIFY_FIELD_PRINTER_NAME = 0;
|
||||||
|
$JOB_NOTIFY_FIELD_PRINT_PROCESSOR = 6;
|
||||||
|
$JOB_NOTIFY_FIELD_PRIORITY = 14;
|
||||||
|
$JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR = 12;
|
||||||
|
$JOB_NOTIFY_FIELD_START_TIME = 17;
|
||||||
|
$JOB_NOTIFY_FIELD_STATUS = 10;
|
||||||
|
$JOB_NOTIFY_FIELD_STATUS_STRING = 11;
|
||||||
|
$JOB_NOTIFY_FIELD_SUBMITTED = 16;
|
||||||
|
$JOB_NOTIFY_FIELD_TIME = 19;
|
||||||
|
$JOB_NOTIFY_FIELD_TOTAL_BYTES = 22;
|
||||||
|
$JOB_NOTIFY_FIELD_TOTAL_PAGES = 20;
|
||||||
|
$JOB_NOTIFY_FIELD_UNTIL_TIME = 18;
|
||||||
|
$JOB_NOTIFY_FIELD_USER_NAME = 3;
|
||||||
|
$JOB_NOTIFY_TYPE = 1;
|
||||||
|
$JOB_POSITION_UNSPECIFIED = 1;
|
||||||
|
$JOB_STATUS_BLOCKED_DEVQ = 512;
|
||||||
|
$JOB_STATUS_DELETED = 256;
|
||||||
|
$JOB_STATUS_DELETING = 4;
|
||||||
|
$JOB_STATUS_ERROR = 2;
|
||||||
|
$JOB_STATUS_OFFLINE = 32;
|
||||||
|
$JOB_STATUS_PAPEROUT = 64;
|
||||||
|
$JOB_STATUS_PAUSED = 1;
|
||||||
|
$JOB_STATUS_PRINTED = 128;
|
||||||
|
$JOB_STATUS_PRINTING = 16;
|
||||||
|
$JOB_STATUS_SPOOLING = 8;
|
||||||
|
$JOB_STATUS_USER_INTERVENTION = 1024;
|
||||||
|
$MAX_PRIORITY = 99;
|
||||||
|
$MIN_PRIORITY = 1;
|
||||||
|
$NO_PRIORITY = 0;
|
||||||
|
$PORT_STATUS_DOOR_OPEN = 7;
|
||||||
|
$PORT_STATUS_NO_TONER = 6;
|
||||||
|
$PORT_STATUS_OFFLINE = 1;
|
||||||
|
$PORT_STATUS_OUTPUT_BIN_FULL = 4;
|
||||||
|
$PORT_STATUS_OUT_OF_MEMORY = 9;
|
||||||
|
$PORT_STATUS_PAPER_JAM = 2;
|
||||||
|
$PORT_STATUS_PAPER_OUT = 3;
|
||||||
|
$PORT_STATUS_PAPER_PROBLEM = 5;
|
||||||
|
$PORT_STATUS_POWER_SAVE = 12;
|
||||||
|
$PORT_STATUS_TONER_LOW = 10;
|
||||||
|
$PORT_STATUS_TYPE_ERROR = 1;
|
||||||
|
$PORT_STATUS_TYPE_INFO = 3;
|
||||||
|
$PORT_STATUS_TYPE_WARNING = 2;
|
||||||
|
$PORT_STATUS_USER_INTERVENTION = 8;
|
||||||
|
$PORT_STATUS_WARMING_UP = 11;
|
||||||
|
$PORT_TYPE_NET_ATTACHED = 8;
|
||||||
|
$PORT_TYPE_READ = 2;
|
||||||
|
$PORT_TYPE_REDIRECTED = 4;
|
||||||
|
$PORT_TYPE_WRITE = 1;
|
||||||
|
$PRINTER_ATTRIBUTE_DEFAULT = 4;
|
||||||
|
$PRINTER_ATTRIBUTE_DIRECT = 2;
|
||||||
|
$PRINTER_ATTRIBUTE_DO_COMPLETE_FIRST = 512;
|
||||||
|
$PRINTER_ATTRIBUTE_ENABLE_BIDI = 2048;
|
||||||
|
$PRINTER_ATTRIBUTE_ENABLE_DEVQ = 128;
|
||||||
|
$PRINTER_ATTRIBUTE_HIDDEN = 32;
|
||||||
|
$PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS = 256;
|
||||||
|
$PRINTER_ATTRIBUTE_LOCAL = 64;
|
||||||
|
$PRINTER_ATTRIBUTE_NETWORK = 16;
|
||||||
|
$PRINTER_ATTRIBUTE_QUEUED = 1;
|
||||||
|
$PRINTER_ATTRIBUTE_SHARED = 8;
|
||||||
|
$PRINTER_ATTRIBUTE_WORK_OFFLINE = 1024;
|
||||||
|
$PRINTER_CHANGE_ADD_FORM = 65536;
|
||||||
|
$PRINTER_CHANGE_ADD_JOB = 256;
|
||||||
|
$PRINTER_CHANGE_ADD_PORT = 1048576;
|
||||||
|
$PRINTER_CHANGE_ADD_PRINTER = 1;
|
||||||
|
$PRINTER_CHANGE_ADD_PRINTER_DRIVER = 268435456;
|
||||||
|
$PRINTER_CHANGE_ADD_PRINT_PROCESSOR = 16777216;
|
||||||
|
$PRINTER_CHANGE_ALL = 2004353023;
|
||||||
|
$PRINTER_CHANGE_CONFIGURE_PORT = 2097152;
|
||||||
|
$PRINTER_CHANGE_DELETE_FORM = 262144;
|
||||||
|
$PRINTER_CHANGE_DELETE_JOB = 1024;
|
||||||
|
$PRINTER_CHANGE_DELETE_PORT = 4194304;
|
||||||
|
$PRINTER_CHANGE_DELETE_PRINTER = 4;
|
||||||
|
$PRINTER_CHANGE_DELETE_PRINTER_DRIVER = 1073741824;
|
||||||
|
$PRINTER_CHANGE_DELETE_PRINTER_PROCESSOR = 67108864;
|
||||||
|
$PRINTER_CHANGE_FAILED_CONNECTION_PRINTER = 8;
|
||||||
|
$PRINTER_CHANGE_FORM = 458752;
|
||||||
|
$PRINTER_CHANGE_JOB = 65280;
|
||||||
|
$PRINTER_CHANGE_PORT = 7340032;
|
||||||
|
$PRINTER_CHANGE_PRINTER = 255;
|
||||||
|
$PRINTER_CHANGE_PRINTER_DRIVER = 1879048192;
|
||||||
|
$PRINTER_CHANGE_PRINT_PROCESSOR = 117440512;
|
||||||
|
$PRINTER_CHANGE_SET_FORM = 131072;
|
||||||
|
$PRINTER_CHANGE_SET_JOB = 512;
|
||||||
|
$PRINTER_CHANGE_SET_PRINTER = 2;
|
||||||
|
$PRINTER_CHANGE_SET_PRINTER_DRIVER = 536870912;
|
||||||
|
$PRINTER_CHANGE_TIMEOUT = -2147483648;
|
||||||
|
$PRINTER_CHANGE_WRITE_JOB = 2048;
|
||||||
|
$PRINTER_CONTROL_PAUSE = 1;
|
||||||
|
$PRINTER_CONTROL_PURGE = 3;
|
||||||
|
$PRINTER_CONTROL_RESUME = 2;
|
||||||
|
$PRINTER_CONTROL_SET_STATUS = 4;
|
||||||
|
$PRINTER_ENUM_CONNECTIONS = 4;
|
||||||
|
$PRINTER_ENUM_CONTAINER = 32768;
|
||||||
|
$PRINTER_ENUM_DEFAULT = 1;
|
||||||
|
$PRINTER_ENUM_EXPAND = 16384;
|
||||||
|
$PRINTER_ENUM_FAVORITE = 4;
|
||||||
|
$PRINTER_ENUM_ICON1 = 65536;
|
||||||
|
$PRINTER_ENUM_ICON2 = 131072;
|
||||||
|
$PRINTER_ENUM_ICON3 = 262144;
|
||||||
|
$PRINTER_ENUM_ICON4 = 524288;
|
||||||
|
$PRINTER_ENUM_ICON5 = 1048576;
|
||||||
|
$PRINTER_ENUM_ICON6 = 2097152;
|
||||||
|
$PRINTER_ENUM_ICON7 = 4194304;
|
||||||
|
$PRINTER_ENUM_ICON8 = 8388608;
|
||||||
|
$PRINTER_ENUM_ICONMASK = 16711680;
|
||||||
|
$PRINTER_ENUM_LOCAL = 2;
|
||||||
|
$PRINTER_ENUM_NAME = 8;
|
||||||
|
$PRINTER_ENUM_NETWORK = 64;
|
||||||
|
$PRINTER_ENUM_REMOTE = 16;
|
||||||
|
$PRINTER_ENUM_SHARED = 32;
|
||||||
|
$PRINTER_ERROR_INFORMATION = -2147483648;
|
||||||
|
$PRINTER_ERROR_JAM = 2;
|
||||||
|
$PRINTER_ERROR_OUTODPAPER = 1;
|
||||||
|
$PRINTER_ERROR_OUTOFTONER = 4;
|
||||||
|
$PRINTER_ERROR_SEVERE = 536870912;
|
||||||
|
$PRINTER_ERROR_WARNING = 1073741824;
|
||||||
|
$PRINTER_NOTIFY_FIELD_ATTRIBUTES = 13;
|
||||||
|
$PRINTER_NOTIFY_FIELD_AVERAGE_PPM = 21;
|
||||||
|
$PRINTER_NOTIFY_FIELD_BYTES_PRINTED = 25;
|
||||||
|
$PRINTER_NOTIFY_FIELD_CJOBS = 20;
|
||||||
|
$PRINTER_NOTIFY_FIELD_COMMENT = 5;
|
||||||
|
$PRINTER_NOTIFY_FIELD_DATATYPE = 11;
|
||||||
|
$PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY = 15;
|
||||||
|
$PRINTER_NOTIFY_FIELD_DEVMODE = 7;
|
||||||
|
$PRINTER_NOTIFY_FIELD_DRIVER_NAME = 4;
|
||||||
|
$PRINTER_NOTIFY_FIELD_LOCATION = 6;
|
||||||
|
$PRINTER_NOTIFY_FIELD_PAGES_PRINTED = 23;
|
||||||
|
$PRINTER_NOTIFY_FIELD_PARAMETERS = 10;
|
||||||
|
$PRINTER_NOTIFY_FIELD_PORT_NAME = 3;
|
||||||
|
$PRINTER_NOTIFY_FIELD_PRINTER_NAME = 1;
|
||||||
|
$PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR = 9;
|
||||||
|
$PRINTER_NOTIFY_FIELD_PRIORITY = 14;
|
||||||
|
$PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTOR = 12;
|
||||||
|
$PRINTER_NOTIFY_FIELD_SEPFILE = 8;
|
||||||
|
$PRINTER_NOTIFY_FIELD_SERVER_NAME = 0;
|
||||||
|
$PRINTER_NOTIFY_FIELD_SHARE_NAME = 2;
|
||||||
|
$PRINTER_NOTIFY_FIELD_START_TIME = 16;
|
||||||
|
$PRINTER_NOTIFY_FIELD_STATUS = 18;
|
||||||
|
$PRINTER_NOTIFY_FIELD_STATUS_STRING = 19;
|
||||||
|
$PRINTER_NOTIFY_FIELD_TOTAL_BYTES = 24;
|
||||||
|
$PRINTER_NOTIFY_FIELD_TOTAL_PAGES = 22;
|
||||||
|
$PRINTER_NOTIFY_FIELD_UNTIL_TIME = 17;
|
||||||
|
$PRINTER_NOTIFY_INFO_DISCARDED = 1;
|
||||||
|
$PRINTER_NOTIFY_OPTIONS_REFRESH = 1;
|
||||||
|
$PRINTER_NOTIFY_TYPE = 0;
|
||||||
|
$PRINTER_STATUS_BUSY = 512;
|
||||||
|
$PRINTER_STATUS_DOOR_OPEN = 4194304;
|
||||||
|
$PRINTER_STATUS_ERROR = 2;
|
||||||
|
$PRINTER_STATUS_INITIALIZING = 32768;
|
||||||
|
$PRINTER_STATUS_IO_ACTIVE = 256;
|
||||||
|
$PRINTER_STATUS_MANUAL_FEED = 32;
|
||||||
|
$PRINTER_STATUS_NOT_AVAILABLE = 4096;
|
||||||
|
$PRINTER_STATUS_NO_TONER = 262144;
|
||||||
|
$PRINTER_STATUS_OFFLINE = 128;
|
||||||
|
$PRINTER_STATUS_OUTPUT_BIN_FULL = 2048;
|
||||||
|
$PRINTER_STATUS_OUT_OF_MEMORY = 2097152;
|
||||||
|
$PRINTER_STATUS_PAGE_PUNT = 524288;
|
||||||
|
$PRINTER_STATUS_PAPER_JAM = 8;
|
||||||
|
$PRINTER_STATUS_PAPER_OUT = 16;
|
||||||
|
$PRINTER_STATUS_PAPER_PROBLEM = 64;
|
||||||
|
$PRINTER_STATUS_PAUSED = 1;
|
||||||
|
$PRINTER_STATUS_PENDING_DELETION = 4;
|
||||||
|
$PRINTER_STATUS_POWER_SAVE = 16777216;
|
||||||
|
$PRINTER_STATUS_PRINTING = 1024;
|
||||||
|
$PRINTER_STATUS_PROCESSING = 16384;
|
||||||
|
$PRINTER_STATUS_SERVER_UNKNOWN = 8388608;
|
||||||
|
$PRINTER_STATUS_TONER_LOW = 131072;
|
||||||
|
$PRINTER_STATUS_USER_INTERVENTION = 1048576;
|
||||||
|
$PRINTER_STATUS_WAITING = 8192;
|
||||||
|
$PRINTER_STATUS_WARMING_UP = 65536;
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,79 @@
|
||||||
|
# Automatically generated by make_symbols; DO NOT EDIT!!
|
||||||
|
#
|
||||||
|
# Perl definitions for header file winver.h
|
||||||
|
#
|
||||||
|
|
||||||
|
$VFFF_ISSHAREDFILE = 1;
|
||||||
|
$VFF_BUFFTOOSMALL = 4;
|
||||||
|
$VFF_CURNEDEST = 1;
|
||||||
|
$VFF_FILEINUSE = 2;
|
||||||
|
$VFT2_DRV_COMM = 10;
|
||||||
|
$VFT2_DRV_DISPLAY = 4;
|
||||||
|
$VFT2_DRV_INPUTMETHOD = 11;
|
||||||
|
$VFT2_DRV_INSTALLABLE = 8;
|
||||||
|
$VFT2_DRV_KEYBOARD = 2;
|
||||||
|
$VFT2_DRV_LANGUAGE = 3;
|
||||||
|
$VFT2_DRV_MOUSE = 5;
|
||||||
|
$VFT2_DRV_NETWORK = 6;
|
||||||
|
$VFT2_DRV_PRINTER = 1;
|
||||||
|
$VFT2_DRV_SOUND = 9;
|
||||||
|
$VFT2_DRV_SYSTEM = 7;
|
||||||
|
$VFT2_FONT_RASTER = 1;
|
||||||
|
$VFT2_FONT_TRUETYPE = 3;
|
||||||
|
$VFT2_FONT_VECTOR = 2;
|
||||||
|
$VFT2_UNKNOWN = 0;
|
||||||
|
$VFT_APP = 1;
|
||||||
|
$VFT_DLL = 2;
|
||||||
|
$VFT_DRV = 3;
|
||||||
|
$VFT_FONT = 4;
|
||||||
|
$VFT_STATIC_LIB = 7;
|
||||||
|
$VFT_UNKNOWN = 0;
|
||||||
|
$VFT_VXD = 5;
|
||||||
|
$VIFF_DONTDELETEOLD = 2;
|
||||||
|
$VIFF_FORCEINSTALL = 1;
|
||||||
|
$VIF_ACCESSVIOLATION = 512;
|
||||||
|
$VIF_BUFFTOOSMALL = 262144;
|
||||||
|
$VIF_CANNOTCREATE = 2048;
|
||||||
|
$VIF_CANNOTDELETE = 4096;
|
||||||
|
$VIF_CANNOTDELETECUR = 16384;
|
||||||
|
$VIF_CANNOTREADDST = 131072;
|
||||||
|
$VIF_CANNOTREADSRC = 65536;
|
||||||
|
$VIF_CANNOTRENAME = 8192;
|
||||||
|
$VIF_DIFFCODEPG = 16;
|
||||||
|
$VIF_DIFFLANG = 8;
|
||||||
|
$VIF_DIFFTYPE = 32;
|
||||||
|
$VIF_FILEINUSE = 128;
|
||||||
|
$VIF_MISMATCH = 2;
|
||||||
|
$VIF_OUTOFMEMORY = 32768;
|
||||||
|
$VIF_OUTOFSPACE = 256;
|
||||||
|
$VIF_SHARINGVIOLATION = 1024;
|
||||||
|
$VIF_SRCOLD = 4;
|
||||||
|
$VIF_TEMPFILE = 1;
|
||||||
|
$VIF_WRITEPROT = 64;
|
||||||
|
$VOS_DOS = 65536;
|
||||||
|
$VOS_DOS_WINDOWS16 = 65537;
|
||||||
|
$VOS_DOS_WINDOWS32 = 65540;
|
||||||
|
$VOS_NT = 262144;
|
||||||
|
$VOS_NT_WINDOWS32 = 262148;
|
||||||
|
$VOS_OS216 = 131072;
|
||||||
|
$VOS_OS216_PM16 = 131074;
|
||||||
|
$VOS_OS232 = 196608;
|
||||||
|
$VOS_OS232_PM32 = 196611;
|
||||||
|
$VOS_UNKNOWN = 0;
|
||||||
|
$VOS__BASE = 0;
|
||||||
|
$VOS__PM16 = 2;
|
||||||
|
$VOS__PM32 = 3;
|
||||||
|
$VOS__WINDOWS16 = 1;
|
||||||
|
$VOS__WINDOWS32 = 4;
|
||||||
|
$VS_FFI_FILEFLAGSMASK = 63;
|
||||||
|
$VS_FFI_SIGNATURE = -17890115;
|
||||||
|
$VS_FFI_STRUCVERSION = 65536;
|
||||||
|
$VS_FF_DEBUG = 1;
|
||||||
|
$VS_FF_INFOINFERRED = 16;
|
||||||
|
$VS_FF_PATCHED = 4;
|
||||||
|
$VS_FF_PRERELEASE = 2;
|
||||||
|
$VS_FF_PRIVATEBUILD = 8;
|
||||||
|
$VS_FF_SPECIALBUILD = 32;
|
||||||
|
$VS_FILE_INFO = 16;
|
||||||
|
$VS_USER_DEFINED = 100;
|
||||||
|
$VS_VERSION_INFO = 1;
|
|
@ -0,0 +1,96 @@
|
||||||
|
#!/usr/bin/perl -w
|
||||||
|
#
|
||||||
|
# Extract #define symbol information from C header files.
|
||||||
|
#
|
||||||
|
# Copyright 2002 Alexandre Julliard
|
||||||
|
#
|
||||||
|
|
||||||
|
# list of symbols (regexps) to skip for each header
|
||||||
|
%skip_list =
|
||||||
|
(
|
||||||
|
"winnt.h" => [ "APIENTRY", "APIPRIVATE", "CALLBACK", "CONST", "EXTERN_C", "PASCAL",
|
||||||
|
"VOID", "DUMMY(STRUCT|UNION)NAME.*", "STDAPI.*", "STDMETHOD.*", "WINAPI.*",
|
||||||
|
"WINE_.*", "_*(cdecl|CDECL|pascal|export|fastcall|stdcall)",
|
||||||
|
"MEM_SYSTEM", "_GET_CONTEXT", "_QUAD_.*",
|
||||||
|
"CONTEXT_(ALPHA|R4000|SPARC|X86|i386|i486)" ],
|
||||||
|
"winbase.h" => [ "(Fill|Move|Zero|Copy)Memory" ],
|
||||||
|
"wingdi.h" => [ "PROFILE_LINKED", "PROFILE_EMBEDDED", "GetCharWidth[AW]" ],
|
||||||
|
"winuser.h" => [ "OemToAnsi[AW]", "OemToAnsiBuff[AW]", "AnsiToOem[AW]", "AnsiToOemBuff[AW]",
|
||||||
|
"Ansi(Next|Prev|Lower|Upper|LowerBuff|UpperBuff)[AW]", "GetNextWindow" ],
|
||||||
|
"winsock2.h" => [ "WSAEVENT", "LPWSAEVENT", "WSAOVERLAPPED", "WS_.*" ]
|
||||||
|
);
|
||||||
|
|
||||||
|
@header_list =
|
||||||
|
(
|
||||||
|
"windef.h",
|
||||||
|
"winnt.h",
|
||||||
|
"winbase.h",
|
||||||
|
"wingdi.h",
|
||||||
|
"winuser.h",
|
||||||
|
"winerror.h",
|
||||||
|
"winnls.h",
|
||||||
|
"winreg.h",
|
||||||
|
"winsock2.h",
|
||||||
|
"winspool.h",
|
||||||
|
"winver.h",
|
||||||
|
"wincon.h",
|
||||||
|
);
|
||||||
|
|
||||||
|
$include_dir = "../../include";
|
||||||
|
|
||||||
|
@list = ($#ARGV >= 0) ? @ARGV : @header_list;
|
||||||
|
|
||||||
|
foreach $basename (@list)
|
||||||
|
{
|
||||||
|
my $skip = $skip_list{$basename};
|
||||||
|
my $result = "include/" . $basename;
|
||||||
|
$result =~ s!\.h$!.pm!;
|
||||||
|
|
||||||
|
open INPUT, "$include_dir/$basename" or die "Cannot open $include_dir/$basename";
|
||||||
|
open OUTPUT, ">sym.c" or die "Cannot create sym.c";
|
||||||
|
print "Building $result\n";
|
||||||
|
|
||||||
|
print OUTPUT <<EOF;
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <limits.h>
|
||||||
|
EOF
|
||||||
|
foreach $inc (@header_list) { print OUTPUT "#include <$inc>\n"; }
|
||||||
|
|
||||||
|
print OUTPUT <<EOF;
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
printf( "# Automatically generated by make_symbols; DO NOT EDIT!! \\n" );
|
||||||
|
printf( "#\\n" );
|
||||||
|
printf( "# Perl definitions for header file $basename\\n" );
|
||||||
|
printf( "#\\n\\n" );
|
||||||
|
EOF
|
||||||
|
|
||||||
|
my %symbols = ();
|
||||||
|
while (<INPUT>)
|
||||||
|
{
|
||||||
|
# extract all #defines
|
||||||
|
next unless (/^\s*\#\s*define\s+([A-Za-z0-9_]+)\s+(.*)$/);
|
||||||
|
my ($name,$value) = ($1,$2);
|
||||||
|
# skip empty value
|
||||||
|
next if ($value eq "");
|
||||||
|
# skip the WINELIB defines
|
||||||
|
next if ($value =~ /WINELIB_NAME_AW/);
|
||||||
|
# skip macros containing multiple values
|
||||||
|
next if ($value =~ /{.*}/);
|
||||||
|
# check against regexps to skip
|
||||||
|
next if (grep { $name =~ /^$_$/ } @$skip);
|
||||||
|
$symbols{$name} = $value;
|
||||||
|
}
|
||||||
|
foreach $sym (sort keys %symbols)
|
||||||
|
{
|
||||||
|
printf OUTPUT " printf(\"\$$sym = %%d;\\n\", (int)($sym));\n";
|
||||||
|
}
|
||||||
|
print OUTPUT " exit(0);\n}\n";
|
||||||
|
close OUTPUT;
|
||||||
|
#print "cc -I../../include -o sym sym.c\n";
|
||||||
|
if (system( "cc -I../../include -o sym sym.c" )) { die "Could not compile sym.c"; }
|
||||||
|
#print "./sym >$result\n";
|
||||||
|
if (system( "./sym >$result" )) { die "Could not run ./sym\n"; }
|
||||||
|
unlink "sym","sym.c";
|
||||||
|
}
|
Loading…
Reference in New Issue