videoStreamFini(3mms) — Subroutines
Name
videoStreamFini --- Terminate streaming from the specified device channel
Syntax
#include <mme/mme_api.h>
MMRESULT videoStreamFini(HVIDEO hVideo)
Arguments
HVIDEO hVideo
Specifies a handle to a video device channel.
Description
The videoStreamFini function terminates streaming from the specified device channel. If there are buffers sent with the videoStreamAddBuffer function that have not been returned to the application, this operation will fail. Use the videoStreamReset function to mark all pending buffers as done. Then, call the videoStreamFini function to terminate streaming from the device channel.
Each call to the videoStreamInit function must be matched with a call to the videoStreamFini function.
Extensions
None.
Return Values
Returns DV_ERR_OK if the function is successful; otherwise, it returns one of the following error codes:
DV_ERR_INVALHANDLE@T{ The specified device handle is invalid. T} DV_ERR_STILLPLAYING@T{ There are buffers still in the queue. T}