videoGetContrast(3mms) — Subroutines
Name
videoGetContrast --- Obtain current contrast value
Syntax
#include <mme/mme_api.h>
DWORD videoGetContrast(HVIDEO hVideo)
Arguments
HVIDEO hVideo
Specifies a handle to a video device channel.
Description
The videoGetContrast function obtains 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 videoGetContrast function is a Digital extension to the Microsoft multimedia API specification.
Return Values
Returns the current contrast value 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}