IltmmConvert::put_AllowedStreams Example for C++

void SetConvertAllowedStreams(IltmmConvert *pConvert)
{
   long lAllowedStreams = ltmmConvert_Stream_Video;

   // set the allowed conversion streams to Video
   pConvert->put_AllowedStreams(lAllowedStreams);

   // start the convert
   pConvert->StartConvert();

   // get the allowed conversion streams
   pConvert->get_AllowedStreams(&lAllowedStreams);
}