System.SyncObjs.THandleObject.LastError
Delphi
property LastError: Integer read FLastError;
C++
__property int LastError = {read=FLastError, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | THandleObject |
Description
Indicates the Windows error code obtained from Handle.
Read LastError when an operation of the THandleObject fails. LastError returns the Windows error code that represents the reason for the failure. If no operation failed, LastError is 0.