Difference between revisions of "Unit Ultibo"
Line 4,833: | Line 4,833: | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
<pre style="border: 0; padding-bottom:0px;">function PulseEvent(hEvent:HANDLE):BOOL;</pre> | <pre style="border: 0; padding-bottom:0px;">function PulseEvent(hEvent:HANDLE):BOOL;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | |||
+ | '''Process functions (Compatibility)''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function GetProcessAffinityMask(hProcess:HANDLE; var lpProcessAffinityMask,lpSystemAffinityMask:DWORD_PTR):BOOL;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | Ultibo has no concept of a Process so this function is mapped to Threads instead | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function SetProcessAffinityMask(hProcess:HANDLE; dwProcessAffinityMask:DWORD_PTR):BOOL;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | Ultibo has no concept of a Process so this function is mapped to Threads instead | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function GetProcessTimes(hProcess:HANDLE; var lpCreationTime,lpExitTime,lpKernelTime,lpUserTime:FILETIME):BOOL;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | Ultibo has no concept of a Process so this function is mapped to Threads instead | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function GetProcessIoCounters(hProcess:HANDLE; var lpIoCounters:IO_COUNTERS):BOOL;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | Ultibo has no concept of a Process so this function is mapped to Threads instead | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function GetCurrentProcess:HANDLE;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | Ultibo has no concept of a Process so this function is mapped to Threads instead | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function GetCurrentProcessId:DWORD;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | Ultibo has no concept of a Process so this function is mapped to Threads instead. Thread Id and Thread Handle are currently equivalent. | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">procedure ExitProcess(uExitCode:UINT);</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | Ultibo has no concept of a Process so this function is mapped to Threads instead | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">procedure FatalExit(ExitCode:Integer);</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | Ultibo has no concept of a Process so this function is mapped to Threads instead | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function TerminateProcess(hProcess:HANDLE; uExitCode:UINT):BOOL;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | Ultibo has no concept of a Process so this function is mapped to Threads instead | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | |||
+ | '''Debug functions (Compatibility)''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">procedure OutputDebugString(lpOutputString:LPCSTR);</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">procedure OutputDebugStringA(lpOutputString:LPCSTR);</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">procedure OutputDebugStringW(lpOutputString:LPCWSTR);</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | |||
+ | '''Library functions (Compatibility)''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcmp(lpString1,lpString2:LPCSTR):Integer;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcmpA(lpString1,lpString2:LPCSTR):Integer;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcmpW(lpString1,lpString2:LPCWSTR):Integer;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcmpi(lpString1,lpString2:LPCSTR):Integer;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcmpiA(lpString1,lpString2:LPCSTR):Integer;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcmpiW(lpString1,lpString2:LPCWSTR):Integer;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcpy(lpString1:LPSTR; lpString2:LPCSTR):LPSTR;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcpyA(lpString1:LPSTR; lpString2:LPCSTR):LPSTR;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcpyW(lpString1:LPWSTR; lpString2:LPCWSTR):LPWSTR;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcpyn(lpString1:LPSTR; lpString2:LPCSTR; iMaxLength:Integer):LPSTR;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcpynA(lpString1:LPSTR; lpString2:LPCSTR; iMaxLength:Integer):LPSTR;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcpynW(lpString1:LPWSTR; lpString2:LPCWSTR; iMaxLength:Integer):LPWSTR;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcat(lpString1:LPSTR; lpString2:LPCSTR):LPSTR;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcatA(lpString1:LPSTR; lpString2:LPCSTR):LPSTR;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrcatW(lpString1:LPWSTR; lpString2:LPCWSTR):LPWSTR;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrlen(lpString:LPCSTR):Integer;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrlenA(lpString:LPCSTR):Integer;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! '''Note''' | ||
+ | | To be documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function lstrlenW(lpString:LPCWSTR):Integer;</pre> | ||
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> |
Revision as of 07:39, 9 September 2016
Return to Unit Reference
Description
To be documented
Constants
To be documented
Type definitions
To be documented
Public variables
To be documented
Function declarations
Initialization functions
procedure UltiboInit;
Note | To be documented |
---|
General functions (Compatibility)
function GetVersion:DWORD;
Note | To be documented |
---|
function GetVersionEx(lpVersionInformation:LPOSVERSIONINFOA):BOOL;
Note | To be documented |
---|
function GetVersionExA(lpVersionInformation:LPOSVERSIONINFOA):BOOL;
Note | To be documented |
---|
function GetVersionExW(lpVersionInformation:LPOSVERSIONINFOW):BOOL;
Note | To be documented |
---|
procedure GetSystemInfo(var lpSystemInfo:SYSTEM_INFO);
Note | To be documented |
---|
procedure GetNativeSystemInfo(lpSystemInfo:LPSYSTEM_INFO);
Note | To be documented |
---|
function GetLargePageMinimum:SIZE_T;
Note | To be documented |
---|
function GetComputerName(lpBuffer:LPSTR; var nSize:DWORD):BOOL;
Note | To be documented |
---|
function GetComputerNameA(lpBuffer:LPSTR; var nSize:DWORD):BOOL;
Note | To be documented |
---|
function GetComputerNameW(lpBuffer:LPWSTR; var nSize:DWORD):BOOL;
Note | To be documented |
---|
function SetComputerName(lpComputerName:LPCSTR):BOOL;
Note | To be documented |
---|
function SetComputerNameA(lpComputerName:LPCSTR):BOOL;
Note | To be documented |
---|
function SetComputerNameW(lpComputerName:LPCWSTR):BOOL;
Note | To be documented |
---|
function GetComputerNameEx(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPSTR; var nSize:DWORD):BOOL;
Note | To be documented |
---|
function GetComputerNameExA(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPSTR; var nSize:DWORD):BOOL;
Note | To be documented |
---|
function GetComputerNameExW(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPWSTR; var nSize:DWORD):BOOL;
Note | To be documented |
---|
function SetComputerNameEx(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPCSTR):BOOL;
Note | To be documented |
---|
function SetComputerNameExA(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPCSTR):BOOL;
Note | To be documented |
---|
function SetComputerNameExW(NameType:COMPUTER_NAME_FORMAT; lpBuffer:LPCWSTR):BOOL;
Note | To be documented |
---|
function ExitUltibo(dwReserved:DWORD; uReserved:UINT):BOOL;
Note | To be documented |
---|
function ExitUltiboEx(uFlags:UINT; dwReserved:DWORD):BOOL;
Note | To be documented |
---|
General functions (Ultibo)
function RestartComputer(Delay:LongWord):Boolean;
Delay | Milliseconds to delay before restart |
---|
function ShutdownComputer(Delay:LongWord):Boolean;
Delay | Milliseconds to delay before restart |
---|
function Uptime:TFileTime;
Note | To be documented |
---|
Time functions (Compatibility)
function GetTickCount:DWORD;
Note | To be documented |
---|
function GetTickCount64:ULONGLONG;
Note | To be documented |
---|
procedure GetSystemTime(var lpSystemTime:SYSTEMTIME);
Note | To be documented |
---|
procedure GetSystemTimeAsFileTime(var lpSystemTimeAsFileTime:FILETIME);
Note | To be documented |
---|
function SetSystemTime(var lpSystemTime:SYSTEMTIME):BOOL;
Note | To be documented |
---|
procedure GetLocalTime(var lpSystemTime:SYSTEMTIME);
Note | To be documented |
---|
function SetLocalTime(var lpSystemTime:SYSTEMTIME):BOOL;
Note | To be documented |
---|
function SystemTimeToTzSpecificLocalTime(lpTimeZoneInformation:LPTIME_ZONE_INFORMATION; var lpUniversalTime,lpLocalTime:SYSTEMTIME):BOOL;
Note | To be documented |
---|
function TzSpecificLocalTimeToSystemTime(const lpTimeZoneInformation:TIME_ZONE_INFORMATION; const lpLocalTime:SYSTEMTIME; var lpUniversalTime:SYSTEMTIME):BOOL;
Note | To be documented |
---|
function GetTimeZoneInformation(var lpTimeZoneInformation:TIME_ZONE_INFORMATION):DWORD;
Note | To be documented |
---|
function SetTimeZoneInformation(const lpTimeZoneInformation:TIME_ZONE_INFORMATION):BOOL;
Note | To be documented |
---|
function SystemTimeToFileTime(const lpSystemTime:SYSTEMTIME; var lpFileTime:FILETIME):BOOL;
Note | lpSystemTime is assumed to be UTC / lpFileTime is returned as UTC |
---|
function FileTimeToSystemTime(const lpFileTime:FILETIME; var lpSystemTime:SYSTEMTIME):BOOL;
Note | lpFileTime is assumed to be UTC / lpSystemTime is returned as UTC. If lpFileTime is less than 30/12/1899 then SystemTime will be zero. |
---|
function FileTimeToLocalFileTime(const lpFileTime:FILETIME; var lpLocalFileTime:FILETIME):BOOL;
Note | TIMEZONE_TIME_OFFSET is the number of minutes offset from UTC |
---|
function LocalFileTimeToFileTime(const lpLocalFileTime:FILETIME; var lpFileTime:FILETIME):BOOL;
Note | TIMEZONE_TIME_OFFSET is the number of minutes offset from UTC |
---|
function CompareFileTime(const lpFileTime1,lpFileTime2:FILETIME):LONG;
Note | To be documented |
---|
function FileTimeToDosDateTime(const lpFileTime:FILETIME; var lpFatDate,lpFatTime:WORD):BOOL;
Note | FileTime is assumed to be Local / DOS data and time is returned as Local. If FileTime is less than 1/1/1980 then DOS date and time will be zero. |
---|
function DosDateTimeToFileTime(wFatDate,wFatTime:WORD; var lpFileTime:FILETIME):BOOL;
Note | DOS date and time is assumed to be Local / FileTime is returned as Local. If DOS date and time is less than 1/1/1980 then FileTime will be zero. |
---|
Time functions (Ultibo)
function GetCurrentTime:TFileTime;
Note | To be documented |
---|
procedure SetCurrentTime(const ATime:TFileTime);
Note | To be documented |
---|
function GetTimeAdjust:LongInt;
Note | To be documented |
---|
procedure SetTimeAdjust(AAdjust:LongInt);
Note | To be documented |
---|
function GetCurrentTimezone:String;
Note | To be documented |
---|
function SetCurrentTimezone(const AName:String):Boolean;
Note | To be documented |
---|
function GetTimezoneActiveOffset:LongInt;
Note | To be documented |
---|
function GetTimezoneStandardOffset:LongInt;
Note | To be documented |
---|
procedure SetTimezoneStandardOffset(AOffset:LongInt);
Note | To be documented |
---|
function GetTimezoneDaylightOffset:LongInt;
Note | To be documented |
---|
procedure SetTimezoneDaylightOffset(AOffset:LongInt);
Note | To be documented |
---|
function GetTimezoneStandardStart:String;
Note | To be documented |
---|
function GetTimezoneDaylightStart:String;
Note | To be documented |
---|
function GetTimezoneStandardDate:TDateTime;
Note | To be documented |
---|
function GetTimezoneDaylightDate:TDateTime;
Note | To be documented |
---|
function FileTimeToDateTime(const AFileTime:TFileTime):TDateTime;
Note | FileTime is assumed to be UTC / DateTime is returned as Local. If FileTime is less than 30/12/1899 then Result will be zero. |
---|
function DateTimeToFileTime(ADateTime:TDateTime):TFileTime;
Note | DateTime is assumed to be Local / FileTime is returned as UTC |
---|
function LocalFileTimeToDateTime(const AFileTime:TFileTime):TDateTime;
Note | FileTime is assumed to be Local / DateTime is returned as Local. If FileTime is less than 30/12/1899 then Result will be zero. |
---|
function DateTimeToLocalFileTime(ADateTime:TDateTime):TFileTime;
Note | DateTime is assumed to be Local / FileTime is returned as Local |
---|
function SystemFileTimeToDateTime(const AFileTime:TFileTime):TDateTime;
Note | FileTime is assumed to be UTC / DateTime is returned as UTC. If FileTime is less than 30/12/1899 then Result will be zero. Same as LocalFileTimeToDateTime but renamed for clarity. |
---|
function DateTimeToSystemFileTime(ADateTime:TDateTime):TFileTime;
Note | DateTime is assumed to be UTC / FileTime is returned as UTC. Same as DateTimeToLocalFileTime but renamed for clarity. |
---|
function FileTimeToUnixTime(const AFileTime:TFileTime):LongInt;
Note | FileTime is assumed to be Local / UnixTime is returned as Local. If FileTime is less than 1/1/1970 then Result will be zero. |
---|
function UnixTimeToFileTime(AUnixTime:LongInt):TFileTime;
Note | UnixTime is assumed to be Local / FileTime is returned as Local |
---|
function UnixTimeToDateTime(AUnixTime:LongInt):TDateTime;
Note | UnixTime is assumed to be Local / DateTime is returned as Local |
---|
function DateTimeToUnixTime(ADateTime:TDateTime):LongInt;
Note | DateTime is assumed to be Local / UnixTime is returned as Local. If DateTime is less than 1/1/1970 then Result will be zero. |
---|
function FileTimeToFileDate(const AFileTime:TFileTime):Integer;
Note | FileTime is assumed to be UTC / FileDate is returned as Local. If FileTime is less than 1/1/1980 then Result will be zero. |
---|
function FileDateToFileTime(AFileDate:Integer):TFileTime;
Note | FileDate is assumed to be Local / FileTime is returned as UTC. If FileDate is less than 1/1/1980 then Result will be zero. |
---|
function FileTimeToAdjustedTime(const AFileTime:TFileTime):TFileTime;
Note | TIMEZONE_TIME_ADJUST is the number of minutes difference from TIMEZONE_TIME_OFFSET |
---|
function AdjustedTimeToFileTime(const AFileTime:TFileTime):TFileTime;
Note | TIMEZONE_TIME_ADJUST is the number of minutes difference from TIMEZONE_TIME_OFFSET |
---|
function RoundFileTime(const AFileTime:TFileTime):TFileTime;
Note | To be documented |
---|
function ConvertFileTime(const AFileTime:TFileTime; AOffset:Integer; ALocal:Boolean):TFileTime;
Note | Offset is the number of minutes to adjust in conversion. Local indicates whether the source time is Local or UTC. |
---|
function ConvertDateTime(ADateTime:TDateTime; AOffset:Integer; ALocal:Boolean):TDateTime;
Note | Offset is the number of minutes to adjust in conversion. Local indicates whether the source time is Local or UTC. |
---|
Drive functions (Compatibility)
function GetDiskType(lpRootPathName:LPCSTR):UINT;
Note | To be documented |
---|
function GetDriveTypeA(lpRootPathName:LPCSTR):UINT;
Note | To be documented |
---|
function GetDriveTypeW(lpRootPathName:LPCWSTR):UINT;
Note | To be documented |
---|
function GetLogicalDrives:DWORD;
Note | To be documented |
---|
function GetLogicalDriveStrings(nBufferLength:DWORD; lpBuffer:LPSTR):DWORD;
Note | To be documented |
---|
function GetLogicalDriveStringsA(nBufferLength:DWORD; lpBuffer:LPSTR):DWORD;
Note | To be documented |
---|
function GetLogicalDriveStringsW(nBufferLength:DWORD; lpBuffer:LPWSTR):DWORD;
Note | To be documented |
---|
function DefineDosDevice(dwFlags:DWORD; lpDeviceName,lpTargetPath:LPCSTR):BOOL;
Note | To be documented |
---|
function DefineDosDeviceA(dwFlags:DWORD; lpDeviceName,lpTargetPath:LPCSTR):BOOL;
Note | To be documented |
---|
function DefineDosDeviceW(dwFlags:DWORD; lpDeviceName,lpTargetPath:LPCWSTR):BOOL;
Note | To be documented |
---|
function QueryDosDevice(lpDeviceName,lpTargetPath:LPSTR; ucchMax:DWORD):DWORD;
Note | To be documented |
---|
function QueryDosDeviceA(lpDeviceName,lpTargetPath:LPSTR; ucchMax:DWORD):DWORD;
Note | To be documented |
---|
function QueryDosDeviceW(lpDeviceName,lpTargetPath:LPWSTR; ucchMax:DWORD):DWORD;
Note | To be documented |
---|
function SetVolumeLabel(lpRootPathName,lpVolumeName:LPCSTR):BOOL;
Note | To be documented |
---|
function SetVolumeLabelA(lpRootPathName,lpVolumeName:LPCSTR):BOOL;
Note | To be documented |
---|
function SetVolumeLabelW(lpRootPathName,lpVolumeName:LPCWSTR):BOOL;
Note | To be documented |
---|
function GetVolumeInformation(lpRootPathName:LPCSTR; lpVolumeNameBuffer:LPSTR; nVolumeNameSize:DWORD; lpVolumeSerialNumber:LPDWORD; var lpMaximumComponentLength,lpFileSystemFlags:DWORD; lpFileSystemNameBuffer:LPSTR; nFileSystemNameSize:DWORD):BOOL;
Note | To be documented |
---|
function GetVolumeInformationA(lpRootPathName:LPCSTR; lpVolumeNameBuffer:LPSTR; nVolumeNameSize:DWORD; lpVolumeSerialNumber:LPDWORD; var lpMaximumComponentLength,lpFileSystemFlags:DWORD;lpFileSystemNameBuffer:LPSTR; nFileSystemNameSize:DWORD):BOOL;
Note | To be documented |
---|
function GetVolumeInformationW(lpRootPathName:LPCWSTR; lpVolumeNameBuffer:LPWSTR; nVolumeNameSize:DWORD; lpVolumeSerialNumber:LPDWORD; var lpMaximumComponentLength,lpFileSystemFlags:DWORD;lpFileSystemNameBuffer:LPWSTR; nFileSystemNameSize:DWORD):BOOL;
Note | To be documented |
---|
function GetDiskFreeSpace(lpRootPathName:LPCSTR; var lpSectorsPerCluster,lpBytesPerSector,lpNumberOfFreeClusters,lpTotalNumberOfClusters:DWORD):BOOL;
Note | To be documented |
---|
function GetDiskFreeSpaceA(lpRootPathName:LPCSTR; var lpSectorsPerCluster,lpBytesPerSector,lpNumberOfFreeClusters,lpTotalNumberOfClusters:DWORD):BOOL;
Note | To be documented |
---|
function GetDiskFreeSpaceW(lpRootPathName:LPCWSTR; var lpSectorsPerCluster,lpBytesPerSector,lpNumberOfFreeClusters,lpTotalNumberOfClusters:DWORD):BOOL;
Note | To be documented |
---|
function GetDiskFreeSpaceEx(lpDirectoryName:LPCSTR; var lpFreeBytesAvailableToCaller,lpTotalNumberOfBytes:ULARGE_INTEGER; lpTotalNumberOfFreeBytes:PULARGE_INTEGER):BOOL;
Note | To be documented |
---|
Drive functions (Ultibo)
function GetPathDrive(const APath:String):Byte;
Note | To be documented |
---|
function GetDriveType(ADrive:Byte):TDriveType;
Note | To be documented |
---|
function GetDriveData(ADrive:Byte):TDriveData;
Note | To be documented |
---|
function GetDriveAttr(ADrive:Byte):LongWord;
Note | To be documented |
---|
function GetDriveLabel(ADrive:Byte):String;
Note | To be documented |
---|
function SetDriveLabel(ADrive:Byte; const ALabel:String):Boolean;
Note | To be documented |
---|
function GetDriveSerial(ADrive:Byte):LongWord;
Note | To be documented |
---|
function SetDriveSerial(ADrive:Byte; ASerial:LongWord):Boolean;
Note | To be documented |
---|
function IsDriveValid(ADrive:Byte):Boolean;
Note | To be documented |
---|
function GetValidDrives:LongWord;
Note | To be documented |
---|
function GetValidDriveNames:String;
Note | To be documented |
---|
function GetDriveFreeSpace(ADrive:Byte):LongWord;
Note | To be documented |
---|
function GetDriveFreeSpaceEx(ADrive:Byte):Int64;
Note | To be documented |
---|
function GetDriveTotalSpace(ADrive:Byte):LongWord;
Note | To be documented |
---|
function GetDriveTotalSpaceEx(ADrive:Byte):Int64;
Note | To be documented |
---|
function GetCurrentDrive:Byte;
Note | To be documented |
---|
function SetCurrentDrive(const ADrive:String):Boolean;
Note | To be documented |
---|
File functions (Compatibility)
function AreFileApisANSI:BOOL;
Note | To be documented |
---|
procedure SetFileApisToOEM;
Note | To be documented |
---|
procedure SetFileApisToANSI;
Note | To be documented |
---|
function CreateFile(lpFileName:LPCSTR; dwDesiredAccess,dwShareMode:DWORD; lpSecurityAttributes:LPSECURITY_ATTRIBUTES; dwCreationDisposition:DWORD; dwFlagsAndAttributes:DWORD; hTemplateFile:HANDLE):HANDLE;
Note | To be documented |
---|
function CreateFileA(lpFileName:LPCSTR; dwDesiredAccess,dwShareMode:DWORD; lpSecurityAttributes:LPSECURITY_ATTRIBUTES; dwCreationDisposition:DWORD; dwFlagsAndAttributes:DWORD; hTemplateFile:HANDLE):HANDLE;
Note | lpSecurityAttributes and hTemplateFile are currently ignored by Ultibo |
---|
function CreateFileW(lpFileName:LPCWSTR; dwDesiredAccess,dwShareMode:DWORD; lpSecurityAttributes:LPSECURITY_ATTRIBUTES; dwCreationDisposition:DWORD; dwFlagsAndAttributes:DWORD; hTemplateFile:HANDLE):HANDLE;
Note | lpSecurityAttributes and hTemplateFile are currently ignored by Ultibo |
---|
function SetFileAttributes(lpFileName:LPCSTR; dwFileAttributes:DWORD):BOOL;
Note | To be documented |
---|
function SetFileAttributesA(lpFileName:LPCSTR; dwFileAttributes:DWORD):BOOL;
Note | To be documented |
---|
function SetFileAttributesW(lpFileName:LPCWSTR; dwFileAttributes:DWORD):BOOL;
Note | To be documented |
---|
function GetFileAttributes(lpFileName:LPCSTR):DWORD;
Note | To be documented |
---|
function GetFileAttributesA(lpFileName:LPCSTR):DWORD;
Note | To be documented |
---|
function GetFileAttributesW(lpFileName:LPCWSTR):DWORD;
Note | To be documented |
---|
function DeleteFile(lpFileName:LPCSTR):BOOL;
Note | To be documented |
---|
function DeleteFileA(lpFileName:LPCSTR):BOOL;
Note | To be documented |
---|
function DeleteFileW(lpFileName:LPCWSTR):BOOL;
Note | To be documented |
---|
function MoveFile(lpExistingFileName,lpNewFileName:LPCSTR):BOOL;
Note | To be documented |
---|
function MoveFileA(lpExistingFileName,lpNewFileName:LPCSTR):BOOL;
Note | To be documented |
---|
function MoveFileW(lpExistingFileName,lpNewFileName:LPCWSTR):BOOL;
Note | To be documented |
---|
function FindFirstFile(lpFileName:LPCSTR; var lpFindFileData:WIN32_FIND_DATAA):HANDLE;
Note | To be documented |
---|
function FindFirstFileA(lpFileName:LPCSTR; var lpFindFileData:WIN32_FIND_DATAA):HANDLE;
Note | To be documented |
---|
function FindFirstFileW(lpFileName:LPCWSTR; var lpFindFileData:WIN32_FIND_DATAW):HANDLE;
Note | To be documented |
---|
function FindNextFile(hFindFile:HANDLE; var lpFindFileData:WIN32_FIND_DATAA):BOOL;
Note | To be documented |
---|
function FindNextFileA(hFindFile:HANDLE; var lpFindFileData:WIN32_FIND_DATAA):BOOL;
Note | To be documented |
---|
function FindNextFileW(hFindFile:HANDLE; var lpFindFileData:WIN32_FIND_DATAW):BOOL;
Note | To be documented |
---|
function FindCloseFile(hFindFile:HANDLE):BOOL;
Note | To be documented |
---|
function GetFileSize(hFile:HANDLE;lpFileSizeHigh:LPDWORD):DWORD;
Note | To be documented |
---|
function GetFileSizeEx(hFile:HANDLE; var lpFileSize:LARGE_INTEGER):BOOL;
Note | To be documented |
---|
function GetFileTime(hFile:HANDLE; lpCreationTime,lpLastAccessTime,lpLastWriteTime:PFILETIME):BOOL;
Note | To be documented |
---|
function SetFileTime(hFile:HANDLE; lpCreationTime,lpLastAccessTime,lpLastWriteTime:PFILETIME):BOOL;
Note | To be documented |
---|
function ReadFile(hFile:HANDLE; lpBuffer:LPVOID; nNumberOfBytesToRead:DWORD; lpNumberOfBytesRead:LPDWORD; lpOverlapped:LPOVERLAPPED):BOOL;
Note | To be documented |
---|
function WriteFile(hFile:HANDLE; lpBuffer:LPCVOID; nNumberOfBytesToWrite:DWORD; lpNumberOfBytesWritten:LPDWORD; lpOverlapped:LPOVERLAPPED):BOOL;
Note | To be documented |
---|
function SetEndOfFile(hFile:HANDLE):BOOL;
Note | To be documented |
---|
function SetFilePointer(hFile:HANDLE; lDistanceToMove:LONG; lpDistanceToMoveHigh:PLONG; dwMoveMethod:DWORD):DWORD;
Note | To be documented |
---|
function SetFilePointerEx(hFile:HANDLE; liDistanceToMove:LARGE_INTEGER; lpNewFilePointer:PLARGE_INTEGER; dwMoveMethod:DWORD):BOOL;
Note | To be documented |
---|
function FlushFileBuffers(hFile:HANDLE):BOOL;
Note | To be documented |
---|
function CopyFile(lpExistingFileName,lpNewFileName:LPCSTR; bFailIfExists:BOOL):BOOL;
Note | To be documented |
---|
function CopyFileA(lpExistingFileName,lpNewFileName:LPCSTR; bFailIfExists:BOOL):BOOL;
Note | To be documented |
---|
function CopyFileW(lpExistingFileName,lpNewFileName:LPCWSTR; bFailIfExists:BOOL):BOOL;
Note | To be documented |
---|
function SetFileShortName(hFile:HANDLE; lpShortName:LPCSTR):BOOL;
Note | To be documented |
---|
function SetFileShortNameA(hFile:HANDLE; lpShortName:LPCSTR):BOOL;
Note | To be documented |
---|
function SetFileShortNameW(hFile:HANDLE; lpShortName:LPCWSTR):BOOL;
Note | To be documented |
---|
function CreateHardLink(lpFileName,lpExistingFileName:LPCSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
Note | To be documented |
---|
function CreateHardLinkA(lpFileName,lpExistingFileName:LPCSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
Note | lpSecurityAttributes is currently ignored by Ultibo |
---|
function CreateHardLinkW(lpFileName,lpExistingFileName:LPCWSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
Note | lpSecurityAttributes is currently ignored by Ultibo |
---|
function CreateSymbolicLink(lpSymlinkFileName,lpTargetFileName:LPCSTR; dwFlags:DWORD):BOOL;
Note | To be documented |
---|
function CreateSymbolicLinkA(lpSymlinkFileName,lpTargetFileName:LPCSTR; dwFlags:DWORD):BOOL;
Note | To be documented |
---|
function CreateSymbolicLinkW(lpSymlinkFileName,lpTargetFileName:LPCWSTR; dwFlags:DWORD):BOOL;
Note | To be documented |
---|
Directory functions (Compatibility)
function CreateDirectory(lpPathName:LPCSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
Note | To be documented |
---|
function CreateDirectoryA(lpPathName:LPCSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
Note | lpSecurityAttributes is currently ignored by Ultibo |
---|
function CreateDirectoryW(lpPathName:LPCWSTR; lpSecurityAttributes:LPSECURITY_ATTRIBUTES):BOOL;
Note | lpSecurityAttributes is currently ignored by Ultibo |
---|
function RemoveDirectory(lpPathName:LPCSTR):BOOL;
Note | To be documented |
---|
function RemoveDirectoryA(lpPathName:LPCSTR):BOOL;
Note | To be documented |
---|
function RemoveDirectoryW(lpPathName:LPCWSTR):BOOL;
Note | To be documented |
---|
function SetCurrentDirectory(lpPathName:LPCSTR):BOOL;
Note | To be documented |
---|
function SetCurrentDirectoryA(lpPathName:LPCSTR):BOOL;
Note | To be documented |
---|
function SetCurrentDirectoryW(lpPathName:LPCWSTR):BOOL;
Note | To be documented |
---|
function GetCurrentDirectory(nBufferLength:DWORD; lpBuffer:LPSTR):DWORD;
Note | To be documented |
---|
function GetCurrentDirectoryA(nBufferLength:DWORD; lpBuffer:LPSTR):DWORD;
Note | To be documented |
---|
function GetCurrentDirectoryW(nBufferLength:DWORD; lpBuffer:LPWSTR):DWORD;
Note | To be documented |
---|
function GetLongPathName(lpszShortPath:LPCSTR; lpszLongPath:LPSTR; cchBuffer:DWORD):DWORD;
Note | To be documented |
---|
function GetLongPathNameA(lpszShortPath:LPCSTR; lpszLongPath:LPSTR; cchBuffer:DWORD):DWORD;
Note | To be documented |
---|
function GetLongPathNameW(lpszShortPath:LPCWSTR; lpszLongPath:LPWSTR; cchBuffer:DWORD):DWORD;
Note | To be documented |
---|
function GetShortPathName(lpszLongPath:LPCSTR; lpszShortPath:LPSTR; cchBuffer:DWORD):DWORD;
Note | To be documented |
---|
function GetShortPathNameA(lpszLongPath:LPCSTR; lpszShortPath:LPSTR; cchBuffer:DWORD):DWORD;
Note | To be documented |
---|
function GetShortPathNameW(lpszLongPath:LPCWSTR; lpszShortPath:LPWSTR; cchBuffer:DWORD):DWORD;
Note | To be documented |
---|
function GetFullPathName(lpFileName:LPCSTR; nBufferLength:DWORD; lpBuffer:LPSTR; var lpFilePart:LPSTR):DWORD;
Note | To be documented |
---|
function GetFullPathNameA(lpFileName:LPCSTR; nBufferLength:DWORD; lpBuffer:LPSTR; var lpFilePart:LPSTR):DWORD;
Note | lpFilePart is currently ignored by Ultibo |
---|
function GetFullPathNameW(lpFileName:LPCWSTR; nBufferLength:DWORD; lpBuffer:LPWSTR; var lpFilePart:LPWSTR):DWORD;
Note | lpFilePart is currently ignored by Ultibo |
---|
Command line functions (RTL)
function SysParamCount:LongInt;
Note | This should be in System however the implementation there will need to be modified |
---|
function SysParamStr(Index:LongInt):String;
Note | This should be in System however the implementation there will need to be modified |
---|
Command line functions (Compatibility)
function GetCommandLine:LPSTR;
Note | To be documented |
---|
function GetCommandLineA:LPSTR;
Note | The returned string must be freed with SysUtils.StrDispose |
---|
function GetCommandLineW:LPWSTR;
Note | The returned string must be freed with SysUtils.StrDispose |
---|
Command line functions (Ultibo)
function IsParamPresent(const AParam:String):Boolean;
Note | To be documented |
---|
function GetParamIndex(const AParam:String):Integer;
Note | To be documented |
---|
function GetParamValue(const AParam:String):String;
Note | To be documented |
---|
Environment functions (Compatibility)
function GetEnvironmentStrings:LPSTR;
Note | To be documented |
---|
function GetEnvironmentStringsA:LPSTR;
Note | To be documented |
---|
function GetEnvironmentStringsW:LPWSTR;
Note | To be documented |
---|
function FreeEnvironmentStrings(pstr:LPSTR):BOOL;
Note | To be documented |
---|
function FreeEnvironmentStringsA(pstr:LPSTR):BOOL;
Note | To be documented |
---|
function FreeEnvironmentStringsW(pstr:LPWSTR):BOOL;
Note | To be documented |
---|
function GetEnvironmentVariable(lpName:LPCSTR; lpBuffer:LPSTR; nSize:DWORD):DWORD;
Note | To be documented |
---|
function GetEnvironmentVariableA(lpName:LPCSTR; lpBuffer:LPSTR; nSize:DWORD):DWORD;
Note | To be documented |
---|
function GetEnvironmentVariableW(lpName:LPCWSTR; lpBuffer:LPWSTR; nSize:DWORD):DWORD;
Note | To be documented |
---|
function SetEnvironmentVariable(lpName,lpValue:LPCSTR):BOOL;
Note | To be documented |
---|
function SetEnvironmentVariableA(lpName,lpValue:LPCSTR):BOOL;
Note | To be documented |
---|
function SetEnvironmentVariableW(lpName,lpValue:LPCWSTR):BOOL;
Note | To be documented |
---|
function ExpandEnvironmentStrings(lpSrc:LPCSTR; lpDst:LPSTR; nSize:DWORD):DWORD;
Note | To be documented |
---|
function ExpandEnvironmentStringsA(lpSrc:LPCSTR; lpDst:LPSTR; nSize:DWORD):DWORD;
Note | To be documented |
---|
function ExpandEnvironmentStringsW(lpSrc:LPCWSTR; lpDst:LPWSTR; nSize:DWORD):DWORD;
Note | To be documented |
---|
Error functions (Compatibility)
function GetLastError:DWORD;
Note | To be documented |
---|
procedure SetLastError(dwErrCode:DWORD);
Note | To be documented |
---|
GUID functions (Ultibo)
function CreateGUID:TGUID;
Note | To be documented |
---|
function GUIDToString(const Value:TGUID):String;
Note | To be documented |
---|
function StringToGUID(const Value:String):TGUID;
Note | To be documented |
---|
function HexChar(Value:Char):Byte;
Note | To be documented |
---|
function HexByte(Value:PChar):Byte;
Note | To be documented |
---|
function NullGUID(const GUID:TGUID):Boolean;
Note | To be documented |
---|
function CompareGUID(const GUID1,GUID2:TGUID):Boolean;
Note | To be documented |
---|
SID functions (Ultibo)
function SIDToString(ASID:PSID):String;
Note | To be documented |
---|
function StringToSID(const Value:String):PSID;
Note | To be documented |
---|
Numeric functions (Ultibo)
function Min(A,B:Integer):Integer; inline;
Note | To be documented |
---|
function Max(A,B:Integer):Integer; inline;
Note | To be documented |
---|
function MinEx(A,B:LongWord):LongWord; inline;
Note | To be documented |
---|
function MaxEx(A,B:LongWord):LongWord; inline;
Note | To be documented |
---|
function Min64(const A,B:Int64):Int64; inline;
Note | To be documented |
---|
function Max64(const A,B:Int64):Int64; inline;
Note | To be documented |
---|
function Or64(const Value1,Value2:Int64):Int64; inline;
Note | To be documented |
---|
function And64(const Value1,Value2:Int64):Int64; inline;
Note | To be documented |
---|
function Xor64(const Value1,Value2:Int64):Int64; inline;
Note | To be documented |
---|
function Not64(const Value:Int64):Int64; inline;
Note | To be documented |
---|
function Rol32(Value:LongWord; Count:Byte):LongWord; inline;
Note | To be documented |
---|
function Ror32(Value:LongWord; Count:Byte):LongWord; inline;
Note | To be documented |
---|
function WordSwap(AValue:Word):Word; inline;
Note | To be documented |
---|
function LongSwap(AValue:LongWord):LongWord; inline;
Note | To be documented |
---|
function Int64Swap(const AValue:Int64):Int64; inline;
Note | To be documented |
---|
function BufferSwap(ABuffer:Pointer; ASize:LongWord):Boolean;
Note | Size is the number of Bytes in the buffer to swap |
---|
Hash functions (Ultibo)
function GenerateNameHash(const Name:String; Size:Integer):LongWord;
Note | Case Insensitive Hash |
---|
function GeneratePasswordHash(const Password:String):LongWord;
Note | Case Sensitive Hash |
---|
Locale functions (Compatibility)
function IsValidLocale(LocaleID:LCID; dwFlags:DWORD):BOOL; inline;
Note | To be documented |
---|
function GetSystemDefaultLCID:LCID; inline;
Note | To be documented |
---|
function GetUserDefaultLCID:LCID; inline;
Note | To be documented |
---|
function GetThreadLocale:LCID;
Note | To be documented |
---|
function SetThreadLocale(LocaleID:LCID):BOOL;
Note | To be documented |
---|
Locale functions (Ultibo)
function SetSystemDefaultLCID(LocaleID:LCID):BOOL; inline;
Note | To be documented |
---|
function WideCharToString(ABuffer:PWideChar):String;
Note | The WideStringManager installed by the Unicode unit should make the System version equivalent |
---|
function WideCharLenToString(ABuffer:PWideChar; ALength:Integer):String;
Note | Length is the size of the Buffer in WideChars (not Bytes). The WideStringManager installed by the Unicode unit should make the System version equivalent. |
---|
function StringToWideChar(const AString:String; ABuffer:PWideChar; ASize:Integer):Boolean;
Note | Size is the size of the Buffer in Bytes (not WideChars). The WideStringManager installed by the Unicode unit should make the System version equivalent. |
---|
Code page functions (Compatibility)
function IsValidCodePage(CodePage:UINT):BOOL; inline;
Note | To be documented |
---|
function GetACP:UINT; inline;
Note | To be documented |
---|
function GetOEMCP:UINT; inline;
Note | To be documented |
---|
function GetConsoleCP:UINT; inline;
Note | To be documented |
---|
function SetConsoleCP(wCodePageID:UINT):BOOL; inline;
Note | To be documented |
---|
function GetConsoleOutputCP:UINT; inline;
Note | To be documented |
---|
function SetConsoleOutputCP(wCodePageID:UINT):BOOL; inline;
Note | To be documented |
---|
function GetCPInfo(CodePage:UINT; var lpCPInfo:TCPInfo):BOOL; inline;
Note | To be documented |
---|
function GetCPInfoEx(CodePage:UINT; dwFlags:DWORD; var lpCPInfoEx:CPINFOEXA):BOOL; inline;
Note | To be documented |
---|
function GetCPInfoExA(CodePage:UINT; dwFlags:DWORD; var lpCPInfoEx:CPINFOEXA):BOOL; inline;
Note | To be documented |
---|
function GetCPInfoExW(CodePage:UINT; dwFlags:DWORD; var lpCPInfoEx:CPINFOEXW):BOOL; inline;
Note | To be documented |
---|
Code page functions (Ultibo)
function SetACP(CodePage:UINT):BOOL; inline;
Note | To be documented |
---|
function SetOEMCP(CodePage:UINT):BOOL; inline;
Note | To be documented |
---|
Translation functions (Compatibility)
function MultiByteToWideChar(CodePage:UINT; dwFlags:DWORD; lpMultiByteStr:LPCSTR; cbMultiByte:Integer; lpWideCharStr:LPWSTR; cchWideChar:Integer):Integer; inline;
Note | To be documented |
---|
function WideCharToMultiByte(CodePage:UINT; dwFlags:DWORD; lpWideCharStr:LPCWSTR; cchWideChar:Integer; lpMultiByteStr:LPSTR; cbMultiByte:Integer; lpDefaultChar:LPCSTR; lpUsedDefaultChar:LPBOOL):Integer; inline;
Note | To be documented |
---|
function CompareString(Locale:LCID; dwCmpFlags:DWORD; lpString1:LPCSTR; cchCount1:Integer; lpString2:LPCSTR; cchCount2:Integer):Integer; inline;
Note | To be documented |
---|
function CompareStringA(Locale:LCID; dwCmpFlags:DWORD; lpString1:LPCSTR; cchCount1:Integer; lpString2:LPCSTR; cchCount2:Integer):Integer; inline;
Note | To be documented |
---|
function CompareStringW(Locale:LCID; dwCmpFlags:DWORD; lpString1:LPCWSTR; cchCount1:Integer; lpString2:LPCWSTR; cchCount2:Integer):Integer; inline;
Note | To be documented |
---|
function CharUpper(lpsz:LPSTR):LPSTR; inline;
Note | To be documented |
---|
function CharUpperA(lpsz:LPSTR):LPSTR; inline;
Note | To be documented |
---|
function CharUpperW(lpsz:LPWSTR):LPWSTR; inline;
Note | To be documented |
---|
function CharUpperBuff(lpsz:LPSTR; cchLength:DWORD):DWORD; inline;
Note | To be documented |
---|
function CharUpperBuffA(lpsz:LPSTR; cchLength:DWORD):DWORD; inline;
Note | To be documented |
---|
function CharUpperBuffW(lpsz:LPWSTR; cchLength:DWORD):DWORD; inline;
Note | To be documented |
---|
function CharLower(lpsz:LPSTR):LPSTR; inline;
Note | To be documented |
---|
function CharLowerA(lpsz:LPSTR):LPSTR; inline;
Note | To be documented |
---|
function CharLowerW(lpsz:LPWSTR):LPWSTR; inline;
Note | To be documented |
---|
function CharLowerBuff(lpsz:LPSTR; cchLength:DWORD):DWORD; inline;
Note | To be documented |
---|
function CharLowerBuffA(lpsz:LPSTR; cchLength:DWORD):DWORD; inline;
Note | To be documented |
---|
function CharLowerBuffW(lpsz:LPWSTR; cchLength:DWORD):DWORD; inline;
Note | To be documented |
---|
function AnsiToOem(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
Note | To be documented |
---|
function AnsiToOemBuff(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Note | To be documented |
---|
function OemToAnsi(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
Note | To be documented |
---|
function OemToAnsiBuff(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Note | To be documented |
---|
function CharToOem(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
Note | To be documented |
---|
function CharToOemA(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
Note | To be documented |
---|
function CharToOemW(lpszSrc:LPCWSTR; lpszDst:LPSTR):BOOL; inline;
Note | To be documented |
---|
function OemToChar(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
Note | To be documented |
---|
function OemToCharA(lpszSrc:LPCSTR; lpszDst:LPSTR):BOOL; inline;
Note | To be documented |
---|
function OemToCharW(lpszSrc:LPCSTR; lpszDst:LPWSTR):BOOL; inline;
Note | To be documented |
---|
function CharToOemBuff(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Note | To be documented |
---|
function CharToOemBuffA(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Note | To be documented |
---|
function CharToOemBuffW(lpszSrc:LPCWSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Note | To be documented |
---|
function OemToCharBuff(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Note | To be documented |
---|
function OemToCharBuffA(lpszSrc:LPCSTR; lpszDst:LPSTR; cchDstLength:DWORD):BOOL; inline;
Note | To be documented |
---|
function OemToCharBuffW(lpszSrc:LPCSTR; lpszDst:LPWSTR; cchDstLength:DWORD):BOOL; inline;
Note | To be documented |
---|
Handle functions (Compatibility)
function CloseHandle(hObject:HANDLE):BOOL;
Note | To be documented |
---|
function DuplicateHandle(hSourceProcessHandle:HANDLE; hSourceHandle:HANDLE; hTargetProcessHandle:HANDLE; lpTargetHandle:LPHANDLE; dwDesiredAccess:DWORD; bInheritHandle:BOOL; dwOptions:DWORD):BOOL;
Note | To be documented |
---|
function GetHandleInformation(hObject:HANDLE; var lpdwFlags:DWORD):BOOL;
Note | To be documented |
---|
function SetHandleInformation(hObject:HANDLE; dwMask:DWORD; dwFlags:DWORD):BOOL;
Note | To be documented |
---|
Memory functions (Compatibility)
procedure MoveMemory(Destination,Source:PVOID; Length:SIZE_T); inline;
Note | To be documented |
---|
procedure CopyMemory(Destination,Source:PVOID; Length:SIZE_T); inline;
Note | To be documented |
---|
procedure FillMemory(Destination:PVOID; Length:SIZE_T;Fill:BYTE); inline;
Note | To be documented |
---|
procedure ZeroMemory(Destination:PVOID; Length:SIZE_T); inline;
Note | To be documented |
---|
function GlobalAlloc(uFlags:UINT; dwBytes:SIZE_T):HGLOBAL;
Note | All flags except GMEM_ZEROINIT are ignored by Ultibo |
---|
function GlobalReAlloc(hMem:HGLOBAL; dwBytes:SIZE_T; uFlags:UINT):HGLOBAL;
Note | To be documented |
---|
function GlobalFree(hMem:HGLOBAL):HGLOBAL;
Note | To be documented |
---|
function GlobalSize(hMem:HGLOBAL):SIZE_T;
Note | To be documented |
---|
function GlobalFlags(hMem:HGLOBAL):UINT;
Note | To be documented |
---|
function GlobalLock(hMem:HGLOBAL):LPVOID;
Note | To be documented |
---|
function GlobalUnlock(hMem:HGLOBAL):BOOL;
Note | To be documented |
---|
function GlobalHandle(pMem:LPCVOID):HGLOBAL;
Note | To be documented |
---|
procedure GlobalMemoryStatus(var lpBuffer:MEMORYSTATUS);
Note | To be documented |
---|
function GlobalMemoryStatusEx(var lpBuffer:MEMORYSTATUSEX):BOOL;
Note | To be documented |
---|
function LocalAlloc(uFlags:UINT; uBytes:SIZE_T):HLOCAL;
Note | All flags except LMEM_ZEROINIT are ignored by Ultibo |
---|
function LocalReAlloc(hMem:HLOCAL; uBytes:SIZE_T; uFlags:UINT):HLOCAL;
Note | To be documented |
---|
function LocalFree(hMem:HLOCAL):HLOCAL;
Note | To be documented |
---|
function LocalSize(hMem:HLOCAL):SIZE_T;
Note | To be documented |
---|
function LocalFlags(hMem:HLOCAL):UINT;
Note | To be documented |
---|
function LocalLock(hMem:HLOCAL):LPVOID;
Note | To be documented |
---|
function LocalUnlock(hMem:HLOCAL):BOOL;
Note | To be documented |
---|
function LocalHandle(pMem:LPCVOID):HLOCAL;
Note | To be documented |
---|
function VirtualAlloc(lpAddress:LPVOID; dwSize:SIZE_T; flAllocationType:DWORD; flProtect:DWORD):LPVOID;
Note | The value of lpAddress on entry is currently ignored by Ultibo. The value of flProtect is currently ignored by Ultibo. As per Win32, the value of dwSize is rounded to the next page multiple. |
---|
function VirtualFree(lpAddress:LPVOID; dwSize:SIZE_T; dwFreeType:DWORD):BOOL;
Note | To be documented |
---|
function VirtualQuery(lpAddress:LPCVOID; var lpBuffer:MEMORY_BASIC_INFORMATION; dwLength:DWORD):DWORD;
Note | To be documented |
---|
function VirtualLock(lpAddress:LPVOID; dwSize:SIZE_T):BOOL;
Note | To be documented |
---|
function VirtualUnlock(lpAddress:LPVOID; dwSize:SIZE_T):BOOL;
Note | To be documented |
---|
function FlushInstructionCache(hProcess:HANDLE; lpBaseAddress:LPCVOID; dwSize:DWORD):BOOL;
Note | To be documented |
---|
function GetNumaHighestNodeNumber(var HighestNodeNumber:ULONG):BOOL;
Note | To be documented |
---|
Tls functions (Compatibility)
function TlsAlloc:DWORD;
Note | To be documented |
---|
function TlsAllocEx(bFree:BOOL):DWORD;
bFree | If true then TlsValue will be freed on TlsFree or thread terminate |
---|
function TlsGetValue(dwTlsIndex:DWORD):LPVOID;
Note | To be documented |
---|
function TlsSetValue(dwTlsIndex:DWORD; lpTlsValue:LPVOID):BOOL;
Note | To be documented |
---|
function TlsFree(dwTlsIndex:DWORD):BOOL;
Note | To be documented |
---|
Thread functions (Compatibility)
function SwitchToThread:BOOL; inline;
Note | To be documented |
---|
procedure Sleep(dwMilliseconds:DWORD); inline;
Note | To be documented |
---|
function SleepEx(dwMilliseconds:DWORD; bAlertable:BOOL):DWORD; inline;
Note | The bAlertable parameter is not currently used but is intended for I/O completion callback from ReadFileEx/WriteFileEx |
---|
function GetCurrentThread:HANDLE;
Note | To be documented |
---|
function GetCurrentThreadId:DWORD;
Note | Thread Id and Thread Handle are currently equivalent |
---|
function GetThreadPriority(hThread:HANDLE):Integer;
Note | To be documented |
---|
function SetThreadPriority(hThread:HANDLE; nPriority:Integer):BOOL;
Note | To be documented |
---|
function GetExitCodeThread(hThread:HANDLE; var lpExitCode:DWORD):BOOL;
Note | To be documented |
---|
function GetThreadAffinityMask(hThread:HANDLE):DWORD_PTR;
Note | To be documented |
---|
function SetThreadAffinityMask(hThread:HANDLE; dwThreadAffinityMask:DWORD_PTR):DWORD_PTR;
Note | To be documented |
---|
function GetThreadTimes(hThread:HANDLE; var lpCreationTime,lpExitTime,lpKernelTime,lpUserTime:FILETIME):BOOL;
Note | To be documented |
---|
function CreateThread(lpThreadAttributes:LPSECURITY_ATTRIBUTES; dwStackSize:DWORD; lpStartAddress:LPTHREAD_START_ROUTINE; lpParameter:LPVOID; dwCreationFlags:DWORD; lpThreadId:LPDWORD):HANDLE;
Note | To be documented |
---|
function OpenThread(dwDesiredAccess:DWORD; bInheritHandle:BOOL; dwThreadId:DWORD):HANDLE;
Note | To be documented |
---|
function SuspendThread(hThread:HANDLE):DWORD;
Note | To be documented |
---|
function ResumeThread(hThread:HANDLE):DWORD;
Note | To be documented |
---|
function TerminateThread(hThread:HANDLE; dwExitCode:DWORD):BOOL;
Note | To be documented |
---|
procedure ExitThread(dwExitCode:DWORD);
Note | To be documented |
---|
function WaitForSingleObject(hHandle:HANDLE; dwMilliseconds:DWORD):DWORD;
Note | To be documented |
---|
function WaitForMultipleObjects(nCount:DWORD; lpHandles:PHANDLE; bWaitAll:BOOL; dwMilliseconds:DWORD):DWORD;
Note | To be documented |
---|
function WaitForSingleObjectEx(hHandle:HANDLE; dwMilliseconds:DWORD; bAlertable:BOOL):DWORD;
Note | The bAlertable parameter is not currently used but is intended for I/O completion callback from ReadFileEx/WriteFileEx |
---|
function WaitForMultipleObjectsEx(nCount:DWORD; lpHandles:PHANDLE; bWaitAll:BOOL; dwMilliseconds:DWORD; bAlertable:BOOL):DWORD;
Note | The bAlertable parameter is not currently used but is intended for I/O completion callback from ReadFileEx/WriteFileEx |
---|
Thread functions (Ultibo)
function BeginThreadEx(ThreadFunction:TThreadFunc; Parameter:Pointer; var ThreadId:TThreadID; const StackSize:SizeUInt; Priority,Affinity,CPU:LongWord; Name:PChar):TThreadID;
Note | To be documented |
---|
Message functions (Compatibility)
function WaitMessage:BOOL;
Note | To be documented |
---|
function GetMessage(lpMsg:LPMSG; hThread:HANDLE; wMsgFilterMin,wMsgFilterMax:UINT):BOOL;
Note | To be documented |
---|
function PeekMessage(var lpMsg:MSG; hThread:HANDLE; wMsgFilterMin,wMsgFilterMax,wRemoveMsg:UINT):BOOL;
Note | To be documented |
---|
function PostMessage(hThread:HANDLE; Msg:UINT; wParam:WPARAM; lParam:LPARAM):BOOL;
Note | To be documented |
---|
function SendMessage(hThread:HANDLE; Msg:UINT; wParam:WPARAM; lParam:LPARAM):LRESULT;
Note | To be documented |
---|
function SendMessageTimeout(hThread:HANDLE; Msg:UINT; wParam:WPARAM; lParam:LPARAM; fuFlags,uTimeout:UINT; var lpdwResult:DWORD_PTR):LRESULT;
Note | To be documented |
---|
Interlocked functions (Compatibility)
function InterlockedIncrement(var lpAddend:LONG):LONG; inline;
Note | To be documented |
---|
function InterlockedDecrement(var lpAddend:LONG):LONG; inline;
Note | To be documented |
---|
function InterlockedExchange(var Target:LONG; Value:LONG):LONG; inline;
Note | To be documented |
---|
function InterlockedExchangePointer(var Target:PVOID; Value:PVOID):PVOID; inline;
Note | To be documented |
---|
function InterlockedExchangeAdd(var Addend:LONG; Value:LONG):LONG; inline;
Note | To be documented |
---|
function InterlockedCompareExchange(var Destination:LONG; Exchange:LONG; Comperand:LONG):LONG; inline;
Note | To be documented |
---|
function InterlockedCompareExchangePointer(var Destination:PVOID; Exchange,Comperand:PVOID):PVOID; inline;
Note | To be documented |
---|
Mutex functions (Compatibility)
function CreateMutex(lpMutexAttributes:LPSECURITY_ATTRIBUTES; bInitialOwner:BOOL; lpName:LPCSTR):HANDLE;
Note | To be documented |
---|
function CreateMutexA(lpMutexAttributes:LPSECURITY_ATTRIBUTES; bInitialOwner:BOOL; lpName:LPCSTR):HANDLE;
Note | To be documented |
---|
function CreateMutexW(lpMutexAttributes:LPSECURITY_ATTRIBUTES; bInitialOwner:BOOL; lpName:LPCWSTR):HANDLE;
Note | To be documented |
---|
function OpenMutex(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE;
Note | To be documented |
---|
function OpenMutexA(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE;
Note | To be documented |
---|
function OpenMutexW(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCWSTR):HANDLE;
Note | To be documented |
---|
function ReleaseMutex(hMutex:HANDLE):BOOL;
Note | To be documented |
---|
Semaphore functions (Compatibility)
function CreateSemaphore(lpSemaphoreAttributes:LPSECURITY_ATTRIBUTES; lInitialCount,lMaximumCount:LONG; lpName:LPCSTR):HANDLE;
Note | To be documented |
---|
function CreateSemaphoreA(lpSemaphoreAttributes:LPSECURITY_ATTRIBUTES; lInitialCount,lMaximumCount:LONG; lpName:LPCSTR):HANDLE;
Note | To be documented |
---|
function CreateSemaphoreW(lpSemaphoreAttributes:LPSECURITY_ATTRIBUTES; lInitialCount,lMaximumCount:LONG; lpName:LPCWSTR):HANDLE;
Note | To be documented |
---|
function OpenSemaphore(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE;
Note | To be documented |
---|
function OpenSemaphoreA(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE;
Note | To be documented |
---|
function OpenSemaphoreW(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCWSTR):HANDLE;
Note | To be documented |
---|
function ReleaseSemaphore(hSemaphore:HANDLE; lReleaseCount:LONG; lpPreviousCount:LPLONG):BOOL;
Note | To be documented |
---|
Critical section functions (Compatibility)
procedure InitializeCriticalSection(var lpCriticalSection:CRITICAL_SECTION);
Note | To be documented |
---|
procedure EnterCriticalSection(var lpCriticalSection:CRITICAL_SECTION);
Note | To be documented |
---|
procedure LeaveCriticalSection(var lpCriticalSection:CRITICAL_SECTION);
Note | To be documented |
---|
function TryEnterCriticalSection(var lpCriticalSection:CRITICAL_SECTION):BOOL;
Note | To be documented |
---|
function InitializeCriticalSectionAndSpinCount(var lpCriticalSection:CRITICAL_SECTION; dwSpinCount:DWORD):BOOL;
Note | To be documented |
---|
function SetCriticalSectionSpinCount(var lpCriticalSection:CRITICAL_SECTION; dwSpinCount:DWORD):DWORD;
Note | To be documented |
---|
procedure DeleteCriticalSection(var lpCriticalSection:CRITICAL_SECTION);
Note | To be documented |
---|
Event functions (Compatibility)
function CreateEvent(lpEventAttributes:LPSECURITY_ATTRIBUTES; bManualReset,bInitialState:BOOL; lpName:LPCSTR):HANDLE;
Note | To be documented |
---|
function CreateEventA(lpEventAttributes:LPSECURITY_ATTRIBUTES; bManualReset,bInitialState:BOOL; lpName:LPCSTR):HANDLE;
Note | To be documented |
---|
function CreateEventW(lpEventAttributes:LPSECURITY_ATTRIBUTES; bManualReset,bInitialState:BOOL; lpName:LPCWSTR):HANDLE;
Note | To be documented |
---|
function OpenEvent(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE;
Note | To be documented |
---|
function OpenEventA(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCSTR):HANDLE;
Note | To be documented |
---|
function OpenEventW(dwDesiredAccess:DWORD; bInheritHandle:BOOL; lpName:LPCWSTR):HANDLE;
Note | To be documented |
---|
function SetEvent(hEvent:HANDLE):BOOL;
Note | To be documented |
---|
function ResetEvent(hEvent:HANDLE):BOOL;
Note | To be documented |
---|
function PulseEvent(hEvent:HANDLE):BOOL;
Note | To be documented |
---|
Process functions (Compatibility)
function GetProcessAffinityMask(hProcess:HANDLE; var lpProcessAffinityMask,lpSystemAffinityMask:DWORD_PTR):BOOL;
Note | Ultibo has no concept of a Process so this function is mapped to Threads instead |
---|
function SetProcessAffinityMask(hProcess:HANDLE; dwProcessAffinityMask:DWORD_PTR):BOOL;
Note | Ultibo has no concept of a Process so this function is mapped to Threads instead |
---|
function GetProcessTimes(hProcess:HANDLE; var lpCreationTime,lpExitTime,lpKernelTime,lpUserTime:FILETIME):BOOL;
Note | Ultibo has no concept of a Process so this function is mapped to Threads instead |
---|
function GetProcessIoCounters(hProcess:HANDLE; var lpIoCounters:IO_COUNTERS):BOOL;
Note | Ultibo has no concept of a Process so this function is mapped to Threads instead |
---|
function GetCurrentProcess:HANDLE;
Note | Ultibo has no concept of a Process so this function is mapped to Threads instead |
---|
function GetCurrentProcessId:DWORD;
Note | Ultibo has no concept of a Process so this function is mapped to Threads instead. Thread Id and Thread Handle are currently equivalent. |
---|
procedure ExitProcess(uExitCode:UINT);
Note | Ultibo has no concept of a Process so this function is mapped to Threads instead |
---|
procedure FatalExit(ExitCode:Integer);
Note | Ultibo has no concept of a Process so this function is mapped to Threads instead |
---|
function TerminateProcess(hProcess:HANDLE; uExitCode:UINT):BOOL;
Note | Ultibo has no concept of a Process so this function is mapped to Threads instead |
---|
Debug functions (Compatibility)
procedure OutputDebugString(lpOutputString:LPCSTR);
Note | To be documented |
---|
procedure OutputDebugStringA(lpOutputString:LPCSTR);
Note | To be documented |
---|
procedure OutputDebugStringW(lpOutputString:LPCWSTR);
Note | To be documented |
---|
Library functions (Compatibility)
function lstrcmp(lpString1,lpString2:LPCSTR):Integer;
Note | To be documented |
---|
function lstrcmpA(lpString1,lpString2:LPCSTR):Integer;
Note | To be documented |
---|
function lstrcmpW(lpString1,lpString2:LPCWSTR):Integer;
Note | To be documented |
---|
function lstrcmpi(lpString1,lpString2:LPCSTR):Integer;
Note | To be documented |
---|
function lstrcmpiA(lpString1,lpString2:LPCSTR):Integer;
Note | To be documented |
---|
function lstrcmpiW(lpString1,lpString2:LPCWSTR):Integer;
Note | To be documented |
---|
function lstrcpy(lpString1:LPSTR; lpString2:LPCSTR):LPSTR;
Note | To be documented |
---|
function lstrcpyA(lpString1:LPSTR; lpString2:LPCSTR):LPSTR;
Note | To be documented |
---|
function lstrcpyW(lpString1:LPWSTR; lpString2:LPCWSTR):LPWSTR;
Note | To be documented |
---|
function lstrcpyn(lpString1:LPSTR; lpString2:LPCSTR; iMaxLength:Integer):LPSTR;
Note | To be documented |
---|
function lstrcpynA(lpString1:LPSTR; lpString2:LPCSTR; iMaxLength:Integer):LPSTR;
Note | To be documented |
---|
function lstrcpynW(lpString1:LPWSTR; lpString2:LPCWSTR; iMaxLength:Integer):LPWSTR;
Note | To be documented |
---|
function lstrcat(lpString1:LPSTR; lpString2:LPCSTR):LPSTR;
Note | To be documented |
---|
function lstrcatA(lpString1:LPSTR; lpString2:LPCSTR):LPSTR;
Note | To be documented |
---|
function lstrcatW(lpString1:LPWSTR; lpString2:LPCWSTR):LPWSTR;
Note | To be documented |
---|
function lstrlen(lpString:LPCSTR):Integer;
Note | To be documented |
---|
function lstrlenA(lpString:LPCSTR):Integer;
Note | To be documented |
---|
function lstrlenW(lpString:LPCWSTR):Integer;
Note | To be documented |
---|
Return to Unit Reference