Sign in Join
FPDoc Onlineexperiment

TLogCodeEvent procedure type

In unit EventLog

Callback type to retrieve custom event codes.

Declaration

pascal
TLogCodeEvent = procedure(Sender: TObject; var Code: DWord) of object

Arguments

SenderTEventLog instance that triggered the event.
Code

Code to return.

Description

TLogCodeEvent is the event type for the OnGetCustomEvent and OnGetCustomEventID event handlers. It should return a OS system log code for the etCustom log event or event ID type in the Code parameter.

See also

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