Compartir a través de


IBasicVideo::GetVideoSize (Compact 2013)

3/26/2014

This method retrieves the native video dimensions.

Syntax

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

Parameters

  • pWidth
    [out] Width of the video window.
  • pHeight
    [out] Height of the video window.

Return Value

Returns an HRESULT value.

Remarks

This method retrieves the native video width and height, disregarding any source rectangle that might have been set. Microsoft ActiveX® Controls or other applications can use this information to negotiate space in compound documents.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IBasicVideo Interface