Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ videoStreamGetError(3mms) — Multimedia Services 2.4B

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

videoOpen(3mms)

videoStreamGetError(3mms)  —  Subroutines

 
 
 
 

Name

 
videoStreamGetError --- Return the error most recently encountered
 
 

Syntax

 
 
 

 #include <mme/mme_api.h>
 MMRESULT videoStreamGetError(HVIDEO hVideo,
                             LDPWORD lpdwErrorID,
                             LDPWORD lpdwErrorValue);
 

 
 
 

Arguments

 
HVIDEO hVideo
Specifies a handle to a video device channel.

 
LPDWORD lpdwErrorID
Specifies a pointer to the DWORD to be filled with the error ID.

 
LPDWORD lpdwErrorValue
Specifies a pointer to the DWORD to be filled with the number of frames skipped.
 
 

Description

 
The videoStreamGetError function returns the error most recently encountered. While streaming video data, a video capture driver can fill buffers faster than the client application can save the buffers to disk. In this case, the DV_ERR_NO_BUFFERS error code is returned in the lpdwErrorID argument and a count of the number of video frames missed is contained in the lpdwErrorValue argument. If there is no error, DV_ERR_OK is returned in the lpdwErrorID argument. 
 

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_NOTSUPPORTED@T{ The function is not supported. T}

 
 
 

See Also

 
 
 
 
 
videoOpen(3mms)
 
 
 
 

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