Adding a Station to the Program Guide

[This is preliminary documentation and subject to change.]

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("KBPC"), _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 KBPC in the preceding example, identify a particular broadcast station.