Freigeben über


IBasicVideo::GetVideoSize

 
Microsoft DirectShow 9.0

IBasicVideo::GetVideoSize

The GetVideoSize method retrieves the native video dimensions.

Syntax

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

Parameters

pWidth

[out] Pointer to a variable that receives the width of the video image, in pixels.

pHeight

[out] Pointer to a variable that receives the height of the video image, in pixels.

Return Values

Returns an HRESULT value.

Requirements

Header: Declared in Control.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also