DigiGuide has an internal one minute timer, when the timer fires DigiGuide checks for all shows starting and finishing. For each show that is currently finishing a function called OnProgrammeEndA in your Add-In is called, passing the programme information in a DGE_PROGRAMME structure.