IltmmCapture::get_CaptureStillDelay Example for C

/* Having an IltmmCapture Interface, pCap: */

L_MULTIMEDIATEX_API void IltmmCapture_get_CaptureStillDelay_Example (IltmmCapture* pCapture)
{
   long lTime;

   /* Get the still delay time */
   IltmmCapture_get_CaptureStillDelay(pCapture, &lTime);

   /* do something with it */
   if( lTime < 1000 )
   {
      IltmmCapture_put_CaptureStillDelay(pCapture, 1000);
   }
}