Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ videoSetStandard(3mms) — Multimedia Services 2.4B

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

videoGetStandard(3mms)

videoSetStandard(3mms)  —  Subroutines

 
 
 
 
 

Name

 
videoSetStandard --- Set current video standard type
 
 

Syntax

 
 
 

 #include <mme/mme_api.h>
 MMRESULT videoSetStandard(HVIDEO hVideo,
                          DWORD dwStandard);
 

 
 
 

Arguments

 
HVIDEO hVideo
Specifies a handle to a video device channel.

 
DWORD dwStandard
Specifies the standard type. This value can be one of the following:
 
 
 

VIDEO_STANDARD_NTSC
 

VIDEO_STANDARD_PAL
 

VIDEO_STANDARD_SECAM
 

VIDEO_STANDARD_SVIDEO525
 

VIDEO_STANDARD_SVIDEO625
 
 
 

Description

 
The videoSetStandard function sets the current video standard type.  To set the video standard type, call the videoSetStandard function immediately after the call to the videoOpen function that opens the video device.  If the videoSetStandard function is not called immediately after the videoOpen function, the standard type is not modified and the DV_ERR_BADFORMAT error code is returned. 

 
The VIDEO_STANDARD_SECAM type is not supported for playback operations. The VIDEO_STANDARD_SVIDEO525 and VIDEO_STANDARD_SVIDEO625 are S-video standards for the VIDEO_STANDARD_NTSC and VIDEO_STANDARD_PAL types.
 

Extensions

 
The videoSetStandard function is a Digital extension to the Microsoft multimedia API specification. 
 
 

Return Values

 
Returns DV_ERR_OK if the function is successful; otherwise, it returns one of the following error codes:
 
 

 
DV_ERR_BADFORMAT@T{ The specified format cannot be set. T} DV_ERR_INVALHANDLE@T{ The specified device handle is invalid. T} DV_ERR_PARAM1@T{ The specified parameter is invalid. T} DV_ERR_NOTSUPPORTED@T{ The function is not supported. T}

 
 
 

See Also

 
 
 
 
 
videoGetStandard(3mms)
 
 
 
 

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