IltmmCapture::get_InterleaveMode Example for C++

void GetSetCaptureInterleaveMode(IltmmCapture *pCapture)
{
   long lMode;

   // get the current capture interleave mode
   pCapture->get_InterleaveMode(&lMode);

   // if not set to what we want, set it
   if (lMode != ltmmCapture_Interleave_Capture)
      pCapture->put_InterleaveMode(ltmmCapture_Interleave_Capture);
}