videoSetContrast(3mms) — Subroutines
Name
videoSetContrast --- Set current contrast value
Syntax
#include <mme/mme_api.h>
MMRESULT videoSetContrast(HVIDEO hVideo,
DWORD dwContrast);
Arguments
HVIDEO hVideo
Specifies a handle to a video device channel.
DWORD dwContrast
Specifies the contrast value. This value ranges from 0 to 10,000.
Description
The videoSetContrast function sets the current contrast value. This contrast value is applied to the 8-bit X image data returned to the application. This request is not supported for video playback using a single buffer.
Extensions
The videoSetContrast 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_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}