Callback type to return custom category code.
Source position: eventlog.pp line 38
| type TLogCategoryEvent = procedure( | 
| Sender: TObject; | 
| var Code: Word | 
| ) of object; | 
| Sender | 
 | TEventLog instance that triggered the event. | 
| Code | 
 | OS category code. | 
TLogCategoryEvent is the event type for the TEventLog.OnGetCustomCategory event handler. It should return a OS event category code for the etCustom log event type in the Code parameter.
| 
 | Event to retrieve custom message category. | |
| 
 | Callback type to retrieve custom event codes. |