Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ videoStreamStop(3mms) — Multimedia Services 2.4B

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

videoStreamReset(3mms)

videoStreamStart(3mms)

videoStreamStop(3mms)  —  Subroutines

 
 
 
 
 

Name

 
videoStreamStop --- Stop video streaming
 
 

Syntax

 
 
 

 #include <mme/mme_api.h>
 MMRESULT videoStreamStop(HVIDEO hVideo)
 

 
 
 

Arguments

 
HVIDEO hVideo
Specifies a handle to a video device channel.
 
 

Description

 
The videoStreamStop function stops streaming on a video channel. If there are any buffers in the queue, the dwflags field in the VIDEOHDR data structure for the current buffer will be set to VHDR_DONE and the dwBytesUsed or dwBytesUsed2 fields in the VIDEOHDR data structure will contain the actual length of the data captured or output. Any buffers that were previously queued and not returned to the client via a callback, will be held in the queue until the functions videoStreamStart or videoStreamReset are called. 
 

 
Calling this function when the channel is not started has no effect, and the function returns DV_ERR_OK.
 

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

 
 
 
 
 
videoStreamReset(3mms), videoStreamStart(3mms)
 
 
 
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026