TLogCodeEvent¶
Callback type to retrieve custom event codes.
Declaration¶
Source position: eventlog.pp line 37
type
TLogCodeEvent = procedure(Sender: TObject; var Code: DWord) of object;Arguments¶
| Name | Description |
|---|---|
| Sender | TEventLog 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¶
| Name | Description |
|---|---|
| TEventLog.OnGetCustomEvent | Event to retrieve custom event Code. |
| TEventLog.OnGetCustomEventID | Event to retrieve custom event ID. |
| TLogCategoryEvent | Callback type to return custom category code. |