Unit 'syncobjs' Package
[Overview][Constants][Types][Classes][Index] [#fcl]

THandleObject

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

Class encapsulating an operating system handle.

Declaration

Source position: syncobjs.pp line 63

type THandleObject = class(TSynchroObject)

public

  constructor Create();

  destructor Destroy; override;

  

Free the instance.

  function WaitFor();

  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 an abstract 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.

Do not create an instance of THandleObject. It is an abstract class. Recent versions of FPC actually declare the class as abstract.

See also

Handle

  

Handle for this object.


Documentation generated on: Jul 24 2023