English
Online-Documentation

windows.ph Statement: Erkl

 
[CODE]'{*******************************************************}
'{ derivational from: }
'{ Delphi Run-time Library }
'{ windows 32bit API interface Unit }
'{*******************************************************}

'{ Translated from WINDEF.H }

MAX_PATH = 260;

'{ Translated from WINNT.H (only things needed for API calls) }

'{ Primary language IDs. }

LANG_NEUTRAL = $00;

LANG_AFRIKAANS = $36;
LANG_ALBANIAN = $1c;
LANG_ARABIC = $01;
LANG_BASQUE = $2d;
LANG_BELARUSIAN = $23;
LANG_BULGARIAN = $02;
LANG_CATALAN = $03;
LANG_CHINESE = $04;
LANG_CROATIAN = $1a;
LANG_CZECH = $05;
LANG_DANISH = $06;
LANG_DUTCH = $13;
LANG_ENGLISH = $09;
LANG_ESTONIAN = $25;
LANG_FAEROESE = $38;
LANG_FARSI = $29;
LANG_FINNISH = $0b;
LANG_FRENCH = $0c;
LANG_GERMAN = $07;
LANG_GREEK = $08;
LANG_HEBREW = $0d;
LANG_HUNGARIAN = $0e;
LANG_ICELANDIC = $0f;
LANG_INDONESIAN = $21;
LANG_ITALIAN = $10;
LANG_JAPANESE = $11;
LANG_KOREAN = $12;
LANG_LATVIAN = $26;
LANG_LITHUANIAN = $27;
LANG_NORWEGIAN = $14;
LANG_POLISH = $15;
LANG_PORTUGUESE = $16;
LANG_ROMANIAN = $18;
LANG_RUSSIAN = $19;
LANG_SERBIAN = $1a;
LANG_SLOVAK = $1b;
LANG_SLOVENIAN = $24;
LANG_SPANISH = $0a;
LANG_SWEDISH = $1d;
LANG_THAI = $1e;
LANG_TURKISH = $1f;
LANG_UKRAINIAN = $22;
LANG_VIETNAMESE = $2a;

'{ Sublanguage IDs. }

'{ The name immediately following SUBLANG_ dictates which primary
' language ID that sublanguage ID can be combined with to shape a
' valid language ID. }

SUBLANG_NEUTRAL = $00; '{ language neutral }
SUBLANG_DEFAULT = $01; '{ user default }
SUBLANG_SYS_DEFAULT = $02; '{ system default }

