Difference between revisions of "Unit Ultibo"
Line 704: | Line 704: | ||
---- | ---- | ||
− | '' | + | |
+ | '''Signed types''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>INT = GlobalTypes.INT;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>BOOL = GlobalTypes.BOOL;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>LONG = GlobalTypes.LONG;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Unsigned types''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>UINT = GlobalTypes.UINT;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>UCHAR = GlobalTypes.UCHAR;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>USHORT = GlobalTypes.USHORT;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>ULONG = GlobalTypes.ULONG;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Pointer types''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>PVOID = GlobalTypes.PVOID;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>LPVOID = GlobalTypes.LPVOID;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>LPCVOID = GlobalTypes.LPCVOID;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>LPBOOL = GlobalTypes.LPBOOL;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>PLONG = GlobalTypes.PLONG;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>LPLONG = GlobalTypes.LPLONG;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>LPDWORD = GlobalTypes.LPDWORD;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>INT_PTR = GlobalTypes.INT_PTR;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>UINT_PTR = GlobalTypes.UINT_PTR;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>LONG_PTR = GlobalTypes.LONG_PTR;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>ULONG_PTR = GlobalTypes.ULONG_PTR;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>DWORD_PTR = GlobalTypes.DWORD_PTR;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>PDWORD_PTR = GlobalTypes.PDWORD_PTR;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''64bit types''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>LONGLONG = GlobalTypes.LONGLONG;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>ULONGLONG = GlobalTypes.ULONGLONG;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>DWORDLONG = GlobalTypes.DWORDLONG;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Quad''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>QUAD = _QUAD;</code> | ||
+ | |||
+ | <code>TQuad = _QUAD;</code> | ||
+ | |||
+ | <code>UQUAD = QUAD;</code> | ||
+ | |||
+ | <code>PQuad = ^TQuad;</code> | ||
+ | |||
+ | <code>_QUAD = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | |colspan="2"|Note: QUAD is for those times we want an 8 byte aligned 8 byte long structure which is NOT really a floating point number. Use DOUBLE if you want an FP number. | ||
+ | |- | ||
+ | | <code>DoNotUseThisField:Double;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Locale Id''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>LCID = Locale.LCID;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>PLCID = Locale.PLCID;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Language Id''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>LANGID = Locale.LANGID;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>PLANGID = Locale.PLANGID;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Language group Id''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>LGRPID = Locale.LGRPID;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Locale type''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>LCTYPE = Locale.LCTYPE;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Calendar type''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>CALTYPE = Locale.CALTYPE;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Calendar Id''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>CALID = Locale.CALID;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Large integer''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>LARGE_INTEGER = _LARGE_INTEGER;</code> | ||
+ | |||
+ | <code>TLargeInteger = LARGE_INTEGER;</code> | ||
+ | |||
+ | <code>PLARGE_INTEGER = ^LARGE_INTEGER;</code> | ||
+ | |||
+ | <code>PLargeInteger = LPLARGE_INTEGER;</code> | ||
+ | |||
+ | <code>LPLARGE_INTEGER = ^LARGE_INTEGER;</code> | ||
+ | |||
+ | <code>_LARGE_INTEGER = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>case Integer of</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>0: (</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>LowPart: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>HighPart: LONG);</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>1: (</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>QuadPart: LONGLONG);</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''OS version information''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>OSVERSIONINFO = _OSVERSIONINFO;</code> | ||
+ | |||
+ | <code>TOsVersionInfo = OSVERSIONINFO;</code> | ||
+ | |||
+ | <code>POsVersionInfo = LPOSVERSIONINFO;</code> | ||
+ | |||
+ | <code>LPOSVERSIONINFO = ^OSVERSIONINFO;</code> | ||
+ | |||
+ | <code>_OSVERSIONINFO = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>dwOSVersionInfoSize:DWORD;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>dwMajorVersion:DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwMinorVersion:DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwBuildNumber:DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwPlatformId:DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>szCSDVersion:array [0..127] of CHAR;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''System information''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>SYSTEM_INFO = _SYSTEM_INFO;</code> | ||
+ | |||
+ | <code>TSystemInfo = SYSTEM_INFO;</code> | ||
+ | |||
+ | <code>PSystemInfo = LPSYSTEM_INFO;</code> | ||
+ | |||
+ | <code>LPSYSTEM_INFO = ^SYSTEM_INFO;</code> | ||
+ | |||
+ | <code>_SYSTEM_INFO = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>wProcessorArchitecture:WORD;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>wReserved:WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwPageSize:DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>lpMinimumApplicationAddress:LPVOID;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>lpMaximumApplicationAddress:LPVOID;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwActiveProcessorMask:DWORD_PTR;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwNumberOfProcessors:DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwProcessorType:DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwAllocationGranularity:DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>wProcessorLevel:WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>wProcessorRevision:WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Computer name''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>COMPUTER_NAME_FORMAT = _COMPUTER_NAME_FORMAT;</code> | ||
+ | |||
+ | <code>TComputerNameFormat = COMPUTER_NAME_FORMAT;</code> | ||
+ | |||
+ | <code>_COMPUTER_NAME_FORMAT = (</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>ComputerNameNetBIOS,</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>ComputerNameDnsHostname,</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ComputerNameDnsDomain,</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ComputerNameDnsFullyQualified,</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ComputerNamePhysicalNetBIOS,</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ComputerNamePhysicalDnsHostname,</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ComputerNamePhysicalDnsDomain,</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ComputerNamePhysicalDnsFullyQualified,</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ComputerNameMax);</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''System time''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>LPSYSTEMTIME = Timezone.LPSYSTEMTIME;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>_SYSTEMTIME = Timezone._SYSTEMTIME;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>SYSTEMTIME = Timezone.SYSTEMTIME;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>TSystemTime = Timezone.TSystemTime;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>PSystemTime = Timezone.PSystemTime;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Find data''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>WIN32_FIND_DATAW = _WIN32_FIND_DATAW;</code> | ||
+ | |||
+ | <code>LPWIN32_FIND_DATAW = ^WIN32_FIND_DATAW;</code> | ||
+ | |||
+ | <code>TWin32FindDataW = WIN32_FIND_DATAW;</code> | ||
+ | |||
+ | <code>PWin32FindDataW = PWIN32_FIND_DATAW;</code> | ||
+ | |||
+ | <code>PWIN32_FIND_DATAW = ^WIN32_FIND_DATAW;</code> | ||
+ | |||
+ | <code>_WIN32_FIND_DATAW = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>dwFileAttributes: DWORD;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>ftCreationTime: FILETIME;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ftLastAccessTime: FILETIME;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ftLastWriteTime: FILETIME;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>nFileSizeHigh: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>nFileSizeLow: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwReserved0: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwReserved1: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>cFileName: array [0..MAX_PATH - 1] of WCHAR;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>cAlternateFileName: array [0..13] of WCHAR;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Stream info levels''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>_STREAM_INFO_LEVELS = (FindStreamInfoStandard, FindStreamInfoMaxInfoLevel);</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>STREAM_INFO_LEVELS = _STREAM_INFO_LEVELS;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>TStreamInfoLevels = STREAM_INFO_LEVELS;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Find stream data''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>WIN32_FIND_STREAM_DATA = _WIN32_FIND_STREAM_DATA;</code> | ||
+ | |||
+ | <code>PWIN32_FIND_STREAM_DATA = ^WIN32_FIND_STREAM_DATA;</code> | ||
+ | |||
+ | <code>TWin32FindStreamData = WIN32_FIND_STREAM_DATA;</code> | ||
+ | |||
+ | <code>PWin32FindStreamData = PWIN32_FIND_STREAM_DATA;</code> | ||
+ | |||
+ | <code>_WIN32_FIND_STREAM_DATA = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>StreamSize: LARGE_INTEGER;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>cStreamName: array [0..MAX_PATH + 35] of WCHAR;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Time zone information''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>PTIME_ZONE_INFORMATION = Timezone.PTIME_ZONE_INFORMATION;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>_TIME_ZONE_INFORMATION = Timezone._TIME_ZONE_INFORMATION;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>TIME_ZONE_INFORMATION = Timezone.TIME_ZONE_INFORMATION;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>LPTIME_ZONE_INFORMATION = Timezone.LPTIME_ZONE_INFORMATION;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>TTimeZoneInformation = Timezone.TTimeZoneInformation;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>PTimeZoneInformation = Timezone.PTimeZoneInformation;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Memory status''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>MEMORYSTATUS = _MEMORYSTATUS;</code> | ||
+ | |||
+ | <code>TMemoryStatus = MEMORYSTATUS;</code> | ||
+ | |||
+ | <code>PMemoryStatus = LPMEMORYSTATUS;</code> | ||
+ | |||
+ | <code>LPMEMORYSTATUS = ^MEMORYSTATUS;</code> | ||
+ | |||
+ | <code>_MEMORYSTATUS = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>dwLength:DWORD;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>dwMemoryLoad:DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwTotalPhys:SIZE_T;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwAvailPhys:SIZE_T;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwTotalPageFile:SIZE_T;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwAvailPageFile:SIZE_T;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwTotalVirtual:SIZE_T;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>dwAvailVirtual:SIZE_T;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Memory status extended''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>MEMORYSTATUSEX = _MEMORYSTATUSEX;</code> | ||
+ | |||
+ | <code>TMemoryStatusEx = MEMORYSTATUSEX;</code> | ||
+ | |||
+ | <code>PMemoryStatusEx = LPMEMORYSTATUSEX;</code> | ||
+ | |||
+ | <code>LPMEMORYSTATUSEX = ^MEMORYSTATUSEX;</code> | ||
+ | |||
+ | <code>_MEMORYSTATUSEX = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>dwLength:DWORD;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>ullTotalPhys:DWORDLONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ullAvailPhys:DWORDLONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ullTotalPageFile:DWORDLONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ullAvailPageFile:DWORDLONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ullTotalVirtual:DWORDLONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ullAvailVirtual:DWORDLONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ullAvailExtendedVirtual:DWORDLONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Security attributes''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>SECURITY_ATTRIBUTES = _SECURITY_ATTRIBUTES;</code> | ||
+ | |||
+ | <code>LPSECURITY_ATTRIBUTES = ^SECURITY_ATTRIBUTES;</code> | ||
+ | |||
+ | <code>TSecurityAttributes = SECURITY_ATTRIBUTES;</code> | ||
+ | |||
+ | <code>PSecurityAttributes = PSECURITY_ATTRIBUTES;</code> | ||
+ | |||
+ | <code>PSECURITY_ATTRIBUTES = ^SECURITY_ATTRIBUTES;</code> | ||
+ | |||
+ | <code>_SECURITY_ATTRIBUTES = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>nLength:DWORD;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>lpSecurityDescriptor:LPVOID;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bInheritHandle:BOOL;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Thread start routine''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>PTHREAD_START_ROUTINE = function (lpThreadParameter:LPVOID):DWORD;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>LPTHREAD_START_ROUTINE = PTHREAD_START_ROUTINE;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>TThreadStartRoutine = PTHREAD_START_ROUTINE;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Rectangle types''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>RECT = tagRECT;</code> | ||
+ | |||
+ | <code>NPRECT = ^tagRect;</code> | ||
+ | |||
+ | <code>LPCRECT = ^tagRect;</code> | ||
+ | |||
+ | <code>TRect = RECT;</code> | ||
+ | |||
+ | <code>PRect = LPRECT;</code> | ||
+ | |||
+ | <code>LPRECT = ^RECT;</code> | ||
+ | |||
+ | <code>tagRECT = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>left:LONG;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>top:LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>right:LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bottom:LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Point types''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>NPPOINT = ^tagPoint;</code> | ||
+ | |||
+ | <code>POINT = tagPOINT;</code> | ||
+ | |||
+ | <code>TPoint = POINT;</code> | ||
+ | |||
+ | <code>PPoint = LPPOINT;</code> | ||
+ | |||
+ | <code>LPPOINT = ^POINT;</code> | ||
+ | |||
+ | <code>tagPOINT = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>x:LONG;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>y:LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Message types''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>MSG = tagMSG;</code> | ||
+ | |||
+ | <code>NPMSG = ^MSG;</code> | ||
+ | |||
+ | <code>TMsg = MSG;</code> | ||
+ | |||
+ | <code>PMsg = LPMSG;</code> | ||
+ | |||
+ | <code>LPMSG = ^MSG;</code> | ||
+ | |||
+ | <code>tagMSG = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>hThread:HANDLE;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>message:UINT;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>wParam:WPARAM;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>lParam:LPARAM;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>time:DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>pt:POINT;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''List entry types''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>LIST_ENTRY = _LIST_ENTRY;</code> | ||
+ | |||
+ | <code>TListEntry = LIST_ENTRY;</code> | ||
+ | |||
+ | <code>PListEntry = PLIST_ENTRY;</code> | ||
+ | |||
+ | <code>PRLIST_ENTRY = ^LIST_ENTRY;</code> | ||
+ | |||
+ | <code>PLIST_ENTRY = ^LIST_ENTRY;</code> | ||
+ | |||
+ | <code>_LIST_ENTRY = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>Flink:PLIST_ENTRY;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>Blink:PLIST_ENTRY;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''RTL critical section debug''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>RTL_CRITICAL_SECTION_DEBUG = _RTL_CRITICAL_SECTION_DEBUG;</code> | ||
+ | |||
+ | <code>TRtlCriticalSectionDebug = RTL_CRITICAL_SECTION_DEBUG;</code> | ||
+ | |||
+ | <code>PRtlCriticalSectionDebug = PRTL_CRITICAL_SECTION_DEBUG;</code> | ||
+ | |||
+ | <code>PRTL_CRITICAL_SECTION_DEBUG = ^RTL_CRITICAL_SECTION_DEBUG;</code> | ||
+ | |||
+ | <code>_RTL_CRITICAL_SECTION_DEBUG = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>_Type:WORD;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>CreatorBackTraceIndex:WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>CriticalSection:PRTL_CRITICAL_SECTION_DEBUG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ProcessLocksList:LIST_ENTRY;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>EntryCount:DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ContentionCount:DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>Spare:array [0..1] of DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''RTL critical section''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>RTL_CRITICAL_SECTION = _RTL_CRITICAL_SECTION;</code> | ||
+ | |||
+ | <code>TRtlCriticalSection = RTL_CRITICAL_SECTION;</code> | ||
+ | |||
+ | <code>PRtlCriticalSection = PRTL_CRITICAL_SECTION;</code> | ||
+ | |||
+ | <code>PRTL_CRITICAL_SECTION = ^RTL_CRITICAL_SECTION;</code> | ||
+ | |||
+ | <code>_RTL_CRITICAL_SECTION = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>DebugInfo:PRTL_CRITICAL_SECTION_DEBUG;</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"|Note: The following three fields control entering and exiting the critical section for the resource | ||
+ | |- | ||
+ | | <code>LockCount:LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>RecursionCount:LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>OwningThread:HANDLE;</code> | ||
+ | | from the thread's ClientId->UniqueThread | ||
+ | |- | ||
+ | | <code>LockSemaphore:HANDLE;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SpinCount:ULONG_PTR;</code> | ||
+ | | force size on 64-bit systems when packed | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Critical section''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>CRITICAL_SECTION = RTL_CRITICAL_SECTION;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>PCRITICAL_SECTION = PRTL_CRITICAL_SECTION;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>LPCRITICAL_SECTION = PRTL_CRITICAL_SECTION;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>TCriticalSection = CRITICAL_SECTION;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>PCriticalSection = PCRITICAL_SECTION;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''IO counters''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>IO_COUNTERS = _IO_COUNTERS;</code> | ||
+ | |||
+ | <code>TIoCounters = IO_COUNTERS;</code> | ||
+ | |||
+ | <code>PIoCounters = PIO_COUNTERS;</code> | ||
+ | |||
+ | <code>PIO_COUNTERS = ^IO_COUNTERS;</code> | ||
+ | |||
+ | <code>_IO_COUNTERS = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>ReadOperationCount:Int64;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>WriteOperationCount:Int64;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>OtherOperationCount:Int64;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ReadTransferCount:Int64;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>WriteTransferCount:Int64;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>OtherTransferCount:Int64;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Code page information''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>LPCPINFO = Locale.LPCPINFO;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>_cpinfo = Locale._cpinfo;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>CPINFO = Locale.CPINFO;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>TCpInfo = Locale.TCpInfo;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>PCpInfo = Locale.PCpInfo;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Code page information extended''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>CPINFOEX = Locale.CPINFOEX;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>LPCPINFOEX = Locale.LPCPINFOEX;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>TCpInfoEx = Locale.TCpInfoEx;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>PCpInfoEx = Locale.PCpInfoEx;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''Memory basic information''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>MEMORY_BASIC_INFORMATION = _MEMORY_BASIC_INFORMATION;</code> | ||
+ | |||
+ | <code>TMemoryBasicInformation = MEMORY_BASIC_INFORMATION;</code> | ||
+ | |||
+ | <code>PMemoryBasicInformation = PMEMORY_BASIC_INFORMATION;</code> | ||
+ | |||
+ | <code>PMEMORY_BASIC_INFORMATION = ^MEMORY_BASIC_INFORMATION;</code> | ||
+ | |||
+ | <code>_MEMORY_BASIC_INFORMATION = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>BaseAddress: Pointer;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>AllocationBase: Pointer;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>AllocationProtect: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>RegionSize: SIZE_T;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>State: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>Protect: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>Type_: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''FXPT16 color types''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>FXPT16DOT16 = Longint;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>LPFXPT16DOT16 = ^FXPT16DOT16;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''FXPT2 color types''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | <code>FXPT2DOT30 = Longint;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | | <code>LPFXPT2DOT30 = ^FXPT2DOT30;</code> | ||
+ | | style="width: 40%;"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | '''CIEXYZ color types''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>CIEXYZ = tagCIEXYZ;</code> | ||
+ | |||
+ | <code>LPCIEXYZ = ^CIEXYZ;</code> | ||
+ | |||
+ | <code>TCieXyz = CIEXYZ;</code> | ||
+ | |||
+ | <code>PCieXyz = ^TCieXyz;</code> | ||
+ | |||
+ | <code>tagCIEXYZ = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>ciexyzX: FXPT2DOT30;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>ciexyzY: FXPT2DOT30;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ciexyzZ: FXPT2DOT30;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''CIEXYZ triple color types''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>CIEXYZTRIPLE = tagCIEXYZTRIPLE;</code> | ||
+ | |||
+ | <code>LPCIEXYZTRIPLE = ^CIEXYZTRIPLE;</code> | ||
+ | |||
+ | <code>TCieXyzTriple = CIEXYZTRIPLE;</code> | ||
+ | |||
+ | <code>PCieXyzTriple = ^TCieXyzTriple;</code> | ||
+ | |||
+ | <code>tagCIEXYZTRIPLE = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>ciexyzRed: CIEXYZ;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>ciexyzGreen: CIEXYZ;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>ciexyzBlue: CIEXYZ;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Bitmap types''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>BITMAP = tagBITMAP;</code> | ||
+ | |||
+ | <code>LPBITMAP = ^BITMAP;</code> | ||
+ | |||
+ | <code>NPBITMAP = ^BITMAP;</code> | ||
+ | |||
+ | <code>TBitmap = BITMAP;</code> | ||
+ | |||
+ | <code>PBitmap = ^TBitmap;</code> | ||
+ | |||
+ | <code>tagBITMAP = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>bmType: LONG;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>bmWidth: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bmHeight: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bmWidthBytes: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bmPlanes: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bmBitsPixel: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bmBits: LPVOID;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''RGB triple color types''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>RGBTRIPLE = tagRGBTRIPLE;</code> | ||
+ | |||
+ | <code>TRgbTriple = RGBTRIPLE;</code> | ||
+ | |||
+ | <code>PRgbTriple = ^TRgbTriple;</code> | ||
+ | |||
+ | <code>tagRGBTRIPLE = packed record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>rgbtBlue: BYTE;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>rgbtGreen: BYTE;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>rgbtRed: BYTE;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''RGB quad color types''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>RGBQUAD = tagRGBQUAD;</code> | ||
+ | |||
+ | <code>LPRGBQUAD = ^RGBQUAD;</code> | ||
+ | |||
+ | <code>TRgbQuad = RGBQUAD;</code> | ||
+ | |||
+ | <code>PRgbQuad = ^TRgbQuad;</code> | ||
+ | |||
+ | <code>tagRGBQUAD = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>rgbBlue: BYTE;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>rgbGreen: BYTE;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>rgbRed: BYTE;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>rgbReserved: BYTE;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Bitmap core header''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>BITMAPCOREHEADER = tagBITMAPCOREHEADER;</code> | ||
+ | |||
+ | <code>LPBITMAPCOREHEADER = ^BITMAPCOREHEADER;</code> | ||
+ | |||
+ | <code>TBitmapCoreHeader = BITMAPCOREHEADER;</code> | ||
+ | |||
+ | <code>PBitmapCoreHeader = ^TBitmapCoreHeader;</code> | ||
+ | |||
+ | <code>tagBITMAPCOREHEADER = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>bcSize: DWORD;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>bcWidth: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bcHeight: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bcPlanes: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bcBitCount: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Bitmap info header''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>BITMAPINFOHEADER = tagBITMAPINFOHEADER;</code> | ||
+ | |||
+ | <code>LPBITMAPINFOHEADER = ^BITMAPINFOHEADER;</code> | ||
+ | |||
+ | <code>TBitmapInfoHeader = BITMAPINFOHEADER;</code> | ||
+ | |||
+ | <code>PBitmapInfoHeader = ^TBitmapInfoHeader;</code> | ||
+ | |||
+ | <code>tagBITMAPINFOHEADER = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>biSize: DWORD;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>biWidth: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>biHeight: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>biPlanes: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>biBitCount: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>biCompression: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>biSizeImage: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>biXPelsPerMeter: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>biYPelsPerMeter: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>biClrUsed: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>biClrImportant: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Bitmap V4 header''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>LPBITMAPV4HEADER = ^BITMAPV4HEADER;</code> | ||
+ | |||
+ | <code>TBitmapV4Header = BITMAPV4HEADER;</code> | ||
+ | |||
+ | <code>PBitmapV4Header = ^TBitmapV4Header;</code> | ||
+ | |||
+ | <code>BITMAPV4HEADER = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>bV4Size: DWORD;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>bV4Width: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4Height: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4Planes: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4BitCount: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4V4Compression: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4SizeImage: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4XPelsPerMeter: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4YPelsPerMeter: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4ClrUsed: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4ClrImportant: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4RedMask: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4GreenMask: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4BlueMask: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4AlphaMask: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4CSType: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4Endpoints: CIEXYZTRIPLE;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4GammaRed: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4GammaGreen: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV4GammaBlue: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Bitmap V5 header''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>LPBITMAPV5HEADER = ^BITMAPV5HEADER;</code> | ||
+ | |||
+ | <code>TBitmapV5Header = BITMAPV5HEADER;</code> | ||
+ | |||
+ | <code>PBitmapV5Header = ^TBitmapV5Header;</code> | ||
+ | |||
+ | <code>BITMAPV5HEADER = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>bV5Size: DWORD;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>bV5Width: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5Height: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5Planes: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5BitCount: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5Compression: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5SizeImage: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5XPelsPerMeter: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5YPelsPerMeter: LONG;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5ClrUsed: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5ClrImportant: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5RedMask: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5GreenMask: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5BlueMask: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5AlphaMask: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5CSType: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5Endpoints: CIEXYZTRIPLE;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5GammaRed: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5GammaGreen: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5GammaBlue: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5Intent: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5ProfileData: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5ProfileSize: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bV5Reserved: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Bitmap information''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>BITMAPINFO = tagBITMAPINFO;</code> | ||
+ | |||
+ | <code>LPBITMAPINFO = ^BITMAPINFO;</code> | ||
+ | |||
+ | <code>TBitmapInfo = BITMAPINFO;</code> | ||
+ | |||
+ | <code>PBitmapInfo = ^TBitmapInfo;</code> | ||
+ | |||
+ | <code>tagBITMAPINFO = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>bmiHeader: BITMAPINFOHEADER;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>bmiColors: array [0..0] of RGBQUAD;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Bitmap core information''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>BITMAPCOREINFO = tagBITMAPCOREINFO;</code> | ||
+ | |||
+ | <code>LPBITMAPCOREINFO = ^BITMAPCOREINFO;</code> | ||
+ | |||
+ | <code>TBitmapCoreInfo = BITMAPCOREINFO;</code> | ||
+ | |||
+ | <code>PBitmapCoreInfo = ^TBitmapCoreInfo;</code> | ||
+ | |||
+ | <code>tagBITMAPCOREINFO = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>bmciHeader: BITMAPCOREHEADER;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>bmciColors: array [0..0] of RGBTRIPLE;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | |||
+ | '''Bitmap file header''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>BITMAPFILEHEADER = tagBITMAPFILEHEADER;</code> | ||
+ | |||
+ | <code>LPBITMAPFILEHEADER = ^BITMAPFILEHEADER;</code> | ||
+ | |||
+ | <code>TBitmapFileHeader = BITMAPFILEHEADER;</code> | ||
+ | |||
+ | <code>PBitmapFileHeader = ^TBitmapFileHeader;</code> | ||
+ | |||
+ | <code>tagBITMAPFILEHEADER = packed record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>bfType: WORD;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>bfSize: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bfReserved1: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bfReserved2: WORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>bfOffBits: DWORD;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
=== Public variables === | === Public variables === |
Revision as of 03:56, 3 March 2017
Return to Unit Reference
Contents
[hide]Description
Ultibo interface unit
To be documented
Constants
MAXLONGLONG_*
CREATE_*
PM_*
TIME_ZONE_*
EWX_*
DRIVE_*
SYMBOLIC_LINK_*
LMEM_*
GMEM_*
PAGE_*
MEM_*, SEC_*, WRITE_*
PROCESSOR_ARCHITECTURE_*
PROCESSOR_*
VER_*
FILE_ATTRIBUTE_*
FILE_*
DDD_*
TIME_NULL_*
*_DRIVE
*_PATH, _FILE*
Type definitions
Signed types
INT = GlobalTypes.INT;
|
|
BOOL = GlobalTypes.BOOL;
|
|
LONG = GlobalTypes.LONG;
|
Unsigned types
UINT = GlobalTypes.UINT;
|
|
UCHAR = GlobalTypes.UCHAR;
|
|
USHORT = GlobalTypes.USHORT;
|
|
ULONG = GlobalTypes.ULONG;
|
Pointer types
PVOID = GlobalTypes.PVOID;
|
|
LPVOID = GlobalTypes.LPVOID;
|
|
LPCVOID = GlobalTypes.LPCVOID;
|
|
LPBOOL = GlobalTypes.LPBOOL;
|
|
PLONG = GlobalTypes.PLONG;
|
|
LPLONG = GlobalTypes.LPLONG;
|
|
LPDWORD = GlobalTypes.LPDWORD;
|
|
INT_PTR = GlobalTypes.INT_PTR;
|
|
UINT_PTR = GlobalTypes.UINT_PTR;
|
|
LONG_PTR = GlobalTypes.LONG_PTR;
|
|
ULONG_PTR = GlobalTypes.ULONG_PTR;
|
|
DWORD_PTR = GlobalTypes.DWORD_PTR;
|
|
PDWORD_PTR = GlobalTypes.PDWORD_PTR;
|
64bit types
LONGLONG = GlobalTypes.LONGLONG;
|
|
ULONGLONG = GlobalTypes.ULONGLONG;
|
|
DWORDLONG = GlobalTypes.DWORDLONG;
|
Quad
Locale Id
LCID = Locale.LCID;
|
|
PLCID = Locale.PLCID;
|
Language Id
LANGID = Locale.LANGID;
|
|
PLANGID = Locale.PLANGID;
|
Language group Id
LGRPID = Locale.LGRPID;
|
Locale type
LCTYPE = Locale.LCTYPE;
|
Calendar type
CALTYPE = Locale.CALTYPE;
|
Calendar Id
CALID = Locale.CALID;
|
Large integer
LARGE_INTEGER = _LARGE_INTEGER;
TLargeInteger = LARGE_INTEGER;
PLARGE_INTEGER = ^LARGE_INTEGER;
PLargeInteger = LPLARGE_INTEGER;
LPLARGE_INTEGER = ^LARGE_INTEGER;
_LARGE_INTEGER = record
OS version information
OSVERSIONINFO = _OSVERSIONINFO;
TOsVersionInfo = OSVERSIONINFO;
POsVersionInfo = LPOSVERSIONINFO;
LPOSVERSIONINFO = ^OSVERSIONINFO;
_OSVERSIONINFO = record
System information
SYSTEM_INFO = _SYSTEM_INFO;
TSystemInfo = SYSTEM_INFO;
PSystemInfo = LPSYSTEM_INFO;
LPSYSTEM_INFO = ^SYSTEM_INFO;
_SYSTEM_INFO = record
Computer name
COMPUTER_NAME_FORMAT = _COMPUTER_NAME_FORMAT;
TComputerNameFormat = COMPUTER_NAME_FORMAT;
_COMPUTER_NAME_FORMAT = (
System time
LPSYSTEMTIME = Timezone.LPSYSTEMTIME;
|
|
_SYSTEMTIME = Timezone._SYSTEMTIME;
|
|
SYSTEMTIME = Timezone.SYSTEMTIME;
|
|
TSystemTime = Timezone.TSystemTime;
|
|
PSystemTime = Timezone.PSystemTime;
|
Find data
WIN32_FIND_DATAW = _WIN32_FIND_DATAW;
LPWIN32_FIND_DATAW = ^WIN32_FIND_DATAW;
TWin32FindDataW = WIN32_FIND_DATAW;
PWin32FindDataW = PWIN32_FIND_DATAW;
PWIN32_FIND_DATAW = ^WIN32_FIND_DATAW;
_WIN32_FIND_DATAW = record
Stream info levels
_STREAM_INFO_LEVELS = (FindStreamInfoStandard, FindStreamInfoMaxInfoLevel);
|
|
STREAM_INFO_LEVELS = _STREAM_INFO_LEVELS;
|
|
TStreamInfoLevels = STREAM_INFO_LEVELS;
|
Find stream data
WIN32_FIND_STREAM_DATA = _WIN32_FIND_STREAM_DATA;
PWIN32_FIND_STREAM_DATA = ^WIN32_FIND_STREAM_DATA;
TWin32FindStreamData = WIN32_FIND_STREAM_DATA;
PWin32FindStreamData = PWIN32_FIND_STREAM_DATA;
_WIN32_FIND_STREAM_DATA = record
Time zone information
PTIME_ZONE_INFORMATION = Timezone.PTIME_ZONE_INFORMATION;
|
|
_TIME_ZONE_INFORMATION = Timezone._TIME_ZONE_INFORMATION;
|
|
TIME_ZONE_INFORMATION = Timezone.TIME_ZONE_INFORMATION;
|
|
LPTIME_ZONE_INFORMATION = Timezone.LPTIME_ZONE_INFORMATION;
|
|
TTimeZoneInformation = Timezone.TTimeZoneInformation;
|
|
PTimeZoneInformation = Timezone.PTimeZoneInformation;
|
Memory status
MEMORYSTATUS = _MEMORYSTATUS;
TMemoryStatus = MEMORYSTATUS;
PMemoryStatus = LPMEMORYSTATUS;
LPMEMORYSTATUS = ^MEMORYSTATUS;
_MEMORYSTATUS = record
Memory status extended
MEMORYSTATUSEX = _MEMORYSTATUSEX;
TMemoryStatusEx = MEMORYSTATUSEX;
PMemoryStatusEx = LPMEMORYSTATUSEX;
LPMEMORYSTATUSEX = ^MEMORYSTATUSEX;
_MEMORYSTATUSEX = record
Security attributes
SECURITY_ATTRIBUTES = _SECURITY_ATTRIBUTES;
LPSECURITY_ATTRIBUTES = ^SECURITY_ATTRIBUTES;
TSecurityAttributes = SECURITY_ATTRIBUTES;
PSecurityAttributes = PSECURITY_ATTRIBUTES;
PSECURITY_ATTRIBUTES = ^SECURITY_ATTRIBUTES;
_SECURITY_ATTRIBUTES = record
Thread start routine
PTHREAD_START_ROUTINE = function (lpThreadParameter:LPVOID):DWORD;
|
|
LPTHREAD_START_ROUTINE = PTHREAD_START_ROUTINE;
|
|
TThreadStartRoutine = PTHREAD_START_ROUTINE;
|
Rectangle types
RECT = tagRECT;
NPRECT = ^tagRect;
LPCRECT = ^tagRect;
TRect = RECT;
PRect = LPRECT;
LPRECT = ^RECT;
tagRECT = record
Point types
NPPOINT = ^tagPoint;
POINT = tagPOINT;
TPoint = POINT;
PPoint = LPPOINT;
LPPOINT = ^POINT;
tagPOINT = record
Message types
List entry types
LIST_ENTRY = _LIST_ENTRY;
TListEntry = LIST_ENTRY;
PListEntry = PLIST_ENTRY;
PRLIST_ENTRY = ^LIST_ENTRY;
PLIST_ENTRY = ^LIST_ENTRY;
_LIST_ENTRY = record
RTL critical section debug
RTL_CRITICAL_SECTION_DEBUG = _RTL_CRITICAL_SECTION_DEBUG;
TRtlCriticalSectionDebug = RTL_CRITICAL_SECTION_DEBUG;
PRtlCriticalSectionDebug = PRTL_CRITICAL_SECTION_DEBUG;
PRTL_CRITICAL_SECTION_DEBUG = ^RTL_CRITICAL_SECTION_DEBUG;
_RTL_CRITICAL_SECTION_DEBUG = record
RTL critical section
RTL_CRITICAL_SECTION = _RTL_CRITICAL_SECTION;
TRtlCriticalSection = RTL_CRITICAL_SECTION;
PRtlCriticalSection = PRTL_CRITICAL_SECTION;
PRTL_CRITICAL_SECTION = ^RTL_CRITICAL_SECTION;
_RTL_CRITICAL_SECTION = record
Critical section
CRITICAL_SECTION = RTL_CRITICAL_SECTION;
|
|
PCRITICAL_SECTION = PRTL_CRITICAL_SECTION;
|
|
LPCRITICAL_SECTION = PRTL_CRITICAL_SECTION;
|
|
TCriticalSection = CRITICAL_SECTION;
|
|
PCriticalSection = PCRITICAL_SECTION;
|
IO counters
IO_COUNTERS = _IO_COUNTERS;
TIoCounters = IO_COUNTERS;
PIoCounters = PIO_COUNTERS;
PIO_COUNTERS = ^IO_COUNTERS;
_IO_COUNTERS = record
Code page information
LPCPINFO = Locale.LPCPINFO;
|
|
_cpinfo = Locale._cpinfo;
|
|
CPINFO = Locale.CPINFO;
|
|
TCpInfo = Locale.TCpInfo;
|
|
PCpInfo = Locale.PCpInfo;
|
Code page information extended
CPINFOEX = Locale.CPINFOEX;
|
|
LPCPINFOEX = Locale.LPCPINFOEX;
|
|
TCpInfoEx = Locale.TCpInfoEx;
|
|
PCpInfoEx = Locale.PCpInfoEx;
|
Memory basic information
MEMORY_BASIC_INFORMATION = _MEMORY_BASIC_INFORMATION;
TMemoryBasicInformation = MEMORY_BASIC_INFORMATION;
PMemoryBasicInformation = PMEMORY_BASIC_INFORMATION;
PMEMORY_BASIC_INFORMATION = ^MEMORY_BASIC_INFORMATION;
_MEMORY_BASIC_INFORMATION = record
FXPT16 color types
FXPT16DOT16 = Longint;
|
|
LPFXPT16DOT16 = ^FXPT16DOT16;
|
FXPT2 color types
FXPT2DOT30 = Longint;
|
|
LPFXPT2DOT30 = ^FXPT2DOT30;
|
CIEXYZ color types
CIEXYZ = tagCIEXYZ;
LPCIEXYZ = ^CIEXYZ;
TCieXyz = CIEXYZ;
PCieXyz = ^TCieXyz;
tagCIEXYZ = record
CIEXYZ triple color types
CIEXYZTRIPLE = tagCIEXYZTRIPLE;
LPCIEXYZTRIPLE = ^CIEXYZTRIPLE;
TCieXyzTriple = CIEXYZTRIPLE;
PCieXyzTriple = ^TCieXyzTriple;
tagCIEXYZTRIPLE = record
Bitmap types
BITMAP = tagBITMAP;
LPBITMAP = ^BITMAP;
NPBITMAP = ^BITMAP;
TBitmap = BITMAP;
PBitmap = ^TBitmap;
tagBITMAP = record
RGB triple color types
RGBTRIPLE = tagRGBTRIPLE;
TRgbTriple = RGBTRIPLE;
PRgbTriple = ^TRgbTriple;
tagRGBTRIPLE = packed record
RGB quad color types
RGBQUAD = tagRGBQUAD;
LPRGBQUAD = ^RGBQUAD;
TRgbQuad = RGBQUAD;
PRgbQuad = ^TRgbQuad;
tagRGBQUAD = record
Bitmap core header
BITMAPCOREHEADER = tagBITMAPCOREHEADER;
LPBITMAPCOREHEADER = ^BITMAPCOREHEADER;
TBitmapCoreHeader = BITMAPCOREHEADER;
PBitmapCoreHeader = ^TBitmapCoreHeader;
tagBITMAPCOREHEADER = record
Bitmap info header
BITMAPINFOHEADER = tagBITMAPINFOHEADER;
LPBITMAPINFOHEADER = ^BITMAPINFOHEADER;
TBitmapInfoHeader = BITMAPINFOHEADER;
PBitmapInfoHeader = ^TBitmapInfoHeader;
tagBITMAPINFOHEADER = record
Bitmap V4 header
LPBITMAPV4HEADER = ^BITMAPV4HEADER;
TBitmapV4Header = BITMAPV4HEADER;
PBitmapV4Header = ^TBitmapV4Header;
BITMAPV4HEADER = record
Bitmap V5 header
LPBITMAPV5HEADER = ^BITMAPV5HEADER;
TBitmapV5Header = BITMAPV5HEADER;
PBitmapV5Header = ^TBitmapV5Header;
BITMAPV5HEADER = record
Bitmap information
BITMAPINFO = tagBITMAPINFO;
LPBITMAPINFO = ^BITMAPINFO;
TBitmapInfo = BITMAPINFO;
PBitmapInfo = ^TBitmapInfo;
tagBITMAPINFO = record
Bitmap core information
BITMAPCOREINFO = tagBITMAPCOREINFO;
LPBITMAPCOREINFO = ^BITMAPCOREINFO;
TBitmapCoreInfo = BITMAPCOREINFO;
PBitmapCoreInfo = ^TBitmapCoreInfo;
tagBITMAPCOREINFO = record
Bitmap file header
BITMAPFILEHEADER = tagBITMAPFILEHEADER;
LPBITMAPFILEHEADER = ^BITMAPFILEHEADER;
TBitmapFileHeader = BITMAPFILEHEADER;
PBitmapFileHeader = ^TBitmapFileHeader;
tagBITMAPFILEHEADER = packed record
Public variables
None defined
Function declarations
Initialization functions
General functions (Compatibility)
function GetVersionEx(lpVersionInformation:LPOSVERSIONINFOA):BOOL; inline;
function GetVersionExA(lpVersionInformation:LPOSVERSIONINFOA):BOOL;
function GetVersionExW(lpVersionInformation:LPOSVERSIONINFOW):BOOL;
function GetComputerName(lpBuffer:LPSTR; var nSize:DWORD):BOOL; inline;
function GetComputerNameA(lpBuffer:LPSTR; var nSize:DWORD):BOOL;
function GetComputerNameW(lpBuffer:LPWSTR; var nSize:DWORD):BOOL;
function SetComputerName(lpComputerName:LPCSTR):BOOL; inline;
function GetComputerNameEx(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPSTR; var nSize:DWORD):BOOL; inline;
function GetComputerNameExA(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPSTR; var nSize:DWORD):BOOL;
function GetComputerNameExW(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPWSTR; var nSize:DWORD):BOOL;
function SetComputerNameEx(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPCSTR):BOOL; inline;
function SetComputerNameExA(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPCSTR):BOOL;
function SetComputerNameExW(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPCWSTR):BOOL;
General functions (Ultibo)
Time functions (Compatibility)
procedure GetSystemTime(var lpSystemTime:SYSTEMTIME);
procedure GetSystemTimeAsFileTime(var lpSystemTimeAsFileTime:FILETIME);
function SetSystemTime(var lpSystemTime:SYSTEMTIME):BOOL;
procedure GetLocalTime(var lpSystemTime:SYSTEMTIME);
function SetLocalTime(var lpSystemTime:SYSTEMTIME):BOOL;
function SystemTimeToTzSpecificLocalTime(lpTimeZoneInformation:LPTIME_ZONE_INFORMATION; var lpUniversalTime,lpLocalTime:SYSTEMTIME):BOOL;
function TzSpecificLocalTimeToSystemTime(const lpTimeZoneInformation:TIME_ZONE_INFORMATION; const lpLocalTime:SYSTEMTIME; var lpUniversalTime:SYSTEMTIME):BOOL;
function GetTimeZoneInformation(var lpTimeZoneInformation:TIME_ZONE_INFORMATION):DWORD;
function SetTimeZoneInformation(const lpTimeZoneInformation:TIME_ZONE_INFORMATION):BOOL;
function SystemTimeToFileTime(const lpSystemTime:SYSTEMTIME; var lpFileTime:FILETIME):BOOL;
function FileTimeToSystemTime(const lpFileTime:FILETIME; var lpSystemTime:SYSTEMTIME):BOOL;
function FileTimeToLocalFileTime(const lpFileTime:FILETIME; var lpLocalFileTime:FILETIME):BOOL;
function LocalFileTimeToFileTime(const lpLocalFileTime:FILETIME; var lpFileTime:FILETIME):BOOL;
function CompareFileTime(const lpFileTime1,lpFileTime2:FILETIME):LONG;
function FileTimeToDosDateTime(const lpFileTime:FILETIME; var lpFatDate,lpFatTime:WORD):BOOL;
function DosDateTimeToFileTime(wFatDate,wFatTime:WORD; var lpFileTime:FILETIME):BOOL;
Time functions (Ultibo)
function GetCurrentTime:TFileTime;
procedure SetCurrentTime(const ATime:TFileTime);
procedure SetTimeAdjust(AAdjust:LongInt);
function SetCurrentTimezone(const AName:String):Boolean;
function GetTimezoneActiveOffset:LongInt;
function GetTimezoneStandardOffset:LongInt;
procedure SetTimezoneStandardOffset(AOffset:LongInt);
function GetTimezoneDaylightOffset:LongInt;
procedure SetTimezoneDaylightOffset(AOffset:LongInt);
function GetTimezoneStandardStart:String;
function GetTimezoneDaylightStart:String;
function GetTimezoneStandardDate:TDateTime;
function GetTimezoneDaylightDate:TDateTime;
function FileTimeToDateTime(const AFileTime:TFileTime):TDateTime;
function DateTimeToFileTime(ADateTime:TDateTime):TFileTime;
function LocalFileTimeToDateTime(const AFileTime:TFileTime):TDateTime;
function DateTimeToLocalFileTime(ADateTime:TDateTime):TFileTime;
function SystemFileTimeToDateTime(const AFileTime:TFileTime):TDateTime;
function DateTimeToSystemFileTime(ADateTime:TDateTime):TFileTime;
function FileTimeToUnixTime(const AFileTime:TFileTime):LongInt;
function UnixTimeToFileTime(AUnixTime:LongInt):TFileTime;
function UnixTimeToDateTime(AUnixTime:LongInt):TDateTime;
function DateTimeToUnixTime(ADateTime:TDateTime):LongInt;
function FileTimeToFileDate(const AFileTime:TFileTime):Integer;
function FileDateToFileTime(AFileDate:Integer):TFileTime;
function FileTimeToAdjustedTime(const AFileTime:TFileTime):TFileTime;
function AdjustedTimeToFileTime(const AFileTime:TFileTime):TFileTime;
function RoundFileTime(const AFileTime:TFileTime):TFileTime;
function ConvertFileTime(const AFileTime:TFileTime; AOffset:Integer; ALocal:Boolean):TFileTime;
function ConvertDateTime(ADateTime:TDateTime; AOffset:Integer; ALocal:Boolean):TDateTime;
Drive functions (Compatibility)
function GetLogicalDriveStrings(nBufferLength:DWORD; lpBuffer:LPSTR):DWORD; inline;
function GetLogicalDriveStringsA(nBufferLength:DWORD; lpBuffer:LPSTR):DWORD;
function GetLogicalDriveStringsW(nBufferLength:DWORD; lpBuffer:LPWSTR):DWORD;
function DefineDosDevice(dwFlags:DWORD; lpDeviceName,lpTargetPath:LPCSTR):BOOL; inline;
function DefineDosDeviceA(dwFlags:DWORD; lpDeviceName,lpTargetPath:LPCSTR):BOOL;
function DefineDosDeviceW(dwFlags:DWORD; lpDeviceName,lpTargetPath:LPCWSTR):BOOL;
function QueryDosDevice(lpDeviceName,lpTargetPath:LPSTR; ucchMax:DWORD):DWORD; inline;
function QueryDosDeviceA(lpDeviceName,lpTargetPath:LPSTR; ucchMax:DWORD):DWORD;
function QueryDosDeviceW(lpDeviceName,lpTargetPath:LPWSTR; ucchMax:DWORD):DWORD;
function SetVolumeLabel(lpRootPathName,lpVolumeName:LPCSTR):BOOL; inline;
function SetVolumeLabelA(lpRootPathName,lpVolumeName:LPCSTR):BOOL;
function SetVolumeLabelW(lpRootPathName,lpVolumeName:LPCWSTR):BOOL;
function GetVolumeInformation(lpRootPathName:LPCSTR; lpVolumeNameBuffer:LPSTR; nVolumeNameSize:DWORD; lpVolumeSerialNumber:LPDWORD; var lpMaximumComponentLength,lpFileSystemFlags:DWORD; lpFileSystemNameBuffer:LPSTR; nFileSystemNameSize:DWORD):BOOL; inline;
function GetVolumeInformationA(lpRootPathName:LPCSTR; lpVolumeNameBuffer:LPSTR; nVolumeNameSize:DWORD; lpVolumeSerialNumber:LPDWORD; var lpMaximumComponentLength,lpFileSystemFlags:DWORD;lpFileSystemNameBuffer:LPSTR; nFileSystemNameSize:DWORD):BOOL;
function GetVolumeInformationW(lpRootPathName:LPCWSTR; lpVolumeNameBuffer:LPWSTR; nVolumeNameSize:DWORD; lpVolumeSerialNumber:LPDWORD; var lpMaximumComponentLength,lpFileSystemFlags:DWORD;lpFileSystemNameBuffer:LPWSTR; nFileSystemNameSize:DWORD):BOOL;
function GetDiskFreeSpace(lpRootPathName:LPCSTR; var lpSectorsPerCluster,lpBytesPerSector,lpNumberOfFreeClusters,lpTotalNumberOfClusters:DWORD):BOOL; inline;
function GetDiskFreeSpaceA(lpRootPathName:LPCSTR; var lpSectorsPerCluster,lpBytesPerSector,lpNumberOfFreeClusters,lpTotalNumberOfClusters:DWORD):BOOL;
function GetDiskFreeSpaceW(lpRootPathName:LPCWSTR; var lpSectorsPerCluster,lpBytesPerSector,lpNumberOfFreeClusters,lpTotalNumberOfClusters:DWORD):BOOL;
function GetDiskFreeSpaceEx(lpDirectoryName:LPCSTR; var lpFreeBytesAvailableToCaller,lpTotalNumberOfBytes:ULARGE_INTEGER; lpTotalNumberOfFreeBytes:PULARGE_INTEGER):BOOL; inline;
Drive functions (Ultibo)
function SetDriveLabel(ADrive:Byte; const ALabel:String):Boolean;
function SetDriveSerial(ADrive:Byte; ASerial:LongWord):Boolean;
File functions (Compatibility)
function CreateFile(lpFileName:LPCSTR; dwDesiredAccess,dwShareMode:DWORD; lpSecurityAttributes:LPSECURITY_ATTRIBUTES; dwCreationDisposition:DWORD; dwFlagsAndAttributes:DWORD; hTemplateFile:HANDLE):HANDLE; inline;
function CreateFileA(lpFileName:LPCSTR; dwDesiredAccess,dwShareMode:DWORD; lpSecurityAttributes:LPSECURITY_ATTRIBUTES; dwCreationDisposition:DWORD; dwFlagsAndAttributes:DWORD; hTemplateFile:HANDLE):HANDLE;
function CreateFileW(lpFileName:LPCWSTR; dwDesiredAccess,dwShareMode:DWORD; lpSecurityAttributes:LPSECURITY_ATTRIBUTES; dwCreationDisposition:DWORD; dwFlagsAndAttributes:DWORD; hTemplateFile:HANDLE):HANDLE;
function SetFileAttributes(lpFileName:LPCSTR; dwFileAttributes:DWORD):BOOL; inline;
function SetFileAttributesA(lpFileName:LPCSTR; dwFileAttributes:DWORD):BOOL;
function SetFileAttributesW(lpFileName:LPCWSTR; dwFileAttributes:DWORD):BOOL;
function MoveFile(lpExistingFileName,lpNewFileName:LPCSTR):BOOL; inline;
function MoveFileA(lpExistingFileName,lpNewFileName:LPCSTR):BOOL;
function MoveFileW(lpExistingFileName,lpNewFileName:LPCWSTR):BOOL;
function FindFirstFile(lpFileName:LPCSTR; var lpFindFileData:WIN32_FIND_DATAA):HANDLE; inline;
function FindFirstFileA(lpFileName:LPCSTR; var lpFindFileData:WIN32_FIND_DATAA):HANDLE;
function FindFirstFileW(lpFileName:LPCWSTR; var lpFindFileData:WIN32_FIND_DATAW):HANDLE;
function FindNextFile(hFindFile:HANDLE; var lpFindFileData:WIN32_FIND_DATAA):BOOL; inline;
function FindNextFileA(hFindFile:HANDLE; var lpFindFileData:WIN32_FIND_DATAA):BOOL;
function FindNextFileW(hFindFile:HANDLE; var lpFindFileData:WIN32_FIND_DATAW):BOOL;
function GetFileSize(hFile:HANDLE;lpFileSizeHigh:LPDWORD):DWORD;
function GetFileSizeEx(hFile:HANDLE; var lpFileSize:LARGE_INTEGER):BOOL;
function GetFileTime(hFile:HANDLE; lpCreationTime,lpLastAccessTime,lpLastWriteTime:PFILETIME):BOOL;
function SetFileTime(hFile:HANDLE; lpCreationTime,lpLastAccessTime,lpLastWriteTime:PFILETIME):BOOL;
function ReadFile(hFile:HANDLE; lpBuffer:LPVOID; nNumberOfBytesToRead:DWORD; lpNumberOfBytesRead:LPDWORD; lpOverlapped:LPOVERLAPPED):BOOL;
function WriteFile(hFile:HANDLE; lpBuffer:LPCVOID; nNumberOfBytesToWrite:DWORD; lpNumberOfBytesWritten:LPDWORD; lpOverlapped:LPOVERLAPPED):BOOL;
function SetFilePointer(hFile:HANDLE; lDistanceToMove:LONG; lpDistanceToMoveHigh:PLONG; dwMoveMethod:DWORD):DWORD;
function SetFilePointerEx(hFile:HANDLE; liDistanceToMove:LARGE_INTEGER; lpNewFilePointer:PLARGE_INTEGER; dwMoveMethod:DWORD):BOOL;
function CopyFile(lpExistingFileName,lpNewFileName:LPCSTR; bFailIfExists:BOOL):BOOL; inline;
function CopyFileA(lpExistingFileName,lpNewFileName:LPCSTR; bFailIfExists:BOOL):BOOL;
function CopyFileW(lpExistingFileName,lpNewFileName:LPCWSTR; bFailIfExists:BOOL):BOOL;
function SetFileShortName(hFile:HANDLE; lpShortName:LPCSTR):BOOL; inline;
function SetFileShortNameA(hFile:HANDLE; lpShortName:LPCSTR):BOOL;
function SetFileShortNameW(hFile:HANDLE; lpShortName:LPCWSTR):BOOL;
function CreateHardLink(lpFileName,lpExistingFileName:LPCSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL; inline;
function CreateHardLinkA(lpFileName,lpExistingFileName:LPCSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
function CreateHardLinkW(lpFileName,lpExistingFileName:LPCWSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
function CreateSymbolicLink(lpSymlinkFileName,lpTargetFileName:LPCSTR; dwFlags:DWORD):BOOL; inline;
function CreateSymbolicLinkA(lpSymlinkFileName,lpTargetFileName:LPCSTR; dwFlags:DWORD):BOOL;
function CreateSymbolicLinkW(lpSymlinkFileName,lpTargetFileName:LPCWSTR; dwFlags:DWORD):BOOL;
Directory functions (Compatibility)
function CreateDirectory(lpPathName:LPCSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL; inline;
function CreateDirectoryA(lpPathName:LPCSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
function CreateDirectoryW(lpPathName:LPCWSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
function SetCurrentDirectory(lpPathName:LPCSTR):BOOL; inline;
function GetCurrentDirectory(nBufferLength:DWORD; lpBuffer:LPSTR):DWORD; inline;
function GetCurrentDirectoryA(nBufferLength:DWORD; lpBuffer:LPSTR):DWORD;
function GetCurrentDirectoryW(nBufferLength:DWORD; lpBuffer:LPWSTR):DWORD;
function GetLongPathName(lpszShortPath:LPCSTR; lpszLongPath:LPSTR; cchBuffer:DWORD):DWORD; inline;
function GetLongPathNameA(lpszShortPath:LPCSTR; lpszLongPath:LPSTR; cchBuffer:DWORD):DWORD;
function GetLongPathNameW(lpszShortPath:LPCWSTR; lpszLongPath:LPWSTR; cchBuffer:DWORD):DWORD;
function GetShortPathName(lpszLongPath:LPCSTR; lpszShortPath:LPSTR; cchBuffer:DWORD):DWORD; inline;
function GetShortPathNameA(lpszLongPath:LPCSTR; lpszShortPath:LPSTR; cchBuffer:DWORD):DWORD;
function GetShortPathNameW(lpszLongPath:LPCWSTR; lpszShortPath:LPWSTR; cchBuffer:DWORD):DWORD;
function GetFullPathName(lpFileName:LPCSTR; nBufferLength:DWORD; lpBuffer:LPSTR; var lpFilePart:LPSTR):DWORD; inline;
function GetFullPathNameA(lpFileName:LPCSTR; nBufferLength:DWORD; lpBuffer:LPSTR; var lpFilePart:LPSTR):DWORD;
function GetFullPathNameW(lpFileName:LPCWSTR; nBufferLength:DWORD; lpBuffer:LPWSTR; var lpFilePart:LPWSTR):DWORD;
Command line functions (RTL)
Command line functions (Compatibility)
Command line functions (Ultibo)
function IsParamPresent(const AParam:String):Boolean;
function GetParamIndex(const AParam:String):Integer;
function GetParamValue(const AParam:String):String;
Environment functions (Compatibility)
function GetEnvironmentVariable(lpName:LPCSTR; lpBuffer:LPSTR; nSize:DWORD):DWORD; inline;
function GetEnvironmentVariableA(lpName:LPCSTR; lpBuffer:LPSTR; nSize:DWORD):DWORD;
function GetEnvironmentVariableW(lpName:LPCWSTR; lpBuffer:LPWSTR; nSize:DWORD):DWORD;
function SetEnvironmentVariable(lpName,lpValue:LPCSTR):BOOL; inline;
function SetEnvironmentVariableA(lpName,lpValue:LPCSTR):BOOL;
function SetEnvironmentVariableW(lpName,lpValue:LPCWSTR):BOOL;
function ExpandEnvironmentStrings(lpSrc:LPCSTR; lpDst:LPSTR; nSize:DWORD):DWORD; inline;
function ExpandEnvironmentStringsA(lpSrc:LPCSTR; lpDst:LPSTR; nSize:DWORD):DWORD;
function ExpandEnvironmentStringsW(lpSrc:LPCWSTR; lpDst:LPWSTR; nSize:DWORD):DWORD;
Error functions (Compatibility)
GUID functions (Ultibo)
function CreateGUID:TGUID;
SID functions (Ultibo)
Numeric functions (Ultibo)
function BufferSwap(ABuffer:Pointer; ASize:LongWord):Boolean;
Hash functions (Ultibo)
function GenerateNameHash(const Name:String; Size:Integer):LongWord;
function GeneratePasswordHash(const Password:String):LongWord;
Locale functions (Compatibility)
function IsValidLocale(LocaleID:LCID; dwFlags:DWORD):BOOL; inline;
Locale functions (Ultibo)
function WideCharToString(ABuffer:PWideChar):String;
function WideCharLenToString(ABuffer:PWideChar; ALength:Integer):String;
function StringToWideChar(const AString:String; ABuffer:PWideChar; ASize:Integer):Boolean;
Code page functions (Compatibility)
function GetCPInfo(CodePage:UINT; var lpCPInfo:TCPInfo):BOOL; inline;
function GetCPInfoEx(CodePage:UINT; dwFlags:DWORD; var lpCPInfoEx:CPINFOEXA):BOOL; inline;
function GetCPInfoExA(CodePage:UINT; dwFlags:DWORD; var lpCPInfoEx:CPINFOEXA):BOOL; inline;
function GetCPInfoExW(CodePage:UINT; dwFlags:DWORD; var lpCPInfoEx:CPINFOEXW):BOOL; inline;
Code page functions (Ultibo)
Translation functions (Compatibility)
function MultiByteToWideChar(CodePage:UINT; dwFlags:DWORD; lpMultiByteStr:LPCSTR; cbMultiByte:Integer; lpWideCharStr:LPWSTR; cchWideChar:Integer):Integer; inline;
function WideCharToMultiByte(CodePage:UINT; dwFlags:DWORD; lpWideCharStr:LPCWSTR; cchWideChar:Integer; lpMultiByteStr:LPSTR; cbMultiByte:Integer; lpDefaultChar:LPCSTR; lpUsedDefaultChar:LPBOOL):Integer; inline;
function CompareString(Locale:LCID; dwCmpFlags:DWORD; lpString1:LPCSTR; cchCount1:Integer; lpString2:LPCSTR; cchCount2:Integer):Integer; inline;
function CompareStringA(Locale:LCID; dwCmpFlags:DWORD; lpString1:LPCSTR; cchCount1:Integer; lpString2:LPCSTR; cchCount2:Integer):Integer; inline;
function CompareStringW(Locale:LCID; dwCmpFlags:DWORD; lpString1:LPCWSTR; cchCount1:Integer; lpString2:LPCWSTR; cchCount2:Integer):Integer; inline;
function CharUpperBuff(lpsz:LPSTR; cchLength:DWORD):DWORD; inline;
function CharUpperBuffA(lpsz:LPSTR; cchLength:DWORD):DWORD; inline;
function CharUpperBuffW(lpsz:LPWSTR; cchLength:DWORD):DWORD; inline;
function CharLowerBuff(lpsz:LPSTR; cchLength:DWORD):DWORD; inline;
function CharLowerBuffA(lpsz:LPSTR; cchLength:DWORD):DWORD; inline;
function CharLowerBuffW(lpsz:LPWSTR; cchLength:DWORD):DWORD; inline;
function AnsiToOem(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
function AnsiToOemBuff(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
function OemToAnsi(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
function OemToAnsiBuff(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
function CharToOem(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
function CharToOemA(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
function CharToOemW(lpszSrc:LPCWSTR; lpszDst:LPSTR):BOOL; inline;
function OemToChar(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
function OemToCharA(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
function OemToCharW(lpszSrc:LPCSTR; lpszDst:LPWSTR):BOOL; inline;
function CharToOemBuff(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
function CharToOemBuffA(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
function CharToOemBuffW(lpszSrc:LPCWSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
function OemToCharBuff(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
function OemToCharBuffA(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
function OemToCharBuffW(lpszSrc:LPCSTR; lpszDst:LPWSTR; cchDstLength:DWORD):BOOL; inline;
Handle functions (Compatibility)
function DuplicateHandle(hSourceProcessHandle:HANDLE; hSourceHandle:HANDLE; hTargetProcessHandle:HANDLE; lpTargetHandle:LPHANDLE; dwDesiredAccess:DWORD; bInheritHandle:BOOL; dwOptions:DWORD):BOOL;
function GetHandleInformation(hObject:HANDLE; var lpdwFlags:DWORD):BOOL;
function SetHandleInformation(hObject:HANDLE; dwMask:DWORD; dwFlags:DWORD):BOOL;
Memory functions (Compatibility)
procedure MoveMemory(Destination,Source:PVOID; Length:SIZE_T); inline;
procedure CopyMemory(Destination,Source:PVOID; Length:SIZE_T); inline;
procedure FillMemory(Destination:PVOID; Length:SIZE_T;Fill:BYTE); inline;
procedure ZeroMemory(Destination:PVOID; Length:SIZE_T); inline;
function GlobalReAlloc(hMem:HGLOBAL; dwBytes:SIZE_T; uFlags:UINT):HGLOBAL;
function GlobalMemoryStatusEx(var lpBuffer:MEMORYSTATUSEX):BOOL;
function LocalReAlloc(hMem:HLOCAL; uBytes:SIZE_T; uFlags:UINT):HLOCAL;
function VirtualAlloc(lpAddress:LPVOID; dwSize:SIZE_T; flAllocationType:DWORD; flProtect:DWORD):LPVOID;
function VirtualFree(lpAddress:LPVOID; dwSize:SIZE_T; dwFreeType:DWORD):BOOL;
function VirtualQuery(lpAddress:LPCVOID; var lpBuffer:MEMORY_BASIC_INFORMATION; dwLength:DWORD):DWORD;
function VirtualUnlock(lpAddress:LPVOID; dwSize:SIZE_T):BOOL;
function FlushInstructionCache(hProcess:HANDLE; lpBaseAddress:LPCVOID; dwSize:DWORD):BOOL;
function GetNumaHighestNodeNumber(var HighestNodeNumber:ULONG):BOOL;
Tls functions (Compatibility)
function TlsSetValue(dwTlsIndex:DWORD; lpTlsValue:LPVOID):BOOL;
Thread functions (Compatibility)
function SleepEx(dwMilliseconds:DWORD; bAlertable:BOOL):DWORD; inline;
function SetThreadPriority(hThread:HANDLE; nPriority:Integer):BOOL;
function GetExitCodeThread(hThread:HANDLE; var lpExitCode:DWORD):BOOL;
function SetThreadAffinityMask(hThread:HANDLE; dwThreadAffinityMask:DWORD_PTR):DWORD_PTR;
function GetThreadTimes(hThread:HANDLE; var lpCreationTime,lpExitTime,lpKernelTime,lpUserTime:FILETIME):BOOL;
function CreateThread(lpThreadAttributes:LPSECURITY_ATTRIBUTES; dwStackSize:DWORD; lpStartAddress:LPTHREAD_START_ROUTINE; lpParameter:LPVOID; dwCreationFlags:DWORD; lpThreadId:LPDWORD):HANDLE;
function OpenThread(dwDesiredAccess:DWORD; bInheritHandle:BOOL; dwThreadId:DWORD):HANDLE;
function TerminateThread(hThread:HANDLE; dwExitCode:DWORD):BOOL;
function WaitForSingleObject(hHandle:HANDLE; dwMilliseconds:DWORD):DWORD;
function WaitForMultipleObjects(nCount:DWORD; lpHandles:PHANDLE; bWaitAll:BOOL; dwMilliseconds:DWORD):DWORD;
function WaitForSingleObjectEx(hHandle:HANDLE; dwMilliseconds:DWORD; bAlertable:BOOL):DWORD;
function WaitForMultipleObjectsEx(nCount:DWORD; lpHandles:PHANDLE; bWaitAll:BOOL; dwMilliseconds:DWORD; bAlertable:BOOL):DWORD;
Thread functions (Ultibo)
function BeginThreadEx(ThreadFunction:TThreadFunc; Parameter:Pointer; var ThreadId:TThreadID; const StackSize:SizeUInt; Priority,Affinity,CPU:LongWord; Name:PChar):TThreadID;
Message functions (Compatibility)
function GetMessage(lpMsg:LPMSG; hThread:HANDLE; wMsgFilterMin,wMsgFilterMax:UINT):BOOL;
function PeekMessage(var lpMsg:MSG; hThread:HANDLE; wMsgFilterMin,wMsgFilterMax,wRemoveMsg:UINT):BOOL;
function PostMessage(hThread:HANDLE; Msg:UINT; wParam:WPARAM; lParam:LPARAM):BOOL;
function SendMessage(hThread:HANDLE; Msg:UINT; wParam:WPARAM; lParam:LPARAM):LRESULT;
function SendMessageTimeout(hThread:HANDLE; Msg:UINT; wParam:WPARAM; lParam:LPARAM; fuFlags,uTimeout:UINT; var lpdwResult:DWORD_PTR):LRESULT;
Interlocked functions (Compatibility)
function InterlockedIncrement(var lpAddend:LONG):LONG; inline;
function InterlockedDecrement(var lpAddend:LONG):LONG; inline;
function InterlockedExchange(var Target:LONG; Value:LONG):LONG; inline;
function InterlockedExchangePointer(var Target:PVOID; Value:PVOID):PVOID; inline;
function InterlockedExchangeAdd(var Addend:LONG; Value:LONG):LONG; inline;
function InterlockedCompareExchange(var Destination:LONG; Exchange:LONG; Comperand:LONG):LONG; inline;
function InterlockedCompareExchangePointer(var Destination:PVOID; Exchange,Comperand:PVOID):PVOID; inline;
Mutex functions (Compatibility)
function CreateMutex(lpMutexAttributes:LPSECURITY_ATTRIBUTES; bInitialOwner:BOOL; lpName:LPCSTR):HANDLE; inline;
function CreateMutexA(lpMutexAttributes:LPSECURITY_ATTRIBUTES; bInitialOwner:BOOL; lpName:LPCSTR):HANDLE;
function CreateMutexW(lpMutexAttributes:LPSECURITY_ATTRIBUTES; bInitialOwner:BOOL; lpName:LPCWSTR):HANDLE;
function OpenMutex(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE; inline;
function OpenMutexA(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE;
function OpenMutexW(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCWSTR):HANDLE;
Semaphore functions (Compatibility)
function CreateSemaphore(lpSemaphoreAttributes:LPSECURITY_ATTRIBUTES; lInitialCount,lMaximumCount:LONG; lpName:LPCSTR):HANDLE; inline;
function CreateSemaphoreA(lpSemaphoreAttributes:LPSECURITY_ATTRIBUTES; lInitialCount,lMaximumCount:LONG; lpName:LPCSTR):HANDLE;
function CreateSemaphoreW(lpSemaphoreAttributes:LPSECURITY_ATTRIBUTES; lInitialCount,lMaximumCount:LONG; lpName:LPCWSTR):HANDLE;
function OpenSemaphore(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE; inline;
function OpenSemaphoreA(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE;
function OpenSemaphoreW(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCWSTR):HANDLE;
function ReleaseSemaphore(hSemaphore:HANDLE; lReleaseCount:LONG; lpPreviousCount:LPLONG):BOOL;
Critical section functions (Compatibility)
procedure InitializeCriticalSection(var lpCriticalSection:CRITICAL_SECTION);
procedure EnterCriticalSection(var lpCriticalSection:CRITICAL_SECTION);
procedure LeaveCriticalSection(var lpCriticalSection:CRITICAL_SECTION);
function TryEnterCriticalSection(var lpCriticalSection:CRITICAL_SECTION):BOOL;
function InitializeCriticalSectionAndSpinCount(var lpCriticalSection:CRITICAL_SECTION; dwSpinCount:DWORD):BOOL;
function SetCriticalSectionSpinCount(var lpCriticalSection:CRITICAL_SECTION; dwSpinCount:DWORD):DWORD;
procedure DeleteCriticalSection(var lpCriticalSection:CRITICAL_SECTION);
Event functions (Compatibility)
function CreateEvent(lpEventAttributes:LPSECURITY_ATTRIBUTES; bManualReset,bInitialState:BOOL; lpName:LPCSTR):HANDLE; inline;
function CreateEventA(lpEventAttributes:LPSECURITY_ATTRIBUTES; bManualReset,bInitialState:BOOL; lpName:LPCSTR):HANDLE;
function CreateEventW(lpEventAttributes:LPSECURITY_ATTRIBUTES; bManualReset,bInitialState:BOOL; lpName:LPCWSTR):HANDLE;
function OpenEvent(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE; inline;
function OpenEventA(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE;
function OpenEventW(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCWSTR):HANDLE;
Process functions (Compatibility)
function GetProcessAffinityMask(hProcess:HANDLE; var lpProcessAffinityMask,lpSystemAffinityMask:DWORD_PTR):BOOL;
function SetProcessAffinityMask(hProcess:HANDLE; dwProcessAffinityMask:DWORD_PTR):BOOL;
function GetProcessTimes(hProcess:HANDLE; var lpCreationTime,lpExitTime,lpKernelTime,lpUserTime:FILETIME):BOOL;
function GetProcessIoCounters(hProcess:HANDLE; var lpIoCounters:IO_COUNTERS):BOOL;
function TerminateProcess(hProcess:HANDLE; uExitCode:UINT):BOOL;
Debug functions (Compatibility)
Library functions (Compatibility)
function lstrcmp(lpString1,lpString2:LPCSTR):Integer; inline;
function lstrcmpi(lpString1,lpString2:LPCSTR):Integer; inline;
function lstrcpy(lpString1:LPSTR; lpString2:LPCSTR):LPSTR; inline;
function lstrcpyW(lpString1:LPWSTR; lpString2:LPCWSTR):LPWSTR;
function lstrcpyn(lpString1:LPSTR; lpString2:LPCSTR; iMaxLength:Integer):LPSTR; inline;
function lstrcpynA(lpString1:LPSTR; lpString2:LPCSTR; iMaxLength:Integer):LPSTR;
function lstrcpynW(lpString1:LPWSTR; lpString2:LPCWSTR; iMaxLength:Integer):LPWSTR;
function lstrcat(lpString1:LPSTR; lpString2:LPCSTR):LPSTR; inline;
function lstrcatW(lpString1:LPWSTR; lpString2:LPCWSTR):LPWSTR;
Return to Unit Reference