IltmmCapture::get_VideoProcAmp

#include "ltmm.h"

C Syntax

HRESULT IltmmCapture_get_VideoProcAmp(pCapture, pVal)

C++ Syntax

HRESULT get_VideoProcAmp(pVal)

 

IltmmCapture * pCapture;

/* pointer to an interface */

IltmmVideoProcAmp ** pVal;

/* address of a pointer to an interface*/

Retrieves a pointer to the IltmmVideoProcAmp interface.

Parameter

Description

pCapture

Pointer to an IltmmCapture interface.

pVal

Address of a pointer to receive a pointer to an IltmmVideoProcAmp interface.

Returns

S_OK

The function ran successfully.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

The IltmmVideoProcAmp interface, accessed through the pVal parameter, lets the user adjust the qualities of an incoming video signal, such as brightness, contrast, hue, saturation, gamma, and sharpness.

If the function succeeds, the user should release the returned interface pointer by calling the interface’s Release method.

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64

See Also

Elements:

IltmmCapture interface, IltmmVideoProcAmp interface.

Topics:

Multimedia Function Group

Example

For a C example, refer to the IltmmVideoProcAmp::GetRange Example for C.

For a C++ example, refer to the IltmmVideoProcAmp::GetRange Example for C++.