Microsoft DirectX 9.0

CBaseControlVideo::get_VideoHeight

The get_VideoHeight method retrieves the height of the native video.

Syntax

HRESULT get_VideoHeight(
    long *pVideoHeight
);

Parameters

pVideoHeight

Pointer to the height 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_VideoHeight method. It calls the pure virtual CBaseControlVideo::GetVideoFormat to retrieve the VIDEOINFOHEADER structure from the derived class.

See Also