L_IsCaptureActive

#include "l_bitmap.h"

L_LTSCR_API L_BOOL L_IsCaptureActive(void)

Indicates whether a capture process has been started.

Returns

Returns TRUE if a capture operation is currently active, FALSE otherwise.

Comments

You should stop a previously started capture process before starting another, or before the calling thread terminates.

Required DLLs and Libraries

LTSCR

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_StopCapture

Topics:

Screen Capture C DLL Function Groups: Getting Information Functions

 

Implementing Screen Capture

Example

L_INT IsCaptureActiveExample(L_VOID)
{
   /* if capture is active, stop it */
   if(L_IsCaptureActive())
      L_StopCapture();

   return SUCCESS;
}