Unit GlobalTypes
Return to Unit Reference
Contents
[hide]Description
Ultibo Global Type Definitions unit
Constants
None defined
Type definitions
Handle types
TSpinHandle = THandle;
|
|
TMutexHandle = THandle;
|
|
TCriticalSectionHandle = THandle;
|
|
TSemaphoreHandle = THandle;
|
|
TSynchronizerHandle = THandle;
|
|
TConditionHandle = THandle;
|
|
TCompletionHandle = THandle;
|
|
TListHandle = THandle;
|
|
TQueueHandle = THandle;
|
|
TThreadHandle = THandle;
|
|
TMessageslotHandle = THandle;
|
|
TMailslotHandle = THandle;
|
|
TBufferHandle = THandle;
|
|
TEventHandle = THandle;
|
|
TTimerHandle = THandle;
|
|
TWorkerHandle = THandle;
|
|
TWindowHandle = THandle;
|
|
TFontHandle = THandle;
|
|
TKeymapHandle = THandle;
|
|
HANDLE = PtrUInt;
|
LongWord |
PHANDLE = ^HANDLE;
|
|
LPHANDLE = ^HANDLE;
|
|
THandle = HANDLE;
|
Declared in system unit |
HLOCAL = HANDLE;
|
|
HGLOBAL = HANDLE;
|
|
HWND = HANDLE;
|
Pointer types
PMutexHandle = ^TMutexHandle;
|
|
PCriticalSectionHandle = ^TCriticalSectionHandle;
|
|
PSemaphoreHandle = ^TSemaphoreHandle;
|
|
PSynchronizerHandle = ^TSynchronizerHandle;
|
|
PConditionHandle = ^TConditionHandle;
|
|
PCompletionHandle = ^TCompletionHandle;
|
|
PListHandle = ^TListHandle;
|
|
PQueueHandle = ^TQueueHandle;
|
|
PThreadHandle = ^TThreadHandle;
|
|
PMessageslotHandle = ^TMessageslotHandle;
|
|
PMailslotHandle = ^TMailslotHandle;
|
|
PBufferHandle = ^TBufferHandle;
|
|
PEventHandle = ^TEventHandle;
|
|
PTimerHandle = ^TTimerHandle;
|
|
PWorkerHandle = ^TWorkerHandle;
|
|
PWindowHandle = ^TWindowHandle;
|
|
PFontHandle = ^TFontHandle;
|
|
PKeymapHandle = ^TKeymapHandle;
|
|
PVOID = Pointer;
|
|
LPVOID = Pointer;
|
|
LPCVOID = Pointer;
|
|
LPBOOL = ^BOOL;
|
|
PLONG = ^LONG;
|
|
LPLONG = ^LONG;
|
|
LPDWORD = ^DWORD;
|
|
PUINT = ^UINT;
|
|
PUCHAR = ^UCHAR;
|
|
PUSHORT = ^USHORT;
|
|
PULONG = ^ULONG;
|
|
INT_PTR = PtrInt;
|
Integer |
UINT_PTR = PtrUInt;
|
LongWord |
LONG_PTR = PtrInt;
|
LongInt |
ULONG_PTR = PtrUInt;
|
LongWord |
DWORD_PTR = ULONG_PTR;
|
|
PDWORD_PTR = ^DWORD_PTR;
|
|
TFarProc = Pointer;
|
Method types
TGetLastError = function:LongWord;
|
|
TSetLastError = procedure(LastError:LongWord);
|
Color format32 (Generic)
Color format24 (Generic)
Color format16 (Generic)
Color format8 (Generic)
Color formatARGB32 (RGB)
Color formatRGBA32 (RGB)
Color formatRGB24 (RGB)
Color formatABGR32 (BGR)
Color formatBGRA32 (BGR)
Display settings
TDisplaySettings = record
Color formatBGR24 (BGR)
Boolean types
BOOL = ByteBool;
|
LongBool; (Compatible with built in GCC _Bool type) |
Signed types
INT = Integer;
|
|
SHORT = Smallint;
|
|
LONG = LongInt;
|
Unsigned types
UINT = LongWord;
|
|
UCHAR = Byte;
|
|
USHORT = Word;
|
|
ULONG = LongWord;
|
64bit types
LONGLONG = Int64;
|
|
ULONGLONG = UInt64;
|
|
DWORDLONG = ULONGLONG;
|
Size types
SIZE_T = SizeUInt;
|
ULONG_PTR; |
SSIZE_T = SizeInt;
|
LONG_PTR; |
String types
LPSTR = ^AnsiCHAR;
|
|
LPCSTR = ^AnsiCHAR;
|
Wide string types
WCHAR = WideChar;
|
|
PWCHAR = ^WCHAR;
|
|
LPWSTR = ^WCHAR;
|
|
LPCWSTR = ^WCHAR;
|
Parameter types
WPARAM = UINT_PTR;
|
|
LPARAM = LONG_PTR;
|
|
LRESULT = LONG_PTR;
|
Procedure types
FARPROC = function: Integer;
|
C types
int8_t = Shortint;
|
|
pint8_t = PShortint;
|
|
uint8_t = Byte;
|
|
puint8_t = PByte;
|
|
int16_t = Smallint;
|
|
pint16_t = PSmallint;
|
|
uint16_t = Word;
|
|
puint16_t = PWord;
|
|
int32_t = LongInt;
|
|
pint32_t = PLongInt;
|
|
uint32_t = LongWord;
|
|
puint32_t = PLongWord;
|
|
int64_t = Int64;
|
|
pint64_t = PInt64;
|
|
uint64_t = QWord;
|
|
puint64_t = PQWord;
|
|
float_t = Single;
|
|
pfloat_t = PSingle;
|
|
double_t = Double;
|
|
pdouble_t = PDouble;
|
Atomic types
Atomic64 types
Socket types
TSocket = UINT_PTR;
|
WSA event
WSAEVENT = THandle;
|
Overlapped structure types
OVERLAPPED = _OVERLAPPED;
TOverlapped = OVERLAPPED;
POverlapped = LPOVERLAPPED;
LPOVERLAPPED = ^OVERLAPPED;
_OVERLAPPED = record
Public variables
None defined
Function declarations
None defined
Return to Unit Reference