Difference between revisions of "Unit Ultibo"

From Ultibo.org
Jump to: navigation, search
Line 704: Line 704:
 
----
 
----
  
''To be documented''
+
 
 +
'''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%;"|&nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>0: (</code>
 +
| &nbsp;
 +
|-
 +
| <code>LowPart: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>HighPart: LONG);</code>
 +
| &nbsp;
 +
|-
 +
| <code>1: (</code>
 +
| &nbsp;
 +
|-
 +
| <code>QuadPart: LONGLONG);</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>dwMajorVersion:DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwMinorVersion:DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwBuildNumber:DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwPlatformId:DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>szCSDVersion:array [0..127] of CHAR;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>wReserved:WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwPageSize:DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>lpMinimumApplicationAddress:LPVOID;</code>
 +
| &nbsp;
 +
|-
 +
| <code>lpMaximumApplicationAddress:LPVOID;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwActiveProcessorMask:DWORD_PTR;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwNumberOfProcessors:DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwProcessorType:DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwAllocationGranularity:DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>wProcessorLevel:WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>wProcessorRevision:WORD;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>ComputerNameDnsHostname,</code>
 +
| &nbsp;
 +
|-
 +
| <code>ComputerNameDnsDomain,</code>
 +
| &nbsp;
 +
|-
 +
| <code>ComputerNameDnsFullyQualified,</code>
 +
| &nbsp;
 +
|-
 +
| <code>ComputerNamePhysicalNetBIOS,</code>
 +
| &nbsp;
 +
|-
 +
| <code>ComputerNamePhysicalDnsHostname,</code>
 +
| &nbsp;
 +
|-
 +
| <code>ComputerNamePhysicalDnsDomain,</code>
 +
| &nbsp;
 +
|-
 +
| <code>ComputerNamePhysicalDnsFullyQualified,</code>
 +
| &nbsp;
 +
|-
 +
| <code>ComputerNameMax);</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>ftCreationTime: FILETIME;</code>
 +
| &nbsp;
 +
|-
 +
| <code>ftLastAccessTime: FILETIME;</code>
 +
| &nbsp;
 +
|-
 +
| <code>ftLastWriteTime: FILETIME;</code>
 +
| &nbsp;
 +
|-
 +
| <code>nFileSizeHigh: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>nFileSizeLow: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwReserved0: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwReserved1: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>cFileName: array [0..MAX_PATH - 1] of WCHAR;</code>
 +
| &nbsp;
 +
|-
 +
| <code>cAlternateFileName: array [0..13] of WCHAR;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>cStreamName: array [0..MAX_PATH + 35] of WCHAR;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>dwMemoryLoad:DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwTotalPhys:SIZE_T;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwAvailPhys:SIZE_T;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwTotalPageFile:SIZE_T;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwAvailPageFile:SIZE_T;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwTotalVirtual:SIZE_T;</code>
 +
| &nbsp;
 +
|-
 +
| <code>dwAvailVirtual:SIZE_T;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>ullTotalPhys:DWORDLONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>ullAvailPhys:DWORDLONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>ullTotalPageFile:DWORDLONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>ullAvailPageFile:DWORDLONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>ullTotalVirtual:DWORDLONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>ullAvailVirtual:DWORDLONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>ullAvailExtendedVirtual:DWORDLONG;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>lpSecurityDescriptor:LPVOID;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bInheritHandle:BOOL;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>top:LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>right:LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bottom:LONG;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>y:LONG;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>message:UINT;</code>
 +
| &nbsp;
 +
|-
 +
| <code>wParam:WPARAM;</code>
 +
| &nbsp;
 +
|-
 +
| <code>lParam:LPARAM;</code>
 +
| &nbsp;
 +
|-
 +
| <code>time:DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>pt:POINT;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>Blink:PLIST_ENTRY;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>CreatorBackTraceIndex:WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>CriticalSection:PRTL_CRITICAL_SECTION_DEBUG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>ProcessLocksList:LIST_ENTRY;</code>
 +
| &nbsp;
 +
|-
 +
| <code>EntryCount:DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>ContentionCount:DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>Spare:array [0..1] of DWORD;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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>
 +
| &nbsp;
 +
|-
 +
|colspan="2"|Note: The following three fields control entering and exiting the critical section for the resource
 +
|-
 +
| <code>LockCount:LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>RecursionCount:LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>OwningThread:HANDLE;</code>
 +
| from the thread's ClientId->UniqueThread
 +
|-
 +
| <code>LockSemaphore:HANDLE;</code>
 +
| &nbsp;
 +
|-
 +
| <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%;"|&nbsp;
 +
|-
 +
| <code>WriteOperationCount:Int64;</code>
 +
| &nbsp;
 +
|-
 +
| <code>OtherOperationCount:Int64;</code>
 +
| &nbsp;
 +
|-
 +
| <code>ReadTransferCount:Int64;</code>
 +
| &nbsp;
 +
|-
 +
| <code>WriteTransferCount:Int64;</code>
 +
| &nbsp;
 +
|-
 +
| <code>OtherTransferCount:Int64;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>AllocationBase: Pointer;</code>
 +
| &nbsp;
 +
|-
 +
| <code>AllocationProtect: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>RegionSize: SIZE_T;</code>
 +
| &nbsp;
 +
|-
 +
| <code>State: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>Protect: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>Type_: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>ciexyzY: FXPT2DOT30;</code>
 +
| &nbsp;
 +
|-
 +
| <code>ciexyzZ: FXPT2DOT30;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>ciexyzGreen: CIEXYZ;</code>
 +
| &nbsp;
 +
|-
 +
| <code>ciexyzBlue: CIEXYZ;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>bmWidth: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bmHeight: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bmWidthBytes: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bmPlanes: WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bmBitsPixel: WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bmBits: LPVOID;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>rgbtGreen: BYTE;</code>
 +
| &nbsp;
 +
|-
 +
| <code>rgbtRed: BYTE;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>rgbGreen: BYTE;</code>
 +
| &nbsp;
 +
|-
 +
| <code>rgbRed: BYTE;</code>
 +
| &nbsp;
 +
|-
 +
| <code>rgbReserved: BYTE;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>bcWidth: WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bcHeight: WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bcPlanes: WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bcBitCount: WORD;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>biWidth: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>biHeight: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>biPlanes: WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>biBitCount: WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>biCompression: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>biSizeImage: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>biXPelsPerMeter: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>biYPelsPerMeter: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>biClrUsed: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>biClrImportant: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>bV4Width: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4Height: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4Planes: WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4BitCount: WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4V4Compression: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4SizeImage: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4XPelsPerMeter: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4YPelsPerMeter: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4ClrUsed: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4ClrImportant: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4RedMask: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4GreenMask: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4BlueMask: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4AlphaMask: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4CSType: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4Endpoints: CIEXYZTRIPLE;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4GammaRed: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4GammaGreen: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV4GammaBlue: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>bV5Width: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5Height: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5Planes: WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5BitCount: WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5Compression: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5SizeImage: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5XPelsPerMeter: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5YPelsPerMeter: LONG;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5ClrUsed: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5ClrImportant: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5RedMask: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5GreenMask: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5BlueMask: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5AlphaMask: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5CSType: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5Endpoints: CIEXYZTRIPLE;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5GammaRed: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5GammaGreen: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5GammaBlue: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5Intent: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5ProfileData: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5ProfileSize: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bV5Reserved: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>bmiColors: array [0..0] of RGBQUAD;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>bmciColors: array [0..0] of RGBTRIPLE;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</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%;"|&nbsp;
 +
|-
 +
| <code>bfSize: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bfReserved1: WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bfReserved2: WORD;</code>
 +
| &nbsp;
 +
|-
 +
| <code>bfOffBits: DWORD;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</div></div>
 +
<br />
  
 
=== Public variables ===
 
=== Public variables ===

Revision as of 03:56, 3 March 2017

Return to Unit Reference


Description


Ultibo interface unit

To be documented

Constants



[Expand]
64bit constants MAXLONGLONG_*


[Expand]
Thread constants CREATE_*


[Expand]
Message constants PM_*


[Expand]
Timezone constants TIME_ZONE_*


[Expand]
Shutdown/Restart constants EWX_*


[Expand]
Drive type constants DRIVE_*


[Expand]
Symbolic link constants SYMBOLIC_LINK_*


[Expand]
Local memory constants LMEM_*


[Expand]
Global memory constants GMEM_*


[Expand]
Virtual page constants PAGE_*


[Expand]
Virtual memory constants MEM_*, SEC_*, WRITE_*


[Expand]
Processor architechture constants PROCESSOR_ARCHITECTURE_*


[Expand]
Processor type constants PROCESSOR_*


[Expand]
Version info constants VER_*


[Expand]
File attribute constants FILE_ATTRIBUTE_*


[Expand]
Volume info constants FILE_*


[Expand]
Dos device constants DDD_*


[Expand]
Time null constants TIME_NULL_*


[Expand]
Drive constants *_DRIVE


[Expand]
Path and file constants *_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

[Expand]

QUAD = _QUAD;

TQuad = _QUAD;

UQUAD = QUAD;

PQuad = ^TQuad;

_QUAD = record

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

[Expand]

LARGE_INTEGER = _LARGE_INTEGER;

TLargeInteger = LARGE_INTEGER;

PLARGE_INTEGER = ^LARGE_INTEGER;

PLargeInteger = LPLARGE_INTEGER;

LPLARGE_INTEGER = ^LARGE_INTEGER;

_LARGE_INTEGER = record

OS version information

[Expand]

OSVERSIONINFO = _OSVERSIONINFO;

TOsVersionInfo = OSVERSIONINFO;

POsVersionInfo = LPOSVERSIONINFO;

LPOSVERSIONINFO = ^OSVERSIONINFO;

_OSVERSIONINFO = record

System information

[Expand]

SYSTEM_INFO = _SYSTEM_INFO;

TSystemInfo = SYSTEM_INFO;

PSystemInfo = LPSYSTEM_INFO;

LPSYSTEM_INFO = ^SYSTEM_INFO;

_SYSTEM_INFO = record

Computer name

[Expand]

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

[Expand]

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

[Expand]

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

[Expand]

MEMORYSTATUS = _MEMORYSTATUS;

TMemoryStatus = MEMORYSTATUS;

PMemoryStatus = LPMEMORYSTATUS;

LPMEMORYSTATUS = ^MEMORYSTATUS;

_MEMORYSTATUS = record

Memory status extended

[Expand]

MEMORYSTATUSEX = _MEMORYSTATUSEX;

TMemoryStatusEx = MEMORYSTATUSEX;

PMemoryStatusEx = LPMEMORYSTATUSEX;

LPMEMORYSTATUSEX = ^MEMORYSTATUSEX;

_MEMORYSTATUSEX = record

Security attributes

[Expand]

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

[Expand]

RECT = tagRECT;

NPRECT = ^tagRect;

LPCRECT = ^tagRect;

TRect = RECT;

PRect = LPRECT;

LPRECT = ^RECT;

tagRECT = record

Point types

[Expand]

NPPOINT = ^tagPoint;

POINT = tagPOINT;

TPoint = POINT;

PPoint = LPPOINT;

LPPOINT = ^POINT;

tagPOINT = record

Message types

[Expand]

MSG = tagMSG;

NPMSG = ^MSG;

TMsg = MSG;

PMsg = LPMSG;

LPMSG = ^MSG;

tagMSG = record

List entry types

[Expand]

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

[Expand]

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

[Expand]

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

[Expand]

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

[Expand]

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

[Expand]

CIEXYZ = tagCIEXYZ;

LPCIEXYZ = ^CIEXYZ;

TCieXyz = CIEXYZ;

PCieXyz = ^TCieXyz;

tagCIEXYZ = record

CIEXYZ triple color types

[Expand]

CIEXYZTRIPLE = tagCIEXYZTRIPLE;

LPCIEXYZTRIPLE = ^CIEXYZTRIPLE;

TCieXyzTriple = CIEXYZTRIPLE;

PCieXyzTriple = ^TCieXyzTriple;

tagCIEXYZTRIPLE = record

Bitmap types

[Expand]

BITMAP = tagBITMAP;

LPBITMAP = ^BITMAP;

NPBITMAP = ^BITMAP;

TBitmap = BITMAP;

PBitmap = ^TBitmap;

tagBITMAP = record

RGB triple color types

[Expand]

RGBTRIPLE = tagRGBTRIPLE;

TRgbTriple = RGBTRIPLE;

PRgbTriple = ^TRgbTriple;

tagRGBTRIPLE = packed record

RGB quad color types

[Expand]

RGBQUAD = tagRGBQUAD;

LPRGBQUAD = ^RGBQUAD;

TRgbQuad = RGBQUAD;

PRgbQuad = ^TRgbQuad;

tagRGBQUAD = record

Bitmap core header

[Expand]

BITMAPCOREHEADER = tagBITMAPCOREHEADER;

LPBITMAPCOREHEADER = ^BITMAPCOREHEADER;

TBitmapCoreHeader = BITMAPCOREHEADER;

PBitmapCoreHeader = ^TBitmapCoreHeader;

tagBITMAPCOREHEADER = record

Bitmap info header

[Expand]

BITMAPINFOHEADER = tagBITMAPINFOHEADER;

LPBITMAPINFOHEADER = ^BITMAPINFOHEADER;

TBitmapInfoHeader = BITMAPINFOHEADER;

PBitmapInfoHeader = ^TBitmapInfoHeader;

tagBITMAPINFOHEADER = record

Bitmap V4 header

[Expand]

LPBITMAPV4HEADER = ^BITMAPV4HEADER;

TBitmapV4Header = BITMAPV4HEADER;

PBitmapV4Header = ^TBitmapV4Header;

BITMAPV4HEADER = record

Bitmap V5 header

[Expand]

LPBITMAPV5HEADER = ^BITMAPV5HEADER;

TBitmapV5Header = BITMAPV5HEADER;

PBitmapV5Header = ^TBitmapV5Header;

BITMAPV5HEADER = record

Bitmap information

[Expand]

BITMAPINFO = tagBITMAPINFO;

LPBITMAPINFO = ^BITMAPINFO;

TBitmapInfo = BITMAPINFO;

PBitmapInfo = ^TBitmapInfo;

tagBITMAPINFO = record

Bitmap core information

[Expand]

BITMAPCOREINFO = tagBITMAPCOREINFO;

LPBITMAPCOREINFO = ^BITMAPCOREINFO;

TBitmapCoreInfo = BITMAPCOREINFO;

PBitmapCoreInfo = ^TBitmapCoreInfo;

tagBITMAPCOREINFO = record

Bitmap file header

[Expand]

BITMAPFILEHEADER = tagBITMAPFILEHEADER;

LPBITMAPFILEHEADER = ^BITMAPFILEHEADER;

TBitmapFileHeader = BITMAPFILEHEADER;

PBitmapFileHeader = ^TBitmapFileHeader;

tagBITMAPFILEHEADER = packed record


Public variables


None defined

Function declarations



Initialization functions

[Expand]
procedure UltiboInit;
Description: To be documented


General functions (Compatibility)

[Expand]
function GetVersion:DWORD;
Description: To be documented


[Expand]
function GetVersionEx(lpVersionInformation:LPOSVERSIONINFOA):BOOL; inline;
Description: To be documented


[Expand]
function GetVersionExA(lpVersionInformation:LPOSVERSIONINFOA):BOOL;
Description: To be documented


[Expand]
function GetVersionExW(lpVersionInformation:LPOSVERSIONINFOW):BOOL;
Description: To be documented


[Expand]
procedure GetSystemInfo(var lpSystemInfo:SYSTEM_INFO);
Description: To be documented


[Expand]
procedure GetNativeSystemInfo(lpSystemInfo:LPSYSTEM_INFO);
Description: To be documented


[Expand]
function GetLargePageMinimum:SIZE_T;
Description: To be documented


[Expand]
function GetComputerName(lpBuffer:LPSTR; var nSize:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function GetComputerNameA(lpBuffer:LPSTR; var nSize:DWORD):BOOL;
Description: To be documented


[Expand]
function GetComputerNameW(lpBuffer:LPWSTR; var nSize:DWORD):BOOL;
Description: To be documented


[Expand]
function SetComputerName(lpComputerName:LPCSTR):BOOL; inline;
Description: To be documented


[Expand]
function SetComputerNameA(lpComputerName:LPCSTR):BOOL;
Description: To be documented


[Expand]
function SetComputerNameW(lpComputerName:LPCWSTR):BOOL;
Description: To be documented


[Expand]
function GetComputerNameEx(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPSTR; var nSize:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function GetComputerNameExA(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPSTR; var nSize:DWORD):BOOL;
Description: To be documented


[Expand]
function GetComputerNameExW(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPWSTR; var nSize:DWORD):BOOL;
Description: To be documented


[Expand]
function SetComputerNameEx(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPCSTR):BOOL; inline;
Description: To be documented


[Expand]
function SetComputerNameExA(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPCSTR):BOOL;
Description: To be documented


[Expand]
function SetComputerNameExW(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPCWSTR):BOOL;
Description: To be documented


[Expand]
function ExitUltibo(dwReserved:DWORD; uReserved:UINT):BOOL;
Description: To be documented


[Expand]
function ExitUltiboEx(uFlags:UINT; dwReserved:DWORD):BOOL;
Description: To be documented


General functions (Ultibo)

[Expand]
function RestartComputer(Delay:LongWord):Boolean;
Description: To be documented


[Expand]
function ShutdownComputer(Delay:LongWord):Boolean;
Description: To be documented


[Expand]
function Uptime:TFileTime;
Description: Get the current system up time as a FileTime value


Time functions (Compatibility)

[Expand]
function GetTickCount:DWORD;
Description: To be documented


[Expand]
function GetTickCount64:ULONGLONG;
Description: To be documented


[Expand]
procedure GetSystemTime(var lpSystemTime:SYSTEMTIME);
Description: Get the current system time in UTC


[Expand]
procedure GetSystemTimeAsFileTime(var lpSystemTimeAsFileTime:FILETIME);
Description: Get the current system time in UTC as a FileTime value


[Expand]
function SetSystemTime(var lpSystemTime:SYSTEMTIME):BOOL;
Description: Set the current system time in UTC


[Expand]
procedure GetLocalTime(var lpSystemTime:SYSTEMTIME);
Description: Get the current local time


[Expand]
function SetLocalTime(var lpSystemTime:SYSTEMTIME):BOOL;
Description: Set the current local time


[Expand]
function SystemTimeToTzSpecificLocalTime(lpTimeZoneInformation:LPTIME_ZONE_INFORMATION; var lpUniversalTime,lpLocalTime:SYSTEMTIME):BOOL;
Description: To be documented


[Expand]
function TzSpecificLocalTimeToSystemTime(const lpTimeZoneInformation:TIME_ZONE_INFORMATION; const lpLocalTime:SYSTEMTIME; var lpUniversalTime:SYSTEMTIME):BOOL;
Description: To be documented


[Expand]
function GetTimeZoneInformation(var lpTimeZoneInformation:TIME_ZONE_INFORMATION):DWORD;
Description: To be documented


[Expand]
function SetTimeZoneInformation(const lpTimeZoneInformation:TIME_ZONE_INFORMATION):BOOL;
Description: To be documented


[Expand]
function SystemTimeToFileTime(const lpSystemTime:SYSTEMTIME; var lpFileTime:FILETIME):BOOL;
Description: Convert a SystemTime value to a FileTime value


[Expand]
function FileTimeToSystemTime(const lpFileTime:FILETIME; var lpSystemTime:SYSTEMTIME):BOOL;
Description: Convert a FileTime value to a SystemTime value


[Expand]
function FileTimeToLocalFileTime(const lpFileTime:FILETIME; var lpLocalFileTime:FILETIME):BOOL;
Description: Convert a FileTime in UTC to a FileTime in Local time


[Expand]
function LocalFileTimeToFileTime(const lpLocalFileTime:FILETIME; var lpFileTime:FILETIME):BOOL;
Description: Convert a FileTime in Local time to a FileTime in UTC


[Expand]
function CompareFileTime(const lpFileTime1,lpFileTime2:FILETIME):LONG;
Description: To be documented


[Expand]
function FileTimeToDosDateTime(const lpFileTime:FILETIME; var lpFatDate,lpFatTime:WORD):BOOL;
Description: Convert a FileTime value to a DOS date and time value


[Expand]
function DosDateTimeToFileTime(wFatDate,wFatTime:WORD; var lpFileTime:FILETIME):BOOL;
Description: Convert a DOS date and time value to a FileTime value


Time functions (Ultibo)

[Expand]
function GetCurrentTime:TFileTime;
Description: Get the current system time in UTC as a FileTime value


[Expand]
procedure SetCurrentTime(const ATime:TFileTime);
Description: Set the current system time in UTC from a FileTime value


[Expand]
function GetTimeAdjust:LongInt;
Description: Gets the time adjustment used internally


[Expand]
procedure SetTimeAdjust(AAdjust:LongInt);
Description: Sets the time adjustment used internally


[Expand]
function GetCurrentTimezone:String;
Description: Get the name of the current Timezone


[Expand]
function SetCurrentTimezone(const AName:String):Boolean;
Description: Set the current Timezone by name


[Expand]
function GetTimezoneActiveOffset:LongInt;
Description: Gets the Active Offset from the current Timezone


[Expand]
function GetTimezoneStandardOffset:LongInt;
Description: Gets the Standard Offset from the current Timezone


[Expand]
procedure SetTimezoneStandardOffset(AOffset:LongInt);
Description: Sets the Standard Offset for the current Timezone


[Expand]
function GetTimezoneDaylightOffset:LongInt;
Description: Gets the Daylight Offset from the current Timezone


[Expand]
procedure SetTimezoneDaylightOffset(AOffset:LongInt);
Description: Sets the Daylight Offset for the current Timezone


[Expand]
function GetTimezoneStandardStart:String;
Description: Get the description of the standard time start for the current Timezone


[Expand]
function GetTimezoneDaylightStart:String;
Description: Get the description of the daylight time start for the current Timezone


[Expand]
function GetTimezoneStandardDate:TDateTime;
Description: Get the next date of the standard time start for the current Timezone


[Expand]
function GetTimezoneDaylightDate:TDateTime;
Description: Get the next date of the daylight time start for the current Timezone


[Expand]
function FileTimeToDateTime(const AFileTime:TFileTime):TDateTime;
Description: Convert a FileTime value to a DateTime value


[Expand]
function DateTimeToFileTime(ADateTime:TDateTime):TFileTime;
Description: Convert a DateTime value to a FileTime value


[Expand]
function LocalFileTimeToDateTime(const AFileTime:TFileTime):TDateTime;
Description: Convert a FileTime value to a DateTime value


[Expand]
function DateTimeToLocalFileTime(ADateTime:TDateTime):TFileTime;
Description: Convert a DateTime value to a FileTime value


[Expand]
function SystemFileTimeToDateTime(const AFileTime:TFileTime):TDateTime;
Description: Convert a FileTime value to a DateTime value


[Expand]
function DateTimeToSystemFileTime(ADateTime:TDateTime):TFileTime;
Description: Convert a DateTime value to a FileTime value


[Expand]
function FileTimeToUnixTime(const AFileTime:TFileTime):LongInt;
Description: Convert a FileTime value to a Unix/Linux time value


[Expand]
function UnixTimeToFileTime(AUnixTime:LongInt):TFileTime;
Description: Convert a Unix/Linux time value to a FileTime value


[Expand]
function UnixTimeToDateTime(AUnixTime:LongInt):TDateTime;
Description: Convert a Unix/Linux time value to a DateTime value


[Expand]
function DateTimeToUnixTime(ADateTime:TDateTime):LongInt;
Description: Convert a DateTime value to a Unix/Linux time value


[Expand]
function FileTimeToFileDate(const AFileTime:TFileTime):Integer;
Description: Convert a FileTime value to a DOS date value


[Expand]
function FileDateToFileTime(AFileDate:Integer):TFileTime;
Description: Convert a DOS date value to a FileTime value


[Expand]
function FileTimeToAdjustedTime(const AFileTime:TFileTime):TFileTime;
Description: Convert a local FileTime value to a DST adjusted FileTime value


[Expand]
function AdjustedTimeToFileTime(const AFileTime:TFileTime):TFileTime;
Description: Convert a DST adjusted FileTime value to a local FileTime value


[Expand]
function RoundFileTime(const AFileTime:TFileTime):TFileTime;
Description: Round FileTime to nearest 2 seconds for compatibility with FileDate


[Expand]
function ConvertFileTime(const AFileTime:TFileTime; AOffset:Integer; ALocal:Boolean):TFileTime;
Description: Convert a FileTime value to a specified offset (Local or UTC)


[Expand]
function ConvertDateTime(ADateTime:TDateTime; AOffset:Integer; ALocal:Boolean):TDateTime;
Description: Convert a DateTime value to a specified offset (Local or UTC)


Drive functions (Compatibility)

[Expand]
function GetDiskType(lpRootPathName:LPCSTR):UINT; inline;
Description: To be documented


[Expand]
function GetDriveTypeA(lpRootPathName:LPCSTR):UINT;
Description: To be documented


[Expand]
function GetDriveTypeW(lpRootPathName:LPCWSTR):UINT;
Description: To be documented


[Expand]
function GetLogicalDrives:DWORD;
Description: To be documented


[Expand]
function GetLogicalDriveStrings(nBufferLength:DWORD; lpBuffer:LPSTR):DWORD; inline;
Description: To be documented


[Expand]
function GetLogicalDriveStringsA(nBufferLength:DWORD; lpBuffer:LPSTR):DWORD;
Description: To be documented


[Expand]
function GetLogicalDriveStringsW(nBufferLength:DWORD; lpBuffer:LPWSTR):DWORD;
Description: To be documented


[Expand]
function DefineDosDevice(dwFlags:DWORD; lpDeviceName,lpTargetPath:LPCSTR):BOOL; inline;
Description: To be documented


[Expand]
function DefineDosDeviceA(dwFlags:DWORD; lpDeviceName,lpTargetPath:LPCSTR):BOOL;
Description: To be documented


[Expand]
function DefineDosDeviceW(dwFlags:DWORD; lpDeviceName,lpTargetPath:LPCWSTR):BOOL;
Description: To be documented


[Expand]
function QueryDosDevice(lpDeviceName,lpTargetPath:LPSTR; ucchMax:DWORD):DWORD; inline;
Description: To be documented


[Expand]
function QueryDosDeviceA(lpDeviceName,lpTargetPath:LPSTR; ucchMax:DWORD):DWORD;
Description: To be documented


[Expand]
function QueryDosDeviceW(lpDeviceName,lpTargetPath:LPWSTR; ucchMax:DWORD):DWORD;
Description: To be documented


[Expand]
function SetVolumeLabel(lpRootPathName,lpVolumeName:LPCSTR):BOOL; inline;
Description: To be documented


[Expand]
function SetVolumeLabelA(lpRootPathName,lpVolumeName:LPCSTR):BOOL;
Description: To be documented


[Expand]
function SetVolumeLabelW(lpRootPathName,lpVolumeName:LPCWSTR):BOOL;
Description: To be documented


[Expand]
function GetVolumeInformation(lpRootPathName:LPCSTR; lpVolumeNameBuffer:LPSTR; nVolumeNameSize:DWORD; lpVolumeSerialNumber:LPDWORD; var lpMaximumComponentLength,lpFileSystemFlags:DWORD; lpFileSystemNameBuffer:LPSTR; nFileSystemNameSize:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function GetVolumeInformationA(lpRootPathName:LPCSTR; lpVolumeNameBuffer:LPSTR; nVolumeNameSize:DWORD; lpVolumeSerialNumber:LPDWORD; var lpMaximumComponentLength,lpFileSystemFlags:DWORD;lpFileSystemNameBuffer:LPSTR; nFileSystemNameSize:DWORD):BOOL;
Description: To be documented


[Expand]
function GetVolumeInformationW(lpRootPathName:LPCWSTR; lpVolumeNameBuffer:LPWSTR; nVolumeNameSize:DWORD; lpVolumeSerialNumber:LPDWORD; var lpMaximumComponentLength,lpFileSystemFlags:DWORD;lpFileSystemNameBuffer:LPWSTR; nFileSystemNameSize:DWORD):BOOL;
Description: To be documented


[Expand]
function GetDiskFreeSpace(lpRootPathName:LPCSTR; var lpSectorsPerCluster,lpBytesPerSector,lpNumberOfFreeClusters,lpTotalNumberOfClusters:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function GetDiskFreeSpaceA(lpRootPathName:LPCSTR; var lpSectorsPerCluster,lpBytesPerSector,lpNumberOfFreeClusters,lpTotalNumberOfClusters:DWORD):BOOL;
Description: To be documented


[Expand]
function GetDiskFreeSpaceW(lpRootPathName:LPCWSTR; var lpSectorsPerCluster,lpBytesPerSector,lpNumberOfFreeClusters,lpTotalNumberOfClusters:DWORD):BOOL;
Description: To be documented


[Expand]
function GetDiskFreeSpaceEx(lpDirectoryName:LPCSTR; var lpFreeBytesAvailableToCaller,lpTotalNumberOfBytes:ULARGE_INTEGER; lpTotalNumberOfFreeBytes:PULARGE_INTEGER):BOOL; inline;
Description: To be documented


Drive functions (Ultibo)

[Expand]
function GetPathDrive(const APath:String):Byte;
Description: To be documented


[Expand]
function GetDriveType(ADrive:Byte):TDriveType;
Description: To be documented


[Expand]
function GetDriveData(ADrive:Byte):TDriveData;
Description: To be documented


[Expand]
function GetDriveAttr(ADrive:Byte):LongWord;
Description: To be documented


[Expand]
function GetDriveLabel(ADrive:Byte):String;
Description: To be documented


[Expand]
function SetDriveLabel(ADrive:Byte; const ALabel:String):Boolean;
Description: To be documented


[Expand]
function GetDriveSerial(ADrive:Byte):LongWord;
Description: To be documented


[Expand]
function SetDriveSerial(ADrive:Byte; ASerial:LongWord):Boolean;
Description: To be documented


[Expand]
function IsDriveValid(ADrive:Byte):Boolean;
Description: To be documented


[Expand]
function GetValidDrives:LongWord;
Description: To be documented


[Expand]
function GetValidDriveNames:String;
Description: To be documented


[Expand]
function GetDriveFreeSpace(ADrive:Byte):LongWord;
Description: To be documented


[Expand]
function GetDriveFreeSpaceEx(ADrive:Byte):Int64;
Description: To be documented


[Expand]
function GetDriveTotalSpace(ADrive:Byte):LongWord;
Description: To be documented


[Expand]
function GetDriveTotalSpaceEx(ADrive:Byte):Int64;
Description: To be documented


[Expand]
function GetCurrentDrive:Byte;
Description: To be documented


[Expand]
function SetCurrentDrive(const ADrive:String):Boolean;
Description: To be documented


File functions (Compatibility)

[Expand]
function AreFileApisANSI:BOOL;
Description: To be documented


[Expand]
procedure SetFileApisToOEM;
Description: To be documented


[Expand]
procedure SetFileApisToANSI;
Description: To be documented


[Expand]
function CreateFile(lpFileName:LPCSTR; dwDesiredAccess,dwShareMode:DWORD; lpSecurityAttributes:LPSECURITY_ATTRIBUTES; dwCreationDisposition:DWORD; dwFlagsAndAttributes:DWORD; hTemplateFile:HANDLE):HANDLE; inline;
Description: To be documented


[Expand]
function CreateFileA(lpFileName:LPCSTR; dwDesiredAccess,dwShareMode:DWORD; lpSecurityAttributes:LPSECURITY_ATTRIBUTES; dwCreationDisposition:DWORD; dwFlagsAndAttributes:DWORD; hTemplateFile:HANDLE):HANDLE;
Description: To be documented


[Expand]
function CreateFileW(lpFileName:LPCWSTR; dwDesiredAccess,dwShareMode:DWORD; lpSecurityAttributes:LPSECURITY_ATTRIBUTES; dwCreationDisposition:DWORD; dwFlagsAndAttributes:DWORD; hTemplateFile:HANDLE):HANDLE;
Description: To be documented


[Expand]
function SetFileAttributes(lpFileName:LPCSTR; dwFileAttributes:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function SetFileAttributesA(lpFileName:LPCSTR; dwFileAttributes:DWORD):BOOL;
Description: To be documented


[Expand]
function SetFileAttributesW(lpFileName:LPCWSTR; dwFileAttributes:DWORD):BOOL;
Description: To be documented


[Expand]
function GetFileAttributes(lpFileName:LPCSTR):DWORD; inline;
Description: To be documented


[Expand]
function GetFileAttributesA(lpFileName:LPCSTR):DWORD;
Description: To be documented


[Expand]
function GetFileAttributesW(lpFileName:LPCWSTR):DWORD;
Description: To be documented


[Expand]
function DeleteFile(lpFileName:LPCSTR):BOOL; inline;
Description: To be documented


[Expand]
function DeleteFileA(lpFileName:LPCSTR):BOOL;
Description: To be documented


[Expand]
function DeleteFileW(lpFileName:LPCWSTR):BOOL;
Description: To be documented


[Expand]
function MoveFile(lpExistingFileName,lpNewFileName:LPCSTR):BOOL; inline;
Description: To be documented


[Expand]
function MoveFileA(lpExistingFileName,lpNewFileName:LPCSTR):BOOL;
Description: To be documented


[Expand]
function MoveFileW(lpExistingFileName,lpNewFileName:LPCWSTR):BOOL;
Description: To be documented


[Expand]
function FindFirstFile(lpFileName:LPCSTR; var lpFindFileData:WIN32_FIND_DATAA):HANDLE; inline;
Description: To be documented


[Expand]
function FindFirstFileA(lpFileName:LPCSTR; var lpFindFileData:WIN32_FIND_DATAA):HANDLE;
Description: To be documented


[Expand]
function FindFirstFileW(lpFileName:LPCWSTR; var lpFindFileData:WIN32_FIND_DATAW):HANDLE;
Description: To be documented


[Expand]
function FindNextFile(hFindFile:HANDLE; var lpFindFileData:WIN32_FIND_DATAA):BOOL; inline;
Description: To be documented


[Expand]
function FindNextFileA(hFindFile:HANDLE; var lpFindFileData:WIN32_FIND_DATAA):BOOL;
Description: To be documented


[Expand]
function FindNextFileW(hFindFile:HANDLE; var lpFindFileData:WIN32_FIND_DATAW):BOOL;
Description: To be documented


[Expand]
function FindCloseFile(hFindFile:HANDLE):BOOL;
Description: To be documented


[Expand]
function GetFileSize(hFile:HANDLE;lpFileSizeHigh:LPDWORD):DWORD;
Description: To be documented


[Expand]
function GetFileSizeEx(hFile:HANDLE; var lpFileSize:LARGE_INTEGER):BOOL;
Description: To be documented


[Expand]
function GetFileTime(hFile:HANDLE; lpCreationTime,lpLastAccessTime,lpLastWriteTime:PFILETIME):BOOL;
Description: To be documented


[Expand]
function SetFileTime(hFile:HANDLE; lpCreationTime,lpLastAccessTime,lpLastWriteTime:PFILETIME):BOOL;
Description: To be documented


[Expand]
function ReadFile(hFile:HANDLE; lpBuffer:LPVOID; nNumberOfBytesToRead:DWORD; lpNumberOfBytesRead:LPDWORD; lpOverlapped:LPOVERLAPPED):BOOL;
Description: To be documented


[Expand]
function WriteFile(hFile:HANDLE; lpBuffer:LPCVOID; nNumberOfBytesToWrite:DWORD; lpNumberOfBytesWritten:LPDWORD; lpOverlapped:LPOVERLAPPED):BOOL;
Description: To be documented


[Expand]
function SetEndOfFile(hFile:HANDLE):BOOL;
Description: To be documented


[Expand]
function SetFilePointer(hFile:HANDLE; lDistanceToMove:LONG; lpDistanceToMoveHigh:PLONG; dwMoveMethod:DWORD):DWORD;
Description: To be documented


[Expand]
function SetFilePointerEx(hFile:HANDLE; liDistanceToMove:LARGE_INTEGER; lpNewFilePointer:PLARGE_INTEGER; dwMoveMethod:DWORD):BOOL;
Description: To be documented


[Expand]
function FlushFileBuffers(hFile:HANDLE):BOOL;
Description: To be documented


[Expand]
function CopyFile(lpExistingFileName,lpNewFileName:LPCSTR; bFailIfExists:BOOL):BOOL; inline;
Description: To be documented


[Expand]
function CopyFileA(lpExistingFileName,lpNewFileName:LPCSTR; bFailIfExists:BOOL):BOOL;
Description: To be documented


[Expand]
function CopyFileW(lpExistingFileName,lpNewFileName:LPCWSTR; bFailIfExists:BOOL):BOOL;
Description: To be documented


[Expand]
function SetFileShortName(hFile:HANDLE; lpShortName:LPCSTR):BOOL; inline;
Description: To be documented


[Expand]
function SetFileShortNameA(hFile:HANDLE; lpShortName:LPCSTR):BOOL;
Description: To be documented


[Expand]
function SetFileShortNameW(hFile:HANDLE; lpShortName:LPCWSTR):BOOL;
Description: To be documented


[Expand]
function CreateHardLink(lpFileName,lpExistingFileName:LPCSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL; inline;
Description: To be documented


[Expand]
function CreateHardLinkA(lpFileName,lpExistingFileName:LPCSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
Description: To be documented


[Expand]
function CreateHardLinkW(lpFileName,lpExistingFileName:LPCWSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
Description: To be documented


[Expand]
function CreateSymbolicLink(lpSymlinkFileName,lpTargetFileName:LPCSTR; dwFlags:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function CreateSymbolicLinkA(lpSymlinkFileName,lpTargetFileName:LPCSTR; dwFlags:DWORD):BOOL;
Description: To be documented


[Expand]
function CreateSymbolicLinkW(lpSymlinkFileName,lpTargetFileName:LPCWSTR; dwFlags:DWORD):BOOL;
Description: To be documented


Directory functions (Compatibility)

[Expand]
function CreateDirectory(lpPathName:LPCSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL; inline;
Description: To be documented


[Expand]
function CreateDirectoryA(lpPathName:LPCSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
Description: To be documented


[Expand]
function CreateDirectoryW(lpPathName:LPCWSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
Description: To be documented


[Expand]
function RemoveDirectory(lpPathName:LPCSTR):BOOL; inline;
Description: To be documented


[Expand]
function RemoveDirectoryA(lpPathName:LPCSTR):BOOL;
Description: To be documented


[Expand]
function RemoveDirectoryW(lpPathName:LPCWSTR):BOOL;
Description: To be documented


[Expand]
function SetCurrentDirectory(lpPathName:LPCSTR):BOOL; inline;
Description: To be documented


[Expand]
function SetCurrentDirectoryA(lpPathName:LPCSTR):BOOL;
Description: To be documented


[Expand]
function SetCurrentDirectoryW(lpPathName:LPCWSTR):BOOL;
Description: To be documented


[Expand]
function GetCurrentDirectory(nBufferLength:DWORD; lpBuffer:LPSTR):DWORD; inline;
Description: To be documented


[Expand]
function GetCurrentDirectoryA(nBufferLength:DWORD; lpBuffer:LPSTR):DWORD;
Description: To be documented


[Expand]
function GetCurrentDirectoryW(nBufferLength:DWORD; lpBuffer:LPWSTR):DWORD;
Description: To be documented


[Expand]
function GetLongPathName(lpszShortPath:LPCSTR; lpszLongPath:LPSTR; cchBuffer:DWORD):DWORD; inline;
Description: To be documented


[Expand]
function GetLongPathNameA(lpszShortPath:LPCSTR; lpszLongPath:LPSTR; cchBuffer:DWORD):DWORD;
Description: To be documented


[Expand]
function GetLongPathNameW(lpszShortPath:LPCWSTR; lpszLongPath:LPWSTR; cchBuffer:DWORD):DWORD;
Description: To be documented


[Expand]
function GetShortPathName(lpszLongPath:LPCSTR; lpszShortPath:LPSTR; cchBuffer:DWORD):DWORD; inline;
Description: To be documented


[Expand]
function GetShortPathNameA(lpszLongPath:LPCSTR; lpszShortPath:LPSTR; cchBuffer:DWORD):DWORD;
Description: To be documented


[Expand]
function GetShortPathNameW(lpszLongPath:LPCWSTR; lpszShortPath:LPWSTR; cchBuffer:DWORD):DWORD;
Description: To be documented


[Expand]
function GetFullPathName(lpFileName:LPCSTR; nBufferLength:DWORD; lpBuffer:LPSTR; var lpFilePart:LPSTR):DWORD; inline;
Description: To be documented


[Expand]
function GetFullPathNameA(lpFileName:LPCSTR; nBufferLength:DWORD; lpBuffer:LPSTR; var lpFilePart:LPSTR):DWORD;
Description: To be documented


[Expand]
function GetFullPathNameW(lpFileName:LPCWSTR; nBufferLength:DWORD; lpBuffer:LPWSTR; var lpFilePart:LPWSTR):DWORD;
Description: To be documented


Command line functions (RTL)

[Expand]
function SysParamCount:LongInt;
Description: To be documented


[Expand]
function SysParamStr(Index:LongInt):String;
Description: To be documented


Command line functions (Compatibility)

[Expand]
function GetCommandLine:LPSTR; inline;
Description: To be documented


[Expand]
function GetCommandLineA:LPSTR;
Description: To be documented


[Expand]
function GetCommandLineW:LPWSTR;
Description: To be documented


Command line functions (Ultibo)

[Expand]
function IsParamPresent(const AParam:String):Boolean;
Description: Check if the specified parameter is present in the command line


[Expand]
function GetParamIndex(const AParam:String):Integer;
Description: Get the index of the specified parameter in the command line


[Expand]
function GetParamValue(const AParam:String):String;
Description: Get the value of the specified parameter from the command line


Environment functions (Compatibility)

[Expand]
function GetEnvironmentStrings:LPSTR; inline;
Description: To be documented


[Expand]
function GetEnvironmentStringsA:LPSTR;
Description: To be documented


[Expand]
function GetEnvironmentStringsW:LPWSTR;
Description: To be documented


[Expand]
function FreeEnvironmentStrings(pstr:LPSTR):BOOL; inline;
Description: To be documented


[Expand]
function FreeEnvironmentStringsA(pstr:LPSTR):BOOL;
Description: To be documented


[Expand]
function FreeEnvironmentStringsW(pstr:LPWSTR):BOOL;
Description: To be documented


[Expand]
function GetEnvironmentVariable(lpName:LPCSTR; lpBuffer:LPSTR; nSize:DWORD):DWORD; inline;
Description: To be documented


[Expand]
function GetEnvironmentVariableA(lpName:LPCSTR; lpBuffer:LPSTR; nSize:DWORD):DWORD;
Description: To be documented


[Expand]
function GetEnvironmentVariableW(lpName:LPCWSTR; lpBuffer:LPWSTR; nSize:DWORD):DWORD;
Description: To be documented


[Expand]
function SetEnvironmentVariable(lpName,lpValue:LPCSTR):BOOL; inline;
Description: To be documented


[Expand]
function SetEnvironmentVariableA(lpName,lpValue:LPCSTR):BOOL;
Description: To be documented


[Expand]
function SetEnvironmentVariableW(lpName,lpValue:LPCWSTR):BOOL;
Description: To be documented


[Expand]
function ExpandEnvironmentStrings(lpSrc:LPCSTR; lpDst:LPSTR; nSize:DWORD):DWORD; inline;
Description: To be documented


[Expand]
function ExpandEnvironmentStringsA(lpSrc:LPCSTR; lpDst:LPSTR; nSize:DWORD):DWORD;
Description: To be documented


[Expand]
function ExpandEnvironmentStringsW(lpSrc:LPCWSTR; lpDst:LPWSTR; nSize:DWORD):DWORD;
Description: To be documented


Error functions (Compatibility)

[Expand]
function GetLastError:DWORD;
Description: To be documented


[Expand]
procedure SetLastError(dwErrCode:DWORD);
Description: To be documented


GUID functions (Ultibo)

[Expand]
function CreateGUID:TGUID;
Description: GUID has the following format DWORD-WORD-WORD-WORD-WORDDWORD | Not Swapped |


[Expand]
function GUIDToString(const Value:TGUID):String;
Description: To be documented


[Expand]
function StringToGUID(const Value:String):TGUID;
Description: To be documented


[Expand]
function HexChar(Value:Char):Byte;
Description: To be documented


[Expand]
function HexByte(Value:PChar):Byte;
Description: To be documented


[Expand]
function NullGUID(const GUID:TGUID):Boolean;
Description: To be documented


[Expand]
function CompareGUID(const GUID1,GUID2:TGUID):Boolean;
Description: To be documented


SID functions (Ultibo)

[Expand]
function SIDToString(ASID:PSID):String;
Description: To be documented


[Expand]
function StringToSID(const Value:String):PSID;
Description: To be documented


Numeric functions (Ultibo)

[Expand]
function Min(A,B:Integer):Integer; inline;
Description: To be documented


[Expand]
function Max(A,B:Integer):Integer; inline;
Description: To be documented


[Expand]
function MinEx(A,B:LongWord):LongWord; inline;
Description: To be documented


[Expand]
function MaxEx(A,B:LongWord):LongWord; inline;
Description: To be documented


[Expand]
function Min64(const A,B:Int64):Int64; inline;
Description: To be documented


[Expand]
function Max64(const A,B:Int64):Int64; inline;
Description: To be documented


[Expand]
function Or64(const Value1,Value2:Int64):Int64; inline;
Description: To be documented


[Expand]
function And64(const Value1,Value2:Int64):Int64; inline;
Description: To be documented


[Expand]
function Xor64(const Value1,Value2:Int64):Int64; inline;
Description: To be documented


[Expand]
function Not64(const Value:Int64):Int64; inline;
Description: To be documented


[Expand]
function Rol32(Value:LongWord; Count:Byte):LongWord; inline;
Description: To be documented


[Expand]
function Ror32(Value:LongWord; Count:Byte):LongWord; inline;
Description: To be documented


[Expand]
function WordSwap(AValue:Word):Word; inline;
Description: To be documented


[Expand]
function LongSwap(AValue:LongWord):LongWord; inline;
Description: To be documented


[Expand]
function Int64Swap(const AValue:Int64):Int64; inline;
Description: To be documented


[Expand]
function BufferSwap(ABuffer:Pointer; ASize:LongWord):Boolean;
Description: Swap each word in the buffer supplied up to size


Hash functions (Ultibo)

[Expand]
function GenerateNameHash(const Name:String; Size:Integer):LongWord;
Description: Sum of (byte value + 1) * (position + 257) for all bytes in uppercase string


[Expand]
function GeneratePasswordHash(const Password:String):LongWord;
Description: Sum of (byte value + 1) * (position + 257) for all bytes in string


Locale functions (Compatibility)

[Expand]
function IsValidLocale(LocaleID:LCID; dwFlags:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function GetSystemDefaultLCID:LCID; inline;
Description: To be documented


[Expand]
function GetUserDefaultLCID:LCID; inline;
Description: To be documented


[Expand]
function GetThreadLocale:LCID; 
Description: To be documented


[Expand]
function SetThreadLocale(LocaleID:LCID):BOOL; 
Description: To be documented


Locale functions (Ultibo)

[Expand]
function SetSystemDefaultLCID(LocaleID:LCID):BOOL; inline;
Description: To be documented


[Expand]
function WideCharToString(ABuffer:PWideChar):String;
Description: A replacement for WideCharToString in System unit to allow cross platform compatibility


[Expand]
function WideCharLenToString(ABuffer:PWideChar; ALength:Integer):String;
Description: A replacement for WideCharLenToString in System unit to allow cross platform compatibility


[Expand]
function StringToWideChar(const AString:String; ABuffer:PWideChar; ASize:Integer):Boolean;
Description: A replacement for StringToWideChar in System unit to allow cross platform compatibility


Code page functions (Compatibility)

[Expand]
function IsValidCodePage(CodePage:UINT):BOOL; inline; 
Description: To be documented


[Expand]
function GetACP:UINT; inline;
Description: To be documented


[Expand]
function GetOEMCP:UINT; inline;
Description: To be documented


[Expand]
function GetConsoleCP:UINT; inline;
Description: To be documented


[Expand]
function SetConsoleCP(wCodePageID:UINT):BOOL; inline;
Description: To be documented


[Expand]
function GetConsoleOutputCP:UINT; inline;
Description: To be documented


[Expand]
function SetConsoleOutputCP(wCodePageID:UINT):BOOL; inline;
Description: To be documented


[Expand]
function GetCPInfo(CodePage:UINT; var lpCPInfo:TCPInfo):BOOL; inline;
Description: To be documented


[Expand]
function GetCPInfoEx(CodePage:UINT; dwFlags:DWORD; var lpCPInfoEx:CPINFOEXA):BOOL; inline;
Description: To be documented


[Expand]
function GetCPInfoExA(CodePage:UINT; dwFlags:DWORD; var lpCPInfoEx:CPINFOEXA):BOOL; inline;
Description: To be documented


[Expand]
function GetCPInfoExW(CodePage:UINT; dwFlags:DWORD; var lpCPInfoEx:CPINFOEXW):BOOL; inline;
Description: To be documented


Code page functions (Ultibo)

[Expand]
function SetACP(CodePage:UINT):BOOL; inline;
Description: To be documented


[Expand]
function SetOEMCP(CodePage:UINT):BOOL; inline;
Description: To be documented


Translation functions (Compatibility)

[Expand]
function MultiByteToWideChar(CodePage:UINT; dwFlags:DWORD; lpMultiByteStr:LPCSTR; cbMultiByte:Integer; lpWideCharStr:LPWSTR; cchWideChar:Integer):Integer; inline;
Description: To be documented


[Expand]
function WideCharToMultiByte(CodePage:UINT; dwFlags:DWORD; lpWideCharStr:LPCWSTR; cchWideChar:Integer; lpMultiByteStr:LPSTR; cbMultiByte:Integer; lpDefaultChar:LPCSTR; lpUsedDefaultChar:LPBOOL):Integer; inline;
Description: To be documented


[Expand]
function CompareString(Locale:LCID; dwCmpFlags:DWORD; lpString1:LPCSTR; cchCount1:Integer; lpString2:LPCSTR; cchCount2:Integer):Integer; inline;
Description: To be documented


[Expand]
function CompareStringA(Locale:LCID; dwCmpFlags:DWORD; lpString1:LPCSTR; cchCount1:Integer; lpString2:LPCSTR; cchCount2:Integer):Integer; inline;
Description: To be documented


[Expand]
function CompareStringW(Locale:LCID; dwCmpFlags:DWORD; lpString1:LPCWSTR; cchCount1:Integer; lpString2:LPCWSTR; cchCount2:Integer):Integer; inline;
Description: To be documented


[Expand]
function CharUpper(lpsz:LPSTR):LPSTR; inline;
Description: To be documented


[Expand]
function CharUpperA(lpsz:LPSTR):LPSTR; inline;
Description: To be documented


[Expand]
function CharUpperW(lpsz:LPWSTR):LPWSTR; inline;
Description: To be documented


[Expand]
function CharUpperBuff(lpsz:LPSTR; cchLength:DWORD):DWORD; inline;
Description: To be documented


[Expand]
function CharUpperBuffA(lpsz:LPSTR; cchLength:DWORD):DWORD; inline;
Description: To be documented


[Expand]
function CharUpperBuffW(lpsz:LPWSTR; cchLength:DWORD):DWORD; inline;
Description: To be documented


[Expand]
function CharLower(lpsz:LPSTR):LPSTR; inline;
Description: To be documented


[Expand]
function CharLowerA(lpsz:LPSTR):LPSTR; inline;
Description: To be documented


[Expand]
function CharLowerW(lpsz:LPWSTR):LPWSTR; inline;
Description: To be documented


[Expand]
function CharLowerBuff(lpsz:LPSTR; cchLength:DWORD):DWORD; inline;
Description: To be documented


[Expand]
function CharLowerBuffA(lpsz:LPSTR; cchLength:DWORD):DWORD; inline;
Description: To be documented


[Expand]
function CharLowerBuffW(lpsz:LPWSTR; cchLength:DWORD):DWORD; inline;
Description: To be documented


[Expand]
function AnsiToOem(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
Description: To be documented


[Expand]
function AnsiToOemBuff(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function OemToAnsi(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
Description: To be documented


[Expand]
function OemToAnsiBuff(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function CharToOem(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline; 
Description: To be documented


[Expand]
function CharToOemA(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
Description: To be documented


[Expand]
function CharToOemW(lpszSrc:LPCWSTR; lpszDst:LPSTR):BOOL; inline;
Description: To be documented


[Expand]
function OemToChar(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
Description: To be documented


[Expand]
function OemToCharA(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
Description: To be documented


[Expand]
function OemToCharW(lpszSrc:LPCSTR; lpszDst:LPWSTR):BOOL; inline;
Description: To be documented


[Expand]
function CharToOemBuff(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function CharToOemBuffA(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function CharToOemBuffW(lpszSrc:LPCWSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function OemToCharBuff(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function OemToCharBuffA(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Description: To be documented


[Expand]
function OemToCharBuffW(lpszSrc:LPCSTR; lpszDst:LPWSTR; cchDstLength:DWORD):BOOL; inline;
Description: To be documented


Handle functions (Compatibility)

[Expand]
function CloseHandle(hObject:HANDLE):BOOL;
Description: To be documented


[Expand]
function DuplicateHandle(hSourceProcessHandle:HANDLE; hSourceHandle:HANDLE; hTargetProcessHandle:HANDLE; lpTargetHandle:LPHANDLE; dwDesiredAccess:DWORD; bInheritHandle:BOOL; dwOptions:DWORD):BOOL;
Description: To be documented


[Expand]
function GetHandleInformation(hObject:HANDLE; var lpdwFlags:DWORD):BOOL;
Description: To be documented


[Expand]
function SetHandleInformation(hObject:HANDLE; dwMask:DWORD; dwFlags:DWORD):BOOL;
Description: To be documented


Memory functions (Compatibility)

[Expand]
procedure MoveMemory(Destination,Source:PVOID; Length:SIZE_T); inline;
Description: To be documented


[Expand]
procedure CopyMemory(Destination,Source:PVOID; Length:SIZE_T); inline;
Description: To be documented


[Expand]
procedure FillMemory(Destination:PVOID; Length:SIZE_T;Fill:BYTE); inline;
Description: To be documented


[Expand]
procedure ZeroMemory(Destination:PVOID; Length:SIZE_T); inline;
Description: To be documented


[Expand]
function GlobalAlloc(uFlags:UINT; dwBytes:SIZE_T):HGLOBAL;
Description: To be documented


[Expand]
function GlobalReAlloc(hMem:HGLOBAL; dwBytes:SIZE_T; uFlags:UINT):HGLOBAL;
Description: To be documented


[Expand]
function GlobalFree(hMem:HGLOBAL):HGLOBAL;
Description: To be documented


[Expand]
function GlobalSize(hMem:HGLOBAL):SIZE_T;
Description: To be documented


[Expand]
function GlobalFlags(hMem:HGLOBAL):UINT;
Description: To be documented


[Expand]
function GlobalLock(hMem:HGLOBAL):LPVOID;
Description: To be documented


[Expand]
function GlobalUnlock(hMem:HGLOBAL):BOOL;
Description: To be documented


[Expand]
function GlobalHandle(pMem:LPCVOID):HGLOBAL;
Description: To be documented


[Expand]
procedure GlobalMemoryStatus(var lpBuffer:MEMORYSTATUS);
Description: To be documented


[Expand]
function GlobalMemoryStatusEx(var lpBuffer:MEMORYSTATUSEX):BOOL;
Description: To be documented


[Expand]
function LocalAlloc(uFlags:UINT; uBytes:SIZE_T):HLOCAL;
Description: To be documented


[Expand]
function LocalReAlloc(hMem:HLOCAL; uBytes:SIZE_T; uFlags:UINT):HLOCAL;
Description: To be documented


[Expand]
function LocalFree(hMem:HLOCAL):HLOCAL;
Description: To be documented


[Expand]
function LocalSize(hMem:HLOCAL):SIZE_T;
Description: To be documented


[Expand]
function LocalFlags(hMem:HLOCAL):UINT;
Description: To be documented


[Expand]
function LocalLock(hMem:HLOCAL):LPVOID;
Description: To be documented


[Expand]
function LocalUnlock(hMem:HLOCAL):BOOL;
Description: To be documented


[Expand]
function LocalHandle(pMem:LPCVOID):HLOCAL;
Description: To be documented


[Expand]
function VirtualAlloc(lpAddress:LPVOID; dwSize:SIZE_T; flAllocationType:DWORD; flProtect:DWORD):LPVOID;
Description: To be documented


[Expand]
function VirtualFree(lpAddress:LPVOID; dwSize:SIZE_T; dwFreeType:DWORD):BOOL;
Description: To be documented


[Expand]
function VirtualQuery(lpAddress:LPCVOID; var lpBuffer:MEMORY_BASIC_INFORMATION; dwLength:DWORD):DWORD;
Description: To be documented


[Expand]
function VirtualLock(lpAddress:LPVOID; dwSize:SIZE_T):BOOL;
Description: To be documented


[Expand]
function VirtualUnlock(lpAddress:LPVOID; dwSize:SIZE_T):BOOL;
Description: To be documented


[Expand]
function FlushInstructionCache(hProcess:HANDLE; lpBaseAddress:LPCVOID; dwSize:DWORD):BOOL;
Description: To be documented


[Expand]
function GetNumaHighestNodeNumber(var HighestNodeNumber:ULONG):BOOL;
Description: To be documented


Tls functions (Compatibility)

[Expand]
function TlsAlloc:DWORD;
Description: To be documented


[Expand]
function TlsAllocEx(bFree:BOOL):DWORD;
Description: To be documented


[Expand]
function TlsGetValue(dwTlsIndex:DWORD):LPVOID;
Description: To be documented


[Expand]
function TlsSetValue(dwTlsIndex:DWORD; lpTlsValue:LPVOID):BOOL;
Description: To be documented


[Expand]
function TlsFree(dwTlsIndex:DWORD):BOOL;
Description: To be documented


Thread functions (Compatibility)

[Expand]
function SwitchToThread:BOOL; inline;
Description: To be documented


[Expand]
procedure Sleep(dwMilliseconds:DWORD); inline;
Description: To be documented


[Expand]
function SleepEx(dwMilliseconds:DWORD; bAlertable:BOOL):DWORD; inline;
Description: To be documented


[Expand]
function GetCurrentThread:HANDLE;
Description: To be documented


[Expand]
function GetCurrentThreadId:DWORD;
Description: To be documented


[Expand]
function GetThreadPriority(hThread:HANDLE):Integer;
Description: To be documented


[Expand]
function SetThreadPriority(hThread:HANDLE; nPriority:Integer):BOOL;
Description: To be documented


[Expand]
function GetExitCodeThread(hThread:HANDLE; var lpExitCode:DWORD):BOOL;
Description: To be documented


[Expand]
function GetThreadAffinityMask(hThread:HANDLE):DWORD_PTR;
Description: To be documented


[Expand]
function SetThreadAffinityMask(hThread:HANDLE; dwThreadAffinityMask:DWORD_PTR):DWORD_PTR;
Description: To be documented


[Expand]
function GetThreadTimes(hThread:HANDLE; var lpCreationTime,lpExitTime,lpKernelTime,lpUserTime:FILETIME):BOOL;
Description: To be documented


[Expand]
function CreateThread(lpThreadAttributes:LPSECURITY_ATTRIBUTES; dwStackSize:DWORD; lpStartAddress:LPTHREAD_START_ROUTINE; lpParameter:LPVOID; dwCreationFlags:DWORD; lpThreadId:LPDWORD):HANDLE;
Description: To be documented


[Expand]
function OpenThread(dwDesiredAccess:DWORD; bInheritHandle:BOOL; dwThreadId:DWORD):HANDLE;
Description: To be documented


[Expand]
function SuspendThread(hThread:HANDLE):DWORD;
Description: To be documented


[Expand]
function ResumeThread(hThread:HANDLE):DWORD;
Description: To be documented


[Expand]
function TerminateThread(hThread:HANDLE; dwExitCode:DWORD):BOOL;
Description: To be documented


[Expand]
procedure ExitThread(dwExitCode:DWORD);
Description: To be documented


[Expand]
function WaitForSingleObject(hHandle:HANDLE; dwMilliseconds:DWORD):DWORD;
Description: To be documented


[Expand]
function WaitForMultipleObjects(nCount:DWORD; lpHandles:PHANDLE; bWaitAll:BOOL; dwMilliseconds:DWORD):DWORD;
Description: To be documented


[Expand]
function WaitForSingleObjectEx(hHandle:HANDLE; dwMilliseconds:DWORD; bAlertable:BOOL):DWORD;
Description: To be documented


[Expand]
function WaitForMultipleObjectsEx(nCount:DWORD; lpHandles:PHANDLE; bWaitAll:BOOL; dwMilliseconds:DWORD; bAlertable:BOOL):DWORD;
Description: To be documented


Thread functions (Ultibo)

[Expand]
function BeginThreadEx(ThreadFunction:TThreadFunc; Parameter:Pointer; var ThreadId:TThreadID; const StackSize:SizeUInt; Priority,Affinity,CPU:LongWord; Name:PChar):TThreadID;
Description: To be documented


Message functions (Compatibility)

[Expand]
function WaitMessage:BOOL;
Description: To be documented


[Expand]
function GetMessage(lpMsg:LPMSG; hThread:HANDLE; wMsgFilterMin,wMsgFilterMax:UINT):BOOL;
Description: To be documented


[Expand]
function PeekMessage(var lpMsg:MSG; hThread:HANDLE; wMsgFilterMin,wMsgFilterMax,wRemoveMsg:UINT):BOOL;
Description: To be documented


[Expand]
function PostMessage(hThread:HANDLE; Msg:UINT; wParam:WPARAM; lParam:LPARAM):BOOL;
Description: To be documented


[Expand]
function SendMessage(hThread:HANDLE; Msg:UINT; wParam:WPARAM; lParam:LPARAM):LRESULT;
Description: To be documented


[Expand]
function SendMessageTimeout(hThread:HANDLE; Msg:UINT; wParam:WPARAM; lParam:LPARAM; fuFlags,uTimeout:UINT; var lpdwResult:DWORD_PTR):LRESULT;
Description: To be documented


Interlocked functions (Compatibility)

[Expand]
function InterlockedIncrement(var lpAddend:LONG):LONG; inline;
Description: To be documented


[Expand]
function InterlockedDecrement(var lpAddend:LONG):LONG; inline;
Description: To be documented


[Expand]
function InterlockedExchange(var Target:LONG; Value:LONG):LONG; inline;
Description: To be documented


[Expand]
function InterlockedExchangePointer(var Target:PVOID; Value:PVOID):PVOID; inline;
Description: To be documented


[Expand]
function InterlockedExchangeAdd(var Addend:LONG; Value:LONG):LONG; inline;
Description: To be documented


[Expand]
function InterlockedCompareExchange(var Destination:LONG; Exchange:LONG; Comperand:LONG):LONG; inline;
Description: To be documented


[Expand]
function InterlockedCompareExchangePointer(var Destination:PVOID; Exchange,Comperand:PVOID):PVOID; inline;
Description: To be documented


Mutex functions (Compatibility)

[Expand]
function CreateMutex(lpMutexAttributes:LPSECURITY_ATTRIBUTES; bInitialOwner:BOOL; lpName:LPCSTR):HANDLE; inline;
Description: To be documented


[Expand]
function CreateMutexA(lpMutexAttributes:LPSECURITY_ATTRIBUTES; bInitialOwner:BOOL; lpName:LPCSTR):HANDLE;
Description: To be documented


[Expand]
function CreateMutexW(lpMutexAttributes:LPSECURITY_ATTRIBUTES; bInitialOwner:BOOL; lpName:LPCWSTR):HANDLE;
Description: To be documented


[Expand]
function OpenMutex(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE; inline;
Description: To be documented


[Expand]
function OpenMutexA(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE;
Description: To be documented


[Expand]
function OpenMutexW(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCWSTR):HANDLE;
Description: To be documented


[Expand]
function ReleaseMutex(hMutex:HANDLE):BOOL;
Description: To be documented


Semaphore functions (Compatibility)

[Expand]
function CreateSemaphore(lpSemaphoreAttributes:LPSECURITY_ATTRIBUTES; lInitialCount,lMaximumCount:LONG; lpName:LPCSTR):HANDLE; inline;
Description: To be documented


[Expand]
function CreateSemaphoreA(lpSemaphoreAttributes:LPSECURITY_ATTRIBUTES; lInitialCount,lMaximumCount:LONG; lpName:LPCSTR):HANDLE;
Description: To be documented


[Expand]
function CreateSemaphoreW(lpSemaphoreAttributes:LPSECURITY_ATTRIBUTES; lInitialCount,lMaximumCount:LONG; lpName:LPCWSTR):HANDLE;
Description: To be documented


[Expand]
function OpenSemaphore(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE; inline;
Description: To be documented


[Expand]
function OpenSemaphoreA(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE;
Description: To be documented


[Expand]
function OpenSemaphoreW(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCWSTR):HANDLE;
Description: To be documented


[Expand]
function ReleaseSemaphore(hSemaphore:HANDLE; lReleaseCount:LONG; lpPreviousCount:LPLONG):BOOL;
Description: To be documented


Critical section functions (Compatibility)

[Expand]
procedure InitializeCriticalSection(var lpCriticalSection:CRITICAL_SECTION);
Description: To be documented


[Expand]
procedure EnterCriticalSection(var lpCriticalSection:CRITICAL_SECTION);
Description: To be documented


[Expand]
procedure LeaveCriticalSection(var lpCriticalSection:CRITICAL_SECTION);
Description: To be documented


[Expand]
function TryEnterCriticalSection(var lpCriticalSection:CRITICAL_SECTION):BOOL;
Description: To be documented


[Expand]
function InitializeCriticalSectionAndSpinCount(var lpCriticalSection:CRITICAL_SECTION; dwSpinCount:DWORD):BOOL;
Description: To be documented


[Expand]
function SetCriticalSectionSpinCount(var lpCriticalSection:CRITICAL_SECTION; dwSpinCount:DWORD):DWORD;
Description: To be documented


[Expand]
procedure DeleteCriticalSection(var lpCriticalSection:CRITICAL_SECTION);
Description: To be documented


Event functions (Compatibility)

[Expand]
function CreateEvent(lpEventAttributes:LPSECURITY_ATTRIBUTES; bManualReset,bInitialState:BOOL; lpName:LPCSTR):HANDLE; inline;
Description: To be documented


[Expand]
function CreateEventA(lpEventAttributes:LPSECURITY_ATTRIBUTES; bManualReset,bInitialState:BOOL; lpName:LPCSTR):HANDLE;
Description: To be documented


[Expand]
function CreateEventW(lpEventAttributes:LPSECURITY_ATTRIBUTES; bManualReset,bInitialState:BOOL; lpName:LPCWSTR):HANDLE;
Description: To be documented


[Expand]
function OpenEvent(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE; inline;
Description: To be documented


[Expand]
function OpenEventA(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE;
Description: To be documented


[Expand]
function OpenEventW(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCWSTR):HANDLE;
Description: To be documented


[Expand]
function SetEvent(hEvent:HANDLE):BOOL;
Description: To be documented


[Expand]
function ResetEvent(hEvent:HANDLE):BOOL;
Description: To be documented


[Expand]
function PulseEvent(hEvent:HANDLE):BOOL;
Description: To be documented


Process functions (Compatibility)

[Expand]
function GetProcessAffinityMask(hProcess:HANDLE; var lpProcessAffinityMask,lpSystemAffinityMask:DWORD_PTR):BOOL;
Description: To be documented


[Expand]
function SetProcessAffinityMask(hProcess:HANDLE; dwProcessAffinityMask:DWORD_PTR):BOOL;
Description: To be documented


[Expand]
function GetProcessTimes(hProcess:HANDLE; var lpCreationTime,lpExitTime,lpKernelTime,lpUserTime:FILETIME):BOOL;
Description: To be documented


[Expand]
function GetProcessIoCounters(hProcess:HANDLE; var lpIoCounters:IO_COUNTERS):BOOL;
Description: To be documented


[Expand]
function GetCurrentProcess:HANDLE;
Description: To be documented


[Expand]
function GetCurrentProcessId:DWORD;
Description: To be documented


[Expand]
procedure ExitProcess(uExitCode:UINT);
Description: To be documented


[Expand]
procedure FatalExit(ExitCode:Integer);
Description: To be documented


[Expand]
function TerminateProcess(hProcess:HANDLE; uExitCode:UINT):BOOL;
Description: To be documented


Debug functions (Compatibility)

[Expand]
procedure OutputDebugString(lpOutputString:LPCSTR); inline;
Description: To be documented


[Expand]
procedure OutputDebugStringA(lpOutputString:LPCSTR);
Description: To be documented


[Expand]
procedure OutputDebugStringW(lpOutputString:LPCWSTR);
Description: To be documented


Library functions (Compatibility)

[Expand]
function lstrcmp(lpString1,lpString2:LPCSTR):Integer; inline;
Description: To be documented


[Expand]
function lstrcmpA(lpString1,lpString2:LPCSTR):Integer;
Description: To be documented


[Expand]
function lstrcmpW(lpString1,lpString2:LPCWSTR):Integer;
Description: To be documented


[Expand]
function lstrcmpi(lpString1,lpString2:LPCSTR):Integer; inline;
Description: To be documented


[Expand]
function lstrcmpiA(lpString1,lpString2:LPCSTR):Integer;
Description: To be documented


[Expand]
function lstrcmpiW(lpString1,lpString2:LPCWSTR):Integer;
Description: To be documented


[Expand]
function lstrcpy(lpString1:LPSTR; lpString2:LPCSTR):LPSTR; inline;
Description: To be documented


[Expand]
function lstrcpyA(lpString1:LPSTR; lpString2:LPCSTR):LPSTR;
Description: To be documented


[Expand]
function lstrcpyW(lpString1:LPWSTR; lpString2:LPCWSTR):LPWSTR;
Description: To be documented


[Expand]
function lstrcpyn(lpString1:LPSTR; lpString2:LPCSTR; iMaxLength:Integer):LPSTR; inline;
Description: To be documented


[Expand]
function lstrcpynA(lpString1:LPSTR; lpString2:LPCSTR; iMaxLength:Integer):LPSTR;
Description: To be documented


[Expand]
function lstrcpynW(lpString1:LPWSTR; lpString2:LPCWSTR; iMaxLength:Integer):LPWSTR;
Description: To be documented


[Expand]
function lstrcat(lpString1:LPSTR; lpString2:LPCSTR):LPSTR; inline;
Description: To be documented


[Expand]
function lstrcatA(lpString1:LPSTR; lpString2:LPCSTR):LPSTR;
Description: To be documented


[Expand]
function lstrcatW(lpString1:LPWSTR; lpString2:LPCWSTR):LPWSTR;
Description: To be documented


[Expand]
function lstrlen(lpString:LPCSTR):Integer; inline;
Description: To be documented


[Expand]
function lstrlenA(lpString:LPCSTR):Integer;
Description: To be documented


[Expand]
function lstrlenW(lpString:LPCWSTR):Integer;
Description: To be documented


Return to Unit Reference