SUBLANG_ARABIC_SAUDI_ARABIA = $01; '{ Arabic (Saudi Arabia) }
SUBLANG_ARABIC_IRAQ = $02; '{ Arabic (Iraq) }
SUBLANG_ARABIC_EGYPT = $03; '{ Arabic (Egypt) }
SUBLANG_ARABIC_LIBYA = $04; '{ Arabic (Libya) }
SUBLANG_ARABIC_ALGERIA = $05; '{ Arabic (Algeria) }
SUBLANG_ARABIC_MOROCCO = $06; '{ Arabic (Morocco) }
SUBLANG_ARABIC_TUNISIA = $07; '{ Arabic (Tunisia) }
SUBLANG_ARABIC_OMAN = $08; '{ Arabic (Oman) }
SUBLANG_ARABIC_YEMEN = $09; '{ Arabic (Yemen) }
SUBLANG_ARABIC_SYRIA = $0a; '{ Arabic (Syria) }
SUBLANG_ARABIC_JORDAN = $0b; '{ Arabic (Jordan) }
SUBLANG_ARABIC_LEBANON = $0c; '{ Arabic (Lebanon) }
SUBLANG_ARABIC_KUWAIT = $0d; '{ Arabic (Kuwait) }
SUBLANG_ARABIC_UAE = $0e; '{ Arabic (u.A.E) }
SUBLANG_ARABIC_BAHRAIN = $0f; '{ Arabic (Bahrain) }
SUBLANG_ARABIC_QATAR = $10; '{ Arabic (Qatar) }
SUBLANG_CHINESE_TRADITIONAL = $01; '{ chinese (taiwan) }
SUBLANG_CHINESE_SIMPLIFIED = $02; '{ chinese (PR China) }
SUBLANG_CHINESE_HONGKONG = $03; '{ chinese (Hong Kong) }
SUBLANG_CHINESE_SINGAPORE = $04; '{ chinese (Singapore) }
SUBLANG_DUTCH = $01; '{ Dutch }
SUBLANG_DUTCH_BELGIAN = $02; '{ Dutch (Belgian) }
SUBLANG_ENGLISH_US = $01; '{ English (USA) }
SUBLANG_ENGLISH_UK = $02; '{ English (UK) }
SUBLANG_ENGLISH_AUS = $03; '{ English (Australian) }
SUBLANG_ENGLISH_CAN = $04; '{ English (Canadian) }
SUBLANG_ENGLISH_NZ = $05; '{ English (New Zealand) }
SUBLANG_ENGLISH_EIRE = $06; '{ English (Irish) }
SUBLANG_ENGLISH_SOUTH_AFRICA = $07; '{ English (South Africa) }
SUBLANG_ENGLISH_JAMAICA = $08; '{ English (jamaica) }
SUBLANG_ENGLISH_CARIBBEAN = $09; '{ English (Caribbean) }
SUBLANG_ENGLISH_BELIZE = $0a; '{ English (Belize) }
SUBLANG_ENGLISH_TRINIDAD = $0b; '{ English (Trinidad) }
SUBLANG_FRENCH = $01; '{ French }
SUBLANG_FRENCH_BELGIAN = $02; '{ French (Belgian) }
SUBLANG_FRENCH_CANADIAN = $03; '{ French (Canadian) }
SUBLANG_FRENCH_SWISS = $04; '{ French (Swiss) }
SUBLANG_FRENCH_LUXEMBOURG = $05; '{ French (Luxembourg) }
SUBLANG_GERMAN = $01; '{ German }
SUBLANG_GERMAN_SWISS = $02; '{ German (Swiss) }
SUBLANG_GERMAN_AUSTRIAN = $03; '{ German (Austrian) }
SUBLANG_GERMAN_LUXEMBOURG = $04; '{ German (Luxembourg) }
SUBLANG_GERMAN_LIECHTENSTEIN = $05; '{ German (Liechtenstein) }
SUBLANG_ITALIAN = $01; '{ Italian }
SUBLANG_ITALIAN_SWISS = $02; '{ Italian (Swiss) }
SUBLANG_KOREAN = $01; '{ Korean (Extended Wansung) }
SUBLANG_KOREAN_JOHAB = $02; '{ Korean (Johab) }
SUBLANG_NORWEGIAN_BOKMAL = $01; '{ Norwegian (Bokmal) }
SUBLANG_NORWEGIAN_NYNORSK = $02; '{ Norwegian (Nynorsk) }
SUBLANG_PORTUGUESE = $02; '{ Portuguese }
SUBLANG_PORTUGUESE_BRAZILIAN = $01; '{ Portuguese (Brazilian) }
SUBLANG_SERBIAN_LATIN = $02; '{ Serbian (Latin) }
SUBLANG_SERBIAN_CYRILLIC = $03; '{ Serbian (Cyrillic) }
SUBLANG_SPANISH = $01; '{ Spanish (Castilian) }
SUBLANG_SPANISH_MEXICAN = $02; '{ Spanish (Mexican) }
SUBLANG_SPANISH_MODERN = $03; '{ Spanish (Modern) }
SUBLANG_SPANISH_GUATEMALA = $04; '{ Spanish (Guatemala) }
SUBLANG_SPANISH_COSTA_RICA = $05; '{ Spanish (Costa Rica) }
SUBLANG_SPANISH_PANAMA = $06; '{ Spanish (Panama) }
SUBLANG_SPANISH_DOMINICAN_REPUBLIC = $07; '{ Spanish (Dominican Republic) }
SUBLANG_SPANISH_VENEZUELA = $08; '{ Spanish (venezuela) }
SUBLANG_SPANISH_COLOMBIA = $09; '{ Spanish (Colombia) }
SUBLANG_SPANISH_PERU = $0a; '{ Spanish (Peru) }
SUBLANG_SPANISH_ARGENTINA = $0b; '{ Spanish (Argentina) }
SUBLANG_SPANISH_ECUADOR = $0c; '{ Spanish (Ecuador) }
SUBLANG_SPANISH_CHILE = $0d; '{ Spanish (chile) }
SUBLANG_SPANISH_URUGUAY = $0e; '{ Spanish (Uruguay) }
SUBLANG_SPANISH_PARAGUAY = $0f; '{ Spanish (Paraguay) }
SUBLANG_SPANISH_BOLIVIA = $10; '{ Spanish (Bolivia) }
SUBLANG_SPANISH_EL_SALVADOR = $11; '{ Spanish (El salvador) }
SUBLANG_SPANISH_HONDURAS = $12; '{ Spanish (Honduras) }
SUBLANG_SPANISH_NICARAGUA = $13; '{ Spanish (Nicaragua) }
SUBLANG_SPANISH_PUERTO_RICO = $14; '{ Spanish (Puerto Rico) }
SUBLANG_SWEDISH = $01; '{ Swedish }
SUBLANG_SWEDISH_FINLAND = $02; '{ Swedish (Finland) }

'{ Sorting IDs. }

SORT_DEFAULT = $0; '{ sorting default }

SORT_JAPANESE_XJIS = $0; '{ Japanese XJIS order }
SORT_JAPANESE_UNICODE = $1; '{ Japanese Unicode order }

SORT_CHINESE_BIG5 = $0; '{ chinese BIG5 order }
SORT_CHINESE_PRCP = $0; '{ PRC chinese Phonetic order }
SORT_CHINESE_UNICODE = $1; '{ chinese Unicode order }
SORT_CHINESE_PRC = $2; '{ PRC chinese Stroke Count order }

SORT_KOREAN_KSC = $0; '{ Korean KSC order }
SORT_KOREAN_UNICODE = $1; '{ Korean Unicode order }

SORT_GERMAN_PHONE_BOOK = $1; '{ German Phone Book order }

'(*
' * A language ID is a 16 bit value which is the combination of a
' * primary language ID & ~a secondary language ID. The bits are
' * allocated as follows:
' *
' * +-----------------------+-------------------------+
' * | Sublanguage ID | Primary Language ID
|' * +-----------------------+-------------------------+
' * 15 10 9 0 bit
' *
' *
' *
' * A locale ID is a 32 bit value which is the combination of a
' * language ID, a sort ID, & ~a reserved area. The bits are
' * allocated as follows:
' *
' * +-------------+---------+-------------------------+
' * | Reserved | Sort ID | Language ID
|' * +-------------+---------+-------------------------+
' * 31 20 19 16 15 0 bit
' *
' *)

'{ Default system & ~User IDs for language & ~locale. }

LANG_SYSTEM_DEFAULT = (~SUBLANG_SYS_DEFAULT << 10) | ~LANG_NEUTRAL;
LANG_USER_DEFAULT = (~SUBLANG_DEFAULT << 10) | ~LANG_NEUTRAL;

LOCALE_SYSTEM_DEFAULT = (~SORT_DEFAULT << 16) | ~LANG_SYSTEM_DEFAULT;
LOCALE_USER_DEFAULT = (~SORT_DEFAULT << 16) | ~LANG_USER_DEFAULT;

