DigiGuide Programme Reminder Event

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


Detail

Whenever a reminder event is fired DigiGuide calls OnProgrammeReminderFiredA in your Add-In, passing the programme information in a DGE_PROGRAMME structure.

Example

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

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

See Also