videoStreamReset(3mms) — Subroutines
Name
videoStreamReset --- Stop video streaming reset current position
Syntax
#include <mme/mme_api.h>
MMRESULT videoStreamReset(HVIDEO hVideo)
Arguments
HVIDEO hVideo
Specifies a handle to a video device channel.
Description
The videoStreamReset function stops streaming on the specified video device channel and resets the current position to zero. All pending buffers are marked as done and are returned to the calling application.
Extensions
None.
Return Values
Returns DV_ERR_OK if the function is successful; otherwise, it returns the following error code:
DV_ERR_INVALHANDLE@T{ The specified device handle is invalid. T}
See Also
videoClose(3mms), videoStreamAddBuffer(3mms), videoStreamStart(3mms),
videoStreamStop(3mms)