VCL IOEvent external API callback