IltmmCapture::get_InterleaveMode Example for C

long lMode;

L_MULTIMEDIATEX_API void IltmmCapture_get_InterleaveMode_Example (IltmmCapture* pCapture)
{
   long lMode;

   IltmmCapture_get_InterleaveMode(pCapture, &lMode);

   if (lMode != ltmmCapture_Interleave_Capture)         
   {
      IltmmCapture_put_InterleaveMode(pCapture, ltmmCapture_Interleave_Capture);
   }
}