Indicates whether a capture process has been started.
#include "l_bitmap.h"
L_LTSCR_API L_BOOL L_IsCaptureActive(void)
Returns TRUE if a capture operation is currently active, FALSE otherwise.
You should stop a previously started capture process before starting another, or before the calling thread terminates.
L_INT IsCaptureActiveExample(L_VOID)
{
/* if capture is active, stop it */
if(L_IsCaptureActive())
L_StopCapture();
return SUCCESS;
}