IltmmCapture::get_CaptureStillDelay Example for C++

void RestricCaptureStillDelay(IltmmCapture *pCapture, long lMin)
{
   long   lTime;

   // Get the still delay time 
   pCapture->get_CaptureStillDelay(&lTime);

   // do something with it 
   if (lTime < lMin)
   {
      pCapture->put_CaptureStillDelay(lMin);
   }
}