CBaseControlVideo::GetVideoSize

 
Microsoft DirectShow 9.0

CBaseControlVideo::GetVideoSize

The GetVideoSize method retrieves the native video's width and height.

Syntax

  HRESULT GetVideoSize(
    long *pWidth,
    long *pHeight
);

Parameters

pWidth

Pointer to the video width.

pHeight

Pointer to the video height.

Return Value

Returns an HRESULT value.

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also