Types unit
Various types.
Starting with D6, types from Windows specific units that were needed in Kylix were extracted to this unit. So it mostly contains type of Windows origin that are needed in the VCL framework.
Classes and records
_FILETIME | record | Filetime record type. |
IClassFactory | interface | Class defined for ActiveX compatibility. |
ISequentialStream | interface | Sequential stream object interface. |
IStream | interface | COM stream abstraction. |
tagSTATSTG | record | Storage statistics type for IStream interface. |
TBitConverter | class | |
TNullPtr | record | |
TPoint | record | Point in a plane. |
TPoint3D | record | |
TPointF | record | |
TRect | record | Rectangle in a plane. |
TRectF | record | |
TScoped | record | |
TSize | record | Area size. |
TSizeF | record | |
TSmallPoint | record | Small point. |
TXrmOptionDescRec | record | Opaque record type. |
Procedures and functions
Bounds | function | Create a rectangle, given a position and size. |
CenteredRect | function | |
CenterPoint | function | Return the center point of a rectangle. |
EqualRect | function | Check if two rectangles are equal. |
InflateRect | function | Increase the rectangle in size, keeping it centered. |
IntersectRect | function | Return the intersection of 2 rectangles. |
IntersectRectF | function | |
IsRectEmpty | function | Check whether a rectangle is empty. |
MinPoint | function | |
MultiplyRect | procedure | |
NormalizeRect | function | |
NormalizeRectF | function | |
OffsetRect | function | Offset the rectangle. |
Point | function | Create a point. |
PointF | function | |
PtInRect | function | Check whether a point is inside a rectangle. |
Rect | function | Create a rectangle record. |
RectCenter | function | |
RectF | function | |
RectHeight | function | |
RectWidth | function | |
ScalePoint | function | |
Size | function | Return the size of the rectangle. |
SplitRect | function | |
UnionRect | function | Return the union of 2 rectangles. |
UnionRectF | function |
Types
ArgList | type | Untyped pointer type. |
DWORD | type | Alias for cardinal type. |
FILETIME | type | Alias for the _FILETIME type. |
LARGE_INT | type | Alias for the Int64 type. |
LARGE_UINT | type | Alias for the QWord type. |
Largeint | type | Alias for the Int64 type. |
LargeUint | type | Alias for the QWord type. |
PByte | type | Pointer to byte type. |
PCLSID | type | Pointer to TCLSID type. |
PDisplay | type | Untyped pointer type. |
PDouble | type | Pointer do double type. |
PDWord | type | Pointer to DWord type. |
PEvent | type | Untyped pointer type. |
PFileTime | type | Pointer to TFileTime type. |
PLargeInt | type | Pointer to LargeInt. |
PLargeuInt | type | Pointer to QWord type. |
PLongint | type | Pointer to longint type. |
POleStr | type | Pointer to WideChar. |
PPoint | type | Pointer to TPoint type. |
PPointF | type | |
PPOleStr | type | Pointer to POleStr type. |
PRect | type | Pointer to TRect structure. |
PRectF | type | |
PSize | type | Pointer to TSize type. |
PSizeF | type | |
PSmallInt | type | Pointer to smallint type. |
PSmallPoint | type | Pointer to TSmallPoint type. |
PStatStg | type | Pointer to TStatStg record. |
PXrmOptionDescRec | type | Pointer to TXrmOptionDescRec. |
Region | type | Untyped pointer type. |
STATSTG | type | Alias for the TStatStg type. |
TagPoint | type | Alias for TPoint. |
TagSize | type | Alias for TSize. |
TAnsiStringDynArray | type | |
TArray4IntegerType | type | |
TBooleanDynArray | type | Dynamic array of booleans. |
TByteDynArray | type | Dynamic array of (8-bit, unsigned) bytes. |
TCardinalDynArray | type | Dynamic array of (32-bit, unsigned) cardinals. |
TClassicByteDynArray | type | |
TClassicStringDynArray | type | |
TCLSID | type | Class ID identifier (GUID). |
TCompDynArray | type | |
TCurrencyArray | type | |
TDirection | enumeration | |
TDoubleDynArray | type | Dynamic array of (Double-sized) floats. |
TDuplicates | enumeration | Enumeration type, indicating what to do with duplicates in a list. |
TEndian | type | |
TExtendedDynArray | type | |
TFileTime | type | Alias for the _FILETIME type. |
THorzRectAlign | enumeration | |
TInt64DynArray | type | Dynamic array of (64-bit, signed) int64s. |
TIntegerDynArray | type | Dynamic array of (32-bit, signed) integers. |
TListCallback | procedure type | Method callback for list operations. |
TListStaticCallback | procedure type | Callback for list operations. |
TLongWordDynArray | type | Dynamic array of (32-bit, unsigned) LongWords. |
TObjectDynArray | type | |
TOleChar | type | Alias for the widechar type. |
TPointerDynArray | type | Dynamic array of untyped pointers. |
TQWordDynArray | type | Dynamic array of (64-bit, unsigned) QWords. |
TRTLStringDynArray | type | |
TShortIntDynArray | type | Dynamic array of (8-bit, signed) shortints. |
TSingleDynArray | type | Array of (single-sized) floats. |
TSmallIntDynArray | type | Dynamic array of (16-bit, signed) smallints. |
TSplitRectType | enumeration | |
TStatStg | type | Record describing storage medium. |
TStringDynArray | type | Dynamic array of AnsiStrings. |
TUnicodeStringDynArray | type | |
TValueRelationship | type | |
TVertRectAlign | enumeration | |
TWideStringDynArray | type | Dynamic array of WideStrings. |
TWordDynArray | type | Dynamic array of (16-bit, unsigned) words. |
Widget | type | Untyped pointer type. |
WidgetClass | type | Untyped pointer type. |
XrmOptionDescRec | type | Alias for TXrmOptionDescRec. |
Constants
cPI | constant | |
cPIdiv180 | constant | |
cPIdiv2 | constant | |
cPIdiv4 | constant | |
CurveKappa | constant | |
CurveKappaInv | constant | |
E_FAIL | constant | COM/RPC Error code : operation failed. |
E_INVALIDARG | constant | COM/RPC Error code: Invalid arguments were specified. |
Epsilon | constant | |
Epsilon2 | constant | |
EqualsValue | constant | |
GreaterThanValue | constant | |
GUID_NULL | constant | Null GUID. |
LessThanValue | constant | |
LOCK_EXCLUSIVE | constant | Storage Lock stream data: lock exclusively for writing operation. |
LOCK_ONLYONCE | constant | Storage Lock stream data: lock is granted only once. |
LOCK_WRITE | constant | Storage Lock stream data: lock for writing operation. |
NullPtr | constant | |
STATFLAG_DEFAULT | constant | Storage Statistics should contain pwcsName structure. |
STATFLAG_NONAME | constant | Storage Statistics must not contain pwcsName structure. |
STATFLAG_NOOPEN | constant | Storage : Not implemented. |
STG_E_ABNORMALAPIEXIT | constant | Storage COM/RPC Error code: Abnormal exit of an API call. |
STG_E_ACCESSDENIED | constant | Storage COM/RPC Error code: access to specified resource is denied. |
STG_E_BADBASEADDRESS | constant | Storage COM/RPC Error code: wrong address for OLE32. |
STG_E_CANTSAVE | constant | Storage COM/RPC Error code: cannot save. |
STG_E_DISKISWRITEPROTECTED | constant | Storage COM/RPC Error code: Disk is read-only. |
STG_E_DOCFILECORRUPT | constant | Storage COM/RPC Error code: Document file is corrupted. |
STG_E_EXTANTMARSHALLINGS | constant | Storage COM/RPC Error code: extant marshallings exist on object. |
STG_E_FILEALREADYEXISTS | constant | Storage COM/RPC Error code: the specified object already exists. |
STG_E_FILENOTFOUND | constant | Storage COM/RPC Error code: the file could not be found. |
STG_E_INCOMPLETE | constant | Storage COM/RPC Error code: download interrupted, resulting in incomplete file. |
STG_E_INSUFFICIENTMEMORY | constant | Storage COM/RPC Error code: not enough operation for the operation. |
STG_E_INUSE | constant | Storage COM/RPC Error code: object is in use. |
STG_E_INVALIDFLAG | constant | Storage COM/RPC Error code: invalid flag. |
STG_E_INVALIDFUNCTION | constant | Storage COM/RPC Error code: An invalid operation was called. |
STG_E_INVALIDHANDLE | constant | Storage COM/RPC Error code: invalid object for operation. |
STG_E_INVALIDHEADER | constant | Storage COM/RPC Error code: Not a valid compound file. |
STG_E_INVALIDNAME | constant | Storage COM/RPC Error code: Not a valid name. |
STG_E_INVALIDPARAMETER | constant | Storage COM/RPC Error code: an invalid parameter was specified. |
STG_E_INVALIDPOINTER | constant | Storage COM/RPC Error code: invalid pointer specified. |
STG_E_LOCKVIOLATION | constant | Storage COM/RPC Error code: A locking violation occurred. |
STG_E_MEDIUMFULL | constant | Storage COM/RPC Error code: the medium was full. |
STG_E_NOMOREFILES | constant | Storage COM/RPC Error code: no more objects to return. |
STG_E_NOTCURRENT | constant | Storage COM/RPC Error code: contents changed by another user. |
STG_E_OLDDLL | constant | Storage COM/RPC Error code: old format of DLL. |
STG_E_OLDFORMAT | constant | Storage COM/RPC Error code: old compound file format. |
STG_E_PATHNOTFOUND | constant | Storage COM/RPC Error code: the path could not be found. |
STG_E_PROPSETMISMATCHED | constant | Storage COM/RPC Error code: Attempt to write a complex property to a simple property storage. |
STG_E_READFAULT | constant | Storage COM/RPC Error code: Error during read operation. |
STG_E_REVERTED | constant | Storage COM/RPC Error code: object no longer exists. |
STG_E_SEEKERROR | constant | Storage COM/RPC Error code: Error during seek operation. |
STG_E_SHAREREQUIRED | constant | Storage COM/RPC Error code: share.exe required for this operation. |
STG_E_SHAREVIOLATION | constant | Storage COM/RPC Error code: A sharing violation occurred. |
STG_E_TERMINATED | constant | Storage COM/RPC Error code: download terminated. |
STG_E_TOOMANYOPENFILES | constant | Storage COM/RPC Error code: too many open files. |
STG_E_UNIMPLEMENTEDFUNCTION | constant | Storage COM/RPC Error code: unimplemented function. |
STG_E_UNKNOWN | constant | Storage COM/RPC Error code: unknown error. |
STG_E_WRITEFAULT | constant | Storage COM/RPC Error code: Error during write operation. |
STG_S_BLOCK | constant | Storage COM/RPC Error code: storage operation would block till more data comes available. |
STG_S_CONVERTED | constant | Storage COM/RPC Error code: object was converted to compound file. |
STG_S_MONITORING | constant | Storage COM/RPC Error code: ? |
STG_S_RETRYNOW | constant | Storage COM/RPC Error code: Retry operation. |
STGTY_LOCKBYTES | constant | Storage type - byte array. |
STGTY_PROPERTY | constant | Storage type - Property storage. |
STGTY_STORAGE | constant | Storage type - Storage. |
STGTY_STREAM | constant | Storage type - stream. |
STREAM_SEEK_CUR | constant | Storage Stream seek operation offset type : relative position. |
STREAM_SEEK_END | constant | Storage Stream seek operation offset type : Position relative to end of stream. |
STREAM_SEEK_SET | constant | Storage Stream seek operation offset type : set absolute position. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
