// tvdispid.h : TV Viewer sample application
//
// Copyright (C) 1997 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Broadcast Architecture Programmer's Reference.
// For detailed information regarding Broadcast
// Architecture, see the reference.
#ifndef __TVDISPID_H__
#define __TVDISPID_H__
#ifdef __MKTYPLIB__
// Sync event notifications
typedef enum tvsyncevent
{
//Loader sync events
//Corresponding messages from epgldrx.h
//EPGLDR_STARTING
//EPGLDR_ACTIVE_COMMIT_STARTING
//EPGLDR_ACTIVE_COMMIT_ENDING
//EPGLDR_PASSIVE_COMMIT_STARTING
//EPGLDR_PASSIVE_COMMIT_ENDING
//EPGLDR_ENDING
//Viewer sync events
keViewerLogin= 107,
keViewerChange= 108,
keCurrentViewerChannelListChange= 109,
//Other sync events
keSysTimeChange= 110
} TVSYNCEVENT;
// EpisodeStatusChanged notification enums
typedef enum episodestatus
{
keReminderStatus= 1,
kePurchaseStatus= 2,
keDSSEmailStatus= 3
} EPISODESTATUS;
#endif
// Dispatch IDs
// ITVControl
#define dispidOnIdle3001
#define dispidTuneControl3002
#define dispidTearDown3003
#define dispidSyncEvent3004
#define dispidEpisodeStatusChanged3005
#define dispidPowerChange3007
#define dispidOnTVFocus 3008
#define dispidTVSetOutput3009
#define dispidGetCC 3010
#define dispidSetCC 3011
// ITVExplorer
#define dispidSetTVMode4001
#define dispidIsTVMode4002
#define dispidIsChannelBarUp4003
#define dispidIsModalDialogUp4004
#define dispidIsLoaderActive4005
#define dispidGlobalStartTime4006
#define dispidGlobalEndTime4007
#define dispidChannelList4008
#define dispidViewerID4009
#define dispidWantNumKeys4010
#define dispidTVXTune4011
#define dispidGetCurrentTuningInfo4012
#define dispidGetPreviousTuningInfo4013
#define dispidSetReminder4014
#define dispidHasReminder4015
#define dispidDeleteReminder4016
#define dispidHasEnhancement 4017
#define dispidIsCC 4018
#endif // __TVDISPID_H__