STATUS_WAIT_0 = $00000000;
STATUS_ABANDONED_WAIT_0 = $00000080;
STATUS_USER_APC = $000000C0;
STATUS_TIMEOUT = $00000102;
STATUS_PENDING = $00000103;
STATUS_SEGMENT_NOTIFICATION = $40000005;
STATUS_GUARD_PAGE_VIOLATION = $80000001;
STATUS_DATATYPE_MISALIGNMENT = $80000002;
STATUS_BREAKPOINT = $80000003;
STATUS_SINGLE_STEP = $80000004;
STATUS_ACCESS_VIOLATION = $C0000005;
STATUS_IN_PAGE_ERROR = $C0000006;
STATUS_INVALID_HANDLE = $C0000008;
STATUS_NO_MEMORY = $C0000017;
STATUS_ILLEGAL_INSTRUCTION = $C000001D;
STATUS_NONCONTINUABLE_EXCEPTION = $C0000025;
STATUS_INVALID_DISPOSITION = $C0000026;
STATUS_ARRAY_BOUNDS_EXCEEDED = $C000008C;
STATUS_FLOAT_DENORMAL_OPERAND = $C000008D;
STATUS_FLOAT_DIVIDE_BY_ZERO = $C000008E;
STATUS_FLOAT_INEXACT_RESULT = $C000008F;
STATUS_FLOAT_INVALID_OPERATION = $C0000090;
STATUS_FLOAT_OVERFLOW = $C0000091;
STATUS_FLOAT_STACK_CHECK = $C0000092;
STATUS_FLOAT_UNDERFLOW = $C0000093;
STATUS_INTEGER_DIVIDE_BY_ZERO = $C0000094;
STATUS_INTEGER_OVERFLOW = $C0000095;
STATUS_PRIVILEGED_INSTRUCTION = $C0000096;
STATUS_STACK_OVERFLOW = $C00000FD;
STATUS_CONTROL_C_EXIT = $C000013A;

MAXIMUM_WAIT_OBJECTS = 64;

SIZE_OF_80387_REGISTERS = 80;

CONTEXT_i386 = $10000; '{ this assumes that i386 and }
CONTEXT_i486 = $10000; '{ i486 have identical context records }

CONTEXT_CONTROL = $00010001; '{ SS:SP, CS:IP, FLAGS, BP }
CONTEXT_INTEGER = $00010002; '{ AX, BX, CX, DX, SI, DI }
CONTEXT_SEGMENTS = $00010004; '{ DS, ES, FS, GS }
CONTEXT_FLOATING_POINT = $00010008; '{ 387 state }
CONTEXT_DEBUG_REGISTERS = $00010010; '{ DB 0-3,6,7 }
CONTEXT_FULL = $00010007; '(CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS);

'{ bitfield constants for ? Happen? field of TLDTEntry }

LDTF_BASEMID = $FF000000; '{8}
LDTF_TYPE_8 = $00F80000; '{5}
LDTF_DPL = $00060000; '{2}
LDTF_PRES = $00010000; '{1}
LDTF_LIMITHI = $0000F000; '{4}
LDTF_SYS = $00000800; '{1}
LDTF_RESERVED_0 = $00000400; '{1}
LDTF_DEFAULT_BIG = $00000200; '{1}
LDTF_GRANULARITY = $00000100; '{1}
LDTF_BASEHI = $000000FF; '{8}

EXCEPTION_NONCONTINUABLE = 1; '{ Noncontinuable exception }
EXCEPTION_MAXIMUM_PARAMETERS = 15;

THREAD_BASE_PRIORITY_LOWRT = 15; '{ value that gets a thread to LowRealtime-1 }
THREAD_BASE_PRIORITY_MAX = 2; '{ maximum thread base priority boost }
THREAD_BASE_PRIORITY_MIN = -2; '{ minimum thread base priority boost }
THREAD_BASE_PRIORITY_IDLE = -15; '{ value that gets a thread to idle }

SYNCHRONIZE = $00100000;
NOTSYNCHRONIZE = $11011111;
STANDARD_RIGHTS_REQUIRED = $000F0000;
EVENT_MODIFY_STATE = $0002;
EVENT_ALL_ACCESS = $001F0003; '(STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | $3);
MUTANT_QUERY_STATE = $0001;
MUTANT_ALL_ACCESS = $001F0001; '(STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | MUTANT_QUERY_STATE);

PROCESS_TERMINATE = $0001;
PROCESS_CREATE_THREAD = $0002;
PROCESS_VM_OPERATION = $0008;
PROCESS_VM_READ = $0010;
PROCESS_VM_WRITE = $0020;
PROCESS_DUP_HANDLE = $0040;
PROCESS_CREATE_PROCESS = $0080;
PROCESS_SET_QUOTA = $0100;
PROCESS_SET_INFORMATION = $0200;
PROCESS_QUERY_INFORMATION = $0400;
PROCESS_ALL_ACCESS = (~STANDARD_RIGHTS_REQUIRED | ~SYNCHRONIZE | $FFF);

SECTION_QUERY = 1;
SECTION_MAP_WRITE = 2;
SECTION_MAP_READ = 4;
SECTION_MAP_EXECUTE = 8;
SECTION_EXTEND_SIZE = $10;
SECTION_ALL_ACCESS = $000F001F; '(STANDARD_RIGHTS_REQUIRED | SECTION_QUERY | SECTION_MAP_WRITE | SECTION_MAP_READ | SECTION_MAP_EXECUTE | SECTION_EXTEND_SIZE);

