Procedural event handler for OnCustomFileName event.
ACustom [in, optional]
Custom user data parameter. It's the same pointer as it was passed to RegisterEvent-function.
Information about exception.
Kind of file name to modify.
AFileName [in, out]
Actual file name that may be changed. Use full absolute file path.
True (default) - call next registered event handler, False - do not call next event handler.
Use this event to assign/modify file names.
Even though you can relocate file in arbitrary folder - it's highly recommended to keep original folder and extension.