[Overview][Constants][Types][Classes][Index] Reference for unit 'syncobjs' (#fcl)

THandleObject

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Class encapsulating an operating system handle

Declaration

Source position: syncobjs.pp line 51

type THandleObject = class(TSynchroObject)

protected

  FHandle: TEventHandle;

  FLastError: Integer;

public

  destructor destroy; override;

  

Free the instance

  property Handle: TEventHandle; [r]

  

Handle for this object

  property LastError: Integer; [r]

  

Last operating system error

end;

Inheritance

THandleObject

  

Class encapsulating an operating system handle

|

TSynchroObject

  

Abstract synchronization object

|

TObject

Description

THandleObject is a parent class for synchronization classes that need to store an operating system handle. It introduces a property Handle which can be used to store the operating system handle. The handle is in no way manipulated by THandleObject, only storage is provided.

See also

Handle

  

Handle for this object

The latest version of this document can be found at lazarus-ccr.sourceforge.net.