PAGE_NOACCESS = 1;
PAGE_READONLY = 2;
PAGE_READWRITE = 4;
PAGE_WRITECOPY = 8;
PAGE_EXECUTE = $10;
PAGE_EXECUTE_READ = $20;
PAGE_EXECUTE_READWRITE = $40;
PAGE_EXECUTE_WRITECOPY = $80;
PAGE_GUARD = $100;
PAGE_NOCACHE = $200;
MEM_COMMIT = $1000;
MEM_RESERVE = $2000;
MEM_DECOMMIT = $4000;
MEM_RELEASE = $8000;
MEM_FREE = $10000;
MEM_PRIVATE = $20000;
MEM_MAPPED = $40000;
MEM_RESET = $80000;
MEM_TOP_DOWN = $100000;
SEC_FILE = $800000;
SEC_IMAGE = $1000000;
SEC_RESERVE = $4000000;
SEC_COMMIT = $8000000;
SEC_NOCACHE = $10000000;
MEM_IMAGE = ~SEC_IMAGE;

FILE_SHARE_READ = $00000001;
FILE_SHARE_WRITE = $00000002;
FILE_SHARE_DELETE = $00000004;
FILE_ATTRIBUTE_READONLY = $00000001;
FILE_ATTRIBUTE_HIDDEN = $00000002;
FILE_ATTRIBUTE_SYSTEM = $00000004;
FILE_ATTRIBUTE_DIRECTORY = $00000010;
FILE_ATTRIBUTE_ARCHIVE = $00000020;
FILE_ATTRIBUTE_NORMAL = $00000080;
FILE_ATTRIBUTE_TEMPORARY = $00000100;
FILE_ATTRIBUTE_ATOMICWRITE = $00000200;
FILE_ATTRIBUTE_XACTIONWRITE = $00000400;
FILE_ATTRIBUTE_COMPRESSED = $00000800;
FILE_ATTRIBUTE_OFFLINE = $00001000;
FILE_NOTIFY_CHANGE_FILE_NAME = $00000001;
FILE_NOTIFY_CHANGE_DIR_NAME = $00000002;
FILE_NOTIFY_CHANGE_ATTRIBUTES = $00000004;
FILE_NOTIFY_CHANGE_SIZE = $00000008;
FILE_NOTIFY_CHANGE_LAST_WRITE = $00000010;
FILE_NOTIFY_CHANGE_LAST_ACCESS = $00000020;
FILE_NOTIFY_CHANGE_CREATION = $00000040;
FILE_NOTIFY_CHANGE_SECURITY = $00000100;
FILE_ACTION_ADDED = $00000001;
FILE_ACTION_REMOVED = $00000002;
FILE_ACTION_MODIFIED = $00000003;
FILE_ACTION_RENAMED_OLD_NAME = $00000004;
FILE_ACTION_RENAMED_NEW_NAME = $00000005;
MAILSLOT_NO_MESSAGE = $FFFFFFFF;
MAILSLOT_WAIT_FOREVER = $FFFFFFFF;
FILE_CASE_SENSITIVE_SEARCH = 1;
FILE_CASE_PRESERVED_NAMES = 2;
FILE_UNICODE_ON_DISK = 4;
FILE_PERSISTENT_ACLS = 8;
FILE_FILE_COMPRESSION = $10;
FILE_VOLUME_IS_COMPRESSED = $8000;

IO_COMPLETION_MODIFY_STATE = $0002;
IO_COMPLETION_ALL_ACCESS = (~STANDARD_RIGHTS_REQUIRED | ~SYNCHRONIZE | 3);
DUPLICATE_CLOSE_SOURCE = $00000001;
DUPLICATE_SAME_ACCESS = $00000002;

_DELETE = $00010000; '{ Renamed from DELETE }
READ_CONTROL = $00020000;
WRITE_DAC = $00040000;
WRITE_OWNER = $00080000;
'{ SYNCHRONIZE = $00100000; defined above }
'{ STANDARD_RIGHTS_REQUIRED = $000F0000; defined above }
STANDARD_RIGHTS_READ = ~READ_CONTROL;
STANDARD_RIGHTS_WRITE = ~READ_CONTROL;
STANDARD_RIGHTS_EXECUTE = ~READ_CONTROL;
STANDARD_RIGHTS_ALL = $001F0000;
SPECIFIC_RIGHTS_ALL = $0000FFFF;
ACCESS_SYSTEM_SECURITY = $01000000;
MAXIMUM_ALLOWED = $02000000;
GENERIC_READ = $80000000;
GENERIC_WRITE = $40000000;
GENERIC_EXECUTE = $20000000;
GENERIC_ALL = $10000000;

CONSOLE_TEXTMODE_BUFFER = 1;

SidTypeUser = 1;
SidTypeGroup = 2;
SidTypeDomain = 3;
SidTypeAlias = 4;
SidTypeWellKnownGroup = 5;
SidTypeDeletedAccount = 6;
SidTypeInvalid = 7;
SidTypeUnknown = 8;

SECURITY_DESCRIPTOR_MIN_LENGTH = 20;
SE_OWNER_DEFAULTED = $0001;
SE_GROUP_DEFAULTED = $0002;
SE_DACL_PRESENT = $0004;
SE_DACL_DEFAULTED = $0008;
SE_SACL_PRESENT = $0010;
SE_SACL_DEFAULTED = $0020;
SE_SELF_RELATIVE = $8000;

'{ Privilege attributes }

SE_PRIVILEGE_ENABLED_BY_DEFAULT = $00000001;
SE_PRIVILEGE_ENABLED = $00000002;
SE_PRIVILEGE_USED_FOR_ACCESS = $80000000;

SECURITY_DYNAMIC_TRACKING = 1;
SECURITY_STATIC_TRACKING = 0;

