QMedia
![]() |
![]() ![]() |
QM_GetGrabberMode(areaRef; inPreview; inRecord):error | |||
![]() |
areaRef | Longint | Grabber area reference |
![]() |
inPreview | Longint | Preview mode |
![]() |
inRecord | Longint | Recording mode |
![]() |
error | Longint | Error result |
Returns the current mode of a grabber plug-in area.
The grabber plug-in area is specified by areaRef.
Parameter inPreview receives the previewing status. If the grabber plug-in area is currently in previewing mode, inPreview is set to 1, otherwise it is set to 0.
Parameter inRecord receives the recording status. If the grabber plug-in area is currently in recording mode, inRecord is set to 1, otherwise it is set to 0.
Example
C_LONGINT($previewing;$recording) $error:=QM_GetGrabberMode(xGrabber;$previewing;$recording) |
Related commands
QM_StartPreview | Starts preview. |
QM_StopPreview | Stops preview. |
QM_StartRecording | Starts recording. |
QM_StopRecording | Stops recording. |