IltmmPlay::put_AllowedStreams Example for C++

void SetPlayerAllowedStreams(IltmmPlay *pPlay)
{
   long lAllowedStreams = ltmmPlay_Stream_Video;

   // set the allowed player streams to Video
   pPlay->put_AllowedStreams(lAllowedStreams);

   // start the player
   pPlay->Run();

   // get the allowed play streams
   pPlay->get_AllowedStreams(&lAllowedStreams);
}