Microsoft DirectX 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.

See Also