Sign in Join
FPDoc Onlineexperiment

TWaitHandleEvent procedure type

In unit InterfaceBase

Specifies an event handler signalled for the handle in an interface object.

Declaration

pascal
TWaitHandleEvent = procedure(AData: PtrInt; AFlags: dword) of object

Arguments

AData

Integer pointer to the data for the event.

AFlags

Flag value(s) for the event notification.

Description

TWaitHandleEvent is an object procedure which specifies an event handler signalled for the handle in an interface object. The parameters contain a pointer to the data and flag values used in the event notification. It provides a callback routine executed when the signal occurs on the handle.

TWaitHandleEvent is passed as an argument to the TWidgetSet.AddEventHandler method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.