DigiGuide Programme End Event

Copyright ©1999, 2000 GipsyMedia Limited. All rights reserved.
Please read our open source licence agreement.


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.


#include <windows.h>
#include <TCHAR.h>
#include "DGAddins.h"

extern "C" _declspec( dllexport )
void OnProgrammeEndA( const DGE_PROGRAMME* const pProgramme, HWND /*hwndParent*/ )
	TCHAR szBuffer[ 2048 ];
	wsprintf( szBuffer, _T("Addin Programme Ending: %s started at %d:%d\r\n")
					, pProgramme->pcszName
					, pProgramme->stTimeStart.wHour
					, pProgramme->stTimeStart.wMinute );
	OutputDebugString( szBuffer );

See Also