System.SyncObjs.THandleObject.LastError

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

property LastError: Integer read FLastError;

C++

__property int LastError = {read=FLastError, nodefault};

Propriétés

Type Visibilité  Source Unité  Parent
property public
System.SyncObjs.pas
System.SyncObjs.hpp
System.SyncObjs THandleObject

Description

Spécifie le code d'erreur Windows récupéré dans Handle.

Consultez la propriété LastError quand une opération sur THandleObject échoue. LastError renvoie le code d'erreur Windows représentant le motif de l'échec. Si l'opération n'a pas échoué, LastError vaut 0.

Voir aussi