Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ videoClose(3mms) — Multimedia Services 2.4B

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

videoOpen(3mms)

videoStreamFini(3mms)

videoStreamInit(3mms)

videoStreamReset(3mms)

videoClose(3mms)  —  Subroutines

 
 
 
 
 

Name

 
videoClose --- Close the specified video device channel
 
 

Syntax

 
 
 

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

 
 
 

Arguments

 
HVIDEO hVideo
Specifies a handle to a video device channel.  If the function is successful, the handle will be invalid after this call.
 
 

Description

 
The videoClose function closes the specified video device channel. If buffers have been sent with the videoStreamAddBuffer function and they have not been returned to the application, the close operation fails. Use the videoStreamReset function to mark all pending buffers as done. 
 

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_NONSPECIFIC@T{ The driver failed to close the channel. T} DV_ERR_NOTSUPPORTED@T{ The function is not supported. T}

 
 

See Also

 
 
 
 
 
videoOpen(3mms), videoStreamFini(3mms), videoStreamInit(3mms),
 
videoStreamReset(3mms)
 
 
 
 

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