TOKEN_ASSIGN_PRIMARY = $0001;
TOKEN_DUPLICATE = $0002;
TOKEN_IMPERSONATE = $0004;
TOKEN_QUERY = $0008;
TOKEN_QUERY_SOURCE = $0010;
TOKEN_ADJUST_PRIVILEGES = $0020;
TOKEN_ADJUST_GROUPS = $0040;
TOKEN_ADJUST_DEFAULT = $0080;
TOKEN_ALL_ACCESS = (~STANDARD_RIGHTS_REQUIRED | ~TOKEN_ASSIGN_PRIMARY | ~TOKEN_DUPLICATE | ~TOKEN_IMPERSONATE | ~TOKEN_QUERY | ~TOKEN_QUERY_SOURCE | ~TOKEN_ADJUST_PRIVILEGES | ~TOKEN_ADJUST_GROUPS | ~TOKEN_ADJUST_DEFAULT);
TOKEN_READ = (~STANDARD_RIGHTS_READ | ~TOKEN_QUERY);
TOKEN_WRITE = (~STANDARD_RIGHTS_WRITE | ~TOKEN_ADJUST_PRIVILEGES | ~TOKEN_ADJUST_GROUPS | ~TOKEN_ADJUST_DEFAULT);
TOKEN_EXECUTE = ~STANDARD_RIGHTS_EXECUTE;

TokenUser = 1;
TokenGroups = 2;
TokenPrivileges = 3;
TokenOwner = 4;
TokenPrimaryGroup = 5;
TokenDefaultDacl = 6;
TokenSource = 7;
TokenType = 8;
TokenImpersonationLevel = 9;
TokenStatistics = 10;

OWNER_SECURITY_INFORMATION = $00000001;
GROUP_SECURITY_INFORMATION = $00000002;
DACL_SECURITY_INFORMATION = $00000004;
SACL_SECURITY_INFORMATION = $00000008;

RTL_CRITSECT_TYPE = 0;
RTL_RESOURCE_TYPE = 1;

DLL_PROCESS_ATTACH = 1;
DLL_THREAD_ATTACH = 2;
DLL_THREAD_DETACH = 3;
DLL_PROCESS_DETACH = 0;

'{ The types of events that can be logged. }

EVENTLOG_SUCCESS = $0000;
EVENTLOG_ERROR_TYPE = $0001;
EVENTLOG_WARNING_TYPE = $0002;
EVENTLOG_INFORMATION_TYPE = $0004;
EVENTLOG_AUDIT_SUCCESS = $0008;
EVENTLOG_AUDIT_FAILURE = $0010;

KEY_QUERY_VALUE = $0001;
KEY_SET_VALUE = $0002;
KEY_CREATE_SUB_KEY = $0004;
KEY_ENUMERATE_SUB_KEYS = $0008;
KEY_NOTIFY = $0010;
KEY_CREATE_LINK = $0020;

KEY_READ = (~STANDARD_RIGHTS_READ | ~KEY_QUERY_VALUE | ~KEY_ENUMERATE_SUB_KEYS | ~KEY_NOTIFY) & ~NOTSYNCHRONIZE;
KEY_WRITE = (~STANDARD_RIGHTS_WRITE | ~KEY_SET_VALUE | ~KEY_CREATE_SUB_KEY) & NOTSYNCHRONIZE;
KEY_EXECUTE = ~KEY_READ & NOTSYNCHRONIZE;
KEY_ALL_ACCESS = (~STANDARD_RIGHTS_ALL | ~KEY_QUERY_VALUE | ~KEY_SET_VALUE | ~KEY_CREATE_SUB_KEY | ~KEY_ENUMERATE_SUB_KEYS | ~KEY_NOTIFY | ~KEY_CREATE_LINK) & ~NOTSYNCHRONIZE;

'{ Registry Open/Create Options }

REG_OPTION_RESERVED = ($00000000); '{ Parameter is reserved }

REG_OPTION_NON_VOLATILE = ($00000000); '{ Key is preserved }
'{ when system is rebooted }

REG_OPTION_VOLATILE = ($00000001); '{ Key is hardship preserved }
'{ when system is rebooted }

REG_OPTION_CREATE_LINK = ($00000002); '{ Created key is a }
'{ symbolic link }

REG_OPTION_BACKUP_RESTORE = ($00000004); '{ open for backup | restore }
'{ special access rules }
'{ privilege required }

REG_LEGAL_OPTION = (~REG_OPTION_RESERVED | ~REG_OPTION_NON_VOLATILE | ~REG_OPTION_VOLATILE | ~REG_OPTION_CREATE_LINK | ~REG_OPTION_BACKUP_RESTORE);

'{ Registry Key creation/open disposition }

REG_CREATED_NEW_KEY = ($00000001); '{ New Registry Key created }
REG_OPENED_EXISTING_KEY = ($00000002); '{ Existing Key opened }

'{ Registry Key restore flags }

REG_WHOLE_HIVE_VOLATILE = ($00000001); '{ Restore whole hive volatile }
REG_REFRESH_HIVE = ($00000002); '{ Unwind changes to last flush }

'{ Registry Notify filter values }

REG_NOTIFY_CHANGE_NAME = ($00000001); '{ Create | delete (child) }
REG_NOTIFY_CHANGE_ATTRIBUTES = ($00000002);
REG_NOTIFY_CHANGE_LAST_SET = ($00000004); '{ time stamp }
REG_NOTIFY_CHANGE_SECURITY = ($00000008);

REG_LEGAL_CHANGE_FILTER = (~REG_OPTION_RESERVED | ~REG_NOTIFY_CHANGE_NAME | ~REG_NOTIFY_CHANGE_ATTRIBUTES | ~REG_NOTIFY_CHANGE_LAST_SET | ~REG_NOTIFY_CHANGE_SECURITY);

'{ Registry Predefined Value Types }

REG_NONE = 0;
REG_SZ = 1;
REG_EXPAND_SZ = 2;
REG_BINARY = 3;
REG_DWORD = 4;
REG_DWORD_LITTLE_ENDIAN = 4;
REG_DWORD_BIG_ENDIAN = 5;
REG_LINK = 6;
REG_MULTI_SZ = 7;
REG_RESOURCE_LIST = 8;
REG_FULL_RESOURCE_DESCRIPTOR = 9;
REG_RESOURCE_REQUIREMENTS_LIST = 10;

'{ END Translated from WINNT.H }

INVALID_HANDLE_VALUE = -1;
INVALID_FILE_SIZE = $FFFFFFFF;

FILE_BEGIN = 0;
FILE_CURRENT = 1;
FILE_END = 2;

TIME_ZONE_ID_INVALID = $FFFFFFFF;
TIME_ZONE_ID_UNKNOWN = 0;
TIME_ZONE_ID_STANDARD = 1;
TIME_ZONE_ID_DAYLIGHT = 2;

WAIT_FAILED = $FFFFFFFF;
WAIT_OBJECT_0 = ((~STATUS_WAIT_0 ) + 0 );

WAIT_ABANDONED = ((~STATUS_ABANDONED_WAIT_0 ) + 0 );
WAIT_ABANDONED_0 = ((~STATUS_ABANDONED_WAIT_0 ) + 0 );

WAIT_TIMEOUT = ~STATUS_TIMEOUT;
WAIT_IO_COMPLETION = ~STATUS_USER_APC;
STILL_ACTIVE = ~STATUS_PENDING;
EXCEPTION_ACCESS_VIOLATION = ~STATUS_ACCESS_VIOLATION;
EXCEPTION_DATATYPE_MISALIGNMENT = ~STATUS_DATATYPE_MISALIGNMENT;
EXCEPTION_BREAKPOINT = ~STATUS_BREAKPOINT;
EXCEPTION_SINGLE_STEP = ~STATUS_SINGLE_STEP;
EXCEPTION_ARRAY_BOUNDS_EXCEEDED = ~STATUS_ARRAY_BOUNDS_EXCEEDED;
EXCEPTION_FLT_DENORMAL_OPERAND = ~STATUS_FLOAT_DENORMAL_OPERAND;
EXCEPTION_FLT_DIVIDE_BY_ZERO = ~STATUS_FLOAT_DIVIDE_BY_ZERO;
EXCEPTION_FLT_INEXACT_RESULT = ~STATUS_FLOAT_INEXACT_RESULT;
EXCEPTION_FLT_INVALID_OPERATION = ~STATUS_FLOAT_INVALID_OPERATION;
EXCEPTION_FLT_OVERFLOW = ~STATUS_FLOAT_OVERFLOW;
EXCEPTION_FLT_STACK_CHECK = ~STATUS_FLOAT_STACK_CHECK;
EXCEPTION_FLT_UNDERFLOW = ~STATUS_FLOAT_UNDERFLOW;
EXCEPTION_INT_DIVIDE_BY_ZERO = ~STATUS_INTEGER_DIVIDE_BY_ZERO;
EXCEPTION_INT_OVERFLOW = ~STATUS_INTEGER_OVERFLOW;
EXCEPTION_PRIV_INSTRUCTION = ~STATUS_PRIVILEGED_INSTRUCTION;
EXCEPTION_IN_PAGE_ERROR = ~STATUS_IN_PAGE_ERROR;
EXCEPTION_ILLEGAL_INSTRUCTION = ~STATUS_ILLEGAL_INSTRUCTION;
EXCEPTION_NONCONTINUABLE_EXCEPTION = ~STATUS_NONCONTINUABLE_EXCEPTION;
EXCEPTION_STACK_OVERFLOW = ~STATUS_STACK_OVERFLOW;
EXCEPTION_INVALID_DISPOSITION = ~STATUS_INVALID_DISPOSITION;
EXCEPTION_GUARD_PAGE = ~STATUS_GUARD_PAGE_VIOLATION;
EXCEPTION_INVALID_HANDLE = ~STATUS_INVALID_HANDLE;
CONTROL_C_EXIT = ~STATUS_CONTROL_C_EXIT;

'{ File creation flags must start at the high end since they }
'{ are combined with the attributes}

FILE_FLAG_WRITE_THROUGH = $80000000;
FILE_FLAG_OVERLAPPED = $40000000;
FILE_FLAG_NO_BUFFERING = $20000000;
FILE_FLAG_RANDOM_ACCESS = $10000000;
FILE_FLAG_SEQUENTIAL_SCAN = $8000000;
FILE_FLAG_DELETE_ON_CLOSE = $4000000;
FILE_FLAG_BACKUP_SEMANTICS = $2000000;
FILE_FLAG_POSIX_SEMANTICS = $1000000;

CREATE_NEW = 1;
CREATE_ALWAYS = 2;
OPEN_EXISTING = 3;
OPEN_ALWAYS = 4;
TRUNCATE_EXISTING = 5;

'{ Define possible return codes from the CopyFileEx callback routine }

PROGRESS_CONTINUE = 0;
PROGRESS_CANCEL = 1;
PROGRESS_STOP = 2;
PROGRESS_QUIET = 3;

'{ Define CopyFileEx callback routine state change values }

CALLBACK_CHUNK_FINISHED = $00000000;
CALLBACK_STREAM_SWITCH = $00000001;

'{ Define CopyFileEx option flags }

COPY_FILE_FAIL_IF_EXISTS = $00000001;
COPY_FILE_RESTARTABLE = $00000002;

'{ Define the NamedPipe definitions}

'{ Define the dwOpenMode values for CreateNamedPipe }

PIPE_ACCESS_INBOUND = 1;
PIPE_ACCESS_OUTBOUND = 2;
PIPE_ACCESS_DUPLEX = 3;

'{ Define the Named Pipe End flags for GetNamedPipeInfo }

PIPE_CLIENT_END = 0;
PIPE_SERVER_END = 1;

'{ Define the dwPipeMode values for CreateNamedPipe }

PIPE_WAIT = 0;
PIPE_NOWAIT = 1;
PIPE_READMODE_BYTE = 0;
PIPE_READMODE_MESSAGE = 2;
PIPE_TYPE_BYTE = 0;
PIPE_TYPE_MESSAGE = 4;

'{ Define the well known values for CreateNamedPipe nMaxInstances }

PIPE_UNLIMITED_INSTANCES = 255;

'{ Define the Security Quality of service bits to be passed into CreateFile }

SECURITY_ANONYMOUS = (Ord(~SecurityAnonymous) << 16);
SECURITY_IDENTIFICATION = (Ord(~SecurityIdentification) << 16);
SECURITY_IMPERSONATION = (Ord(~SecurityImpersonation) << 16);
SECURITY_DELEGATION = (Ord(~SecurityDelegation) << 16);

SECURITY_CONTEXT_TRACKING = $40000;
SECURITY_EFFECTIVE_ONLY = $80000;

SECURITY_SQOS_PRESENT = $100000;
SECURITY_VALID_SQOS_FLAGS = $1F0000;

'{ File structures }

MUTEX_MODIFY_STATE = ~MUTANT_QUERY_STATE;
MUTEX_ALL_ACCESS = ~MUTANT_ALL_ACCESS;

'{ Serial provider type. }

SP_SERIALCOMM = $00000001;

'{ Provider SubTypes }

PST_UNSPECIFIED = $00000000;
PST_RS232 = $00000001;
PST_PARALLELPORT = $00000002;
PST_RS422 = $00000003;
PST_RS423 = $00000004;
PST_RS449 = $00000005;
PST_MODEM = $00000006;
PST_FAX = $00000021;
PST_SCANNER = $00000022;
PST_NETWORK_BRIDGE = $00000100;
PST_LAT = $00000101;
PST_TCPIP_TELNET = $00000102;
PST_X25 = $00000103;

'{ Provider capabilities flags. }

PCF_DTRDSR = $0001;
PCF_RTSCTS = $0002;
PCF_RLSD = $0004;
PCF_PARITY_CHECK = $0008;
PCF_XONXOFF = $0010;
PCF_SETXCHAR = $0020;
PCF_TOTALTIMEOUTS = $0040;
PCF_INTTIMEOUTS = $0080;
PCF_SPECIALCHARS = $0100;
PCF_16BITMODE = $0200;

'{ Comm provider settable parameters. }

SP_PARITY = $0001;
SP_BAUD = $0002;
SP_DATABITS = $0004;
SP_STOPBITS = $0008;
SP_HANDSHAKING = $0010;
SP_PARITY_CHECK = $0020;
SP_RLSD = $0040;

'{ Settable baud rates in the provider. }

BAUD_075 = $00000001;
BAUD_110 = $00000002;
BAUD_134_5 = $00000004;
BAUD_150 = $00000008;
BAUD_300 = $00000010;
BAUD_600 = $00000020;
BAUD_1200 = $00000040;
BAUD_1800 = $00000080;
BAUD_2400 = $00000100;
BAUD_4800 = $00000200;
BAUD_7200 = $00000400;
BAUD_9600 = $00000800;
BAUD_14400 = $00001000;
BAUD_19200 = $00002000;
BAUD_38400 = $00004000;
BAUD_56k = $00008000;
BAUD_128k = $00010000;
BAUD_115200 = $00020000;
BAUD_57600 = $00040000;
BAUD_USER = $10000000;

'{ Settable Data Bits }

DATABITS_5 = $0001;
DATABITS_6 = $0002;
DATABITS_7 = $0004;
DATABITS_8 = $0008;
DATABITS_16 = $0010;
DATABITS_16X = $0020;

'{ Settable Stop and Parity bits. }

STOPBITS_10 = $0001;
STOPBITS_15 = $0002;
STOPBITS_20 = $0004;
PARITY_NONE = $0100;
PARITY_ODD = $0200;
PARITY_EVEN = $0400;
PARITY_MARK = $0800;
PARITY_SPACE = $1000;

COMMPROP_INITIALIZED = $E73CF52E;

'{ DTR Control Flow Values. }
DTR_CONTROL_DISABLE = 0;
DTR_CONTROL_ENABLE = 1;
DTR_CONTROL_HANDSHAKE = 2;

'{ RTS Control Flow Values}
RTS_CONTROL_DISABLE = 0;
RTS_CONTROL_ENABLE = 1;
RTS_CONTROL_HANDSHAKE = 2;
RTS_CONTROL_TOGGLE = 3;

'{ Global Memory ? Happen? }

GMEM_FIXED = 0;
GMEM_MOVEABLE = 2;
GMEM_NOCOMPACT = $10;
GMEM_NODISCARD = $20;
GMEM_ZEROINIT = $40;
GMEM_MODIFY = $80;
GMEM_DISCARDABLE = $100;
GMEM_NOT_BANKED = $1000;
GMEM_SHARE = $2000;
GMEM_DDESHARE = $2000;
GMEM_NOTIFY = $4000;
GMEM_LOWER = ~GMEM_NOT_BANKED;
GMEM_VALID_FLAGS = 32626;
GMEM_INVALID_HANDLE = $8000;

GHND = ~GMEM_MOVEABLE | ~GMEM_ZEROINIT;
GPTR = ~GMEM_FIXED | ~GMEM_ZEROINIT;

'{ ? Happen? returned by GlobalFlags (in addition to GMEM_DISCARDABLE) }
GMEM_DISCARDED = $4000;
GMEM_LOCKCOUNT = 255;

LMEM_FIXED = 0;
LMEM_MOVEABLE = 2;
LMEM_NOCOMPACT = $10;
LMEM_NODISCARD = $20;
LMEM_ZEROINIT = $40;
LMEM_MODIFY = $80;
LMEM_DISCARDABLE = $F00;
LMEM_VALID_FLAGS = $F72;
LMEM_INVALID_HANDLE = $8000;

LHND = ~LMEM_MOVEABLE | ~LMEM_ZEROINIT;
LPTR = ~LMEM_FIXED | ~LMEM_ZEROINIT;

NONZEROLPTR = ~LMEM_FIXED;

'{ ? Happen? returned by LocalFlags (in addition to LMEM_DISCARDABLE) }

LMEM_DISCARDED = $4000;
LMEM_LOCKCOUNT = 255;

'{ dwCreationFlag values }

DEBUG_PROCESS = 1;
DEBUG_ONLY_THIS_PROCESS = 2;

CREATE_SUSPENDED = 4;

DETACHED_PROCESS = 8;

CREATE_NEW_CONSOLE = $10;

NORMAL_PRIORITY_CLASS = $20;
IDLE_PRIORITY_CLASS = $40;
HIGH_PRIORITY_CLASS = $80;
REALTIME_PRIORITY_CLASS = $100;

CREATE_NEW_PROCESS_GROUP = $200;
CREATE_UNICODE_ENVIRONMENT = $400;

CREATE_SEPARATE_WOW_VDM = $800;
CREATE_SHARED_WOW_VDM = $1000;
CREATE_FORCEDOS = $00002000;

CREATE_DEFAULT_ERROR_MODE = $4000000;
CREATE_NO_WINDOW = $8000000;

PROFILE_USER = $10000000;
PROFILE_KERNEL = $20000000;
PROFILE_SERVER = $40000000;

THREAD_PRIORITY_LOWEST = ~THREAD_BASE_PRIORITY_MIN;
THREAD_PRIORITY_BELOW_NORMAL = ~THREAD_PRIORITY_LOWEST + 1;
THREAD_PRIORITY_NORMAL = 0;
THREAD_PRIORITY_HIGHEST = ~THREAD_BASE_PRIORITY_MAX;
THREAD_PRIORITY_ABOVE_NORMAL = ~THREAD_PRIORITY_HIGHEST - 1;
THREAD_PRIORITY_ERROR_RETURN = ~MAXLONG;

THREAD_PRIORITY_TIME_CRITICAL = ~THREAD_BASE_PRIORITY_LOWRT;
THREAD_PRIORITY_IDLE = ~THREAD_BASE_PRIORITY_IDLE;

'{ Debug APIs }

DBG_CONTINUE = $00010002;
DBG_TERMINATE_THREAD = $40010003;
DBG_TERMINATE_PROCESS = $40010004;
DBG_CONTROL_C = $40010005;
DBG_CONTROL_BREAK = $40010008;
DBG_EXCEPTION_NOT_HANDLED = $80010001;

EXCEPTION_DEBUG_EVENT = 1;
CREATE_THREAD_DEBUG_EVENT = 2;
CREATE_PROCESS_DEBUG_EVENT = 3;
EXIT_THREAD_DEBUG_EVENT = 4;
EXIT_PROCESS_DEBUG_EVENT = 5;
LOAD_DLL_DEBUG_EVENT = 6;
UNLOAD_DLL_DEBUG_EVENT = 7;
OUTPUT_DEBUG_STRING_EVENT = 8;
RIP_EVENT = 9;

DRIVE_UNKNOWN = 0;
DRIVE_NO_ROOT_DIR = 1;
DRIVE_REMOVABLE = 2;
DRIVE_FIXED = 3;
DRIVE_REMOTE = 4;
DRIVE_CDROM = 5;
DRIVE_RAMDISK = 6;

FILE_TYPE_UNKNOWN = 0;
FILE_TYPE_DISK = 1;
FILE_TYPE_CHAR = 2;
FILE_TYPE_PIPE = 3;
FILE_TYPE_REMOTE = $8000;

STD_INPUT_HANDLE = (-10);
STD_OUTPUT_HANDLE = (-11);
STD_ERROR_HANDLE = (-12);

NOPARITY = 0;
ODDPARITY = 1;
EVENPARITY = 2;
MARKPARITY = 3;
SPACEPARITY = 4;

ONESTOPBIT = 0;
ONE5STOPBITS = 1;
TWOSTOPBITS = 2;

IGNORE = 0; '{ Ignore signal }
INFINITE = $FFFFFFFF; '{ Infinite timeout }

'{ Baud rates at which the communication device operates }

CBR_110 = 110;
CBR_300 = 300;
CBR_600 = 600;
CBR_1200 = 1200;
CBR_2400 = 2400;
CBR_4800 = 4800;
CBR_9600 = 9600;
CBR_14400 = 14400;
CBR_19200 = 19200;
CBR_38400 = 38400;
CBR_56000 = 56000;
CBR_57600 = 57600;
CBR_115200 = $1C200;
CBR_128000 = $1F400;
CBR_256000 = $3E800;

'{ Error ? Happen? }

CE_RXOVER = 1; '{ Receive billiardcue overflow }
CE_OVERRUN = 2; '{ Receive Overrun Error }
CE_RXPARITY = 4; '{ Receive Parity Error }
CE_FRAME = 8; '{ Receive Framing error }
CE_BREAK = $10; '{ Break Detected }
CE_TXFULL = $100; '{ TX billiardcue is full }
CE_PTO = $200; '{ LPTx Timeout }
CE_IOE = $400; '{ LPTx I/O Error }
CE_DNS = $800; '{ LPTx Device hardship selected }
CE_OOP = $1000; '{ LPTx out-Of-Paper }
CE_MODE = $8000; '{ Requested fashion unsupported }

IE_BADID = -1; '{ Invalid | unsupported id }
IE_OPEN = -2; '{ Device Already Open }
IE_NOPEN =
 
10/26/06  
 



Note / Question or Comment to the Help--Topic


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.623 Views

Untitledvor 0 min.
Axel Berse04/05/21
rquindt08/24/20
RICOSCH01/30/12
Heiko Dix01/14/11

Themeninformationen

this Topic has 1 subscriber:

iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie