Microsoft DirectX 9.0

CBaseControlVideo::get_VideoWidth

The get_VideoWidth method retrieves the width of the native video.

Syntax

HRESULT get_VideoWidth(
    long *pVideoWidth
);

Parameters

pVideoWidth

Pointer to the width of the native video, in pixels.

Return Value

Returns NOERROR if successful or E_OUTOFMEMORY if there is not enough memory available.

Remarks

This member function implements the IBasicVideo::get_VideoWidth method. It calls the pure virtual CBaseControlVideo::GetVideoFormat to retrieve the VIDEOINFOHEADER structure from the derived class.

See Also