QMedia Grabber area commands

QM_GetGrabberMode

QM_GetGrabberMode(areaRef; isPreviewing; isRecording; isPaused):error
areaRef Longint Grabber area reference
isPreviewing Longint Preview mode
isRecording Longint Recording mode
isPaused Longint Paused status
error Longint Error result

Returns the current mode of a grabber plug-in area.

The grabber plug-in area is specified by areaRef.

Parameter isPreviewing receives the previewing status. If the grabber plug-in area is currently in previewing mode, isPreviewing is set to 1, otherwise it is set to 0.

Parameter isRecording receives the recording status. If the grabber plug-in area is currently in recording mode, isRecording is set to 1, otherwise it is set to 0.

Parameter isPaused receives the paused status. If the grabber plug-in area is currently paused, isPaused is set to 1, otherwise it is set to 0.

Example

C_LONGINT($previewing;$recording;$paused)
 
$error:=QM_GetGrabberMode(xGrabber;$previewing;$recording;$paused)
 
 

Related commands

QM_StartPreview Starts preview.
QM_StopPreview Stops preview.
QM_StartRecording Starts recording.
QM_StopRecording Stops recording.

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:43:23