Platform SDK: Broadcast Architecture

Adding a Station to the Program Guide

The following example uses the Guide data objects to add a station to Program Guide.

//Define a station
CStation cs(AFX_RFX_LONG_PSEUDO_NULL
        , _T("KZZZ"), _T("Knowledge Base PC")
        , 0, __T("kbpc.bmp"), _T("Cool Broadcast Architecture station"));
 
//Insert the station into Tss.mdb
s->UpdateRS(cs);

Note  The Microsoft® WebTV® for Windows component requires that station call letters be uppercase with no leading or trailing spaces. Call letters, such as KZZZ in the preceding example, identify a particular broadcast station.