Export (0) Print
Expand All

IBasicVideo::GetVideoSize method

The GetVideoSize method retrieves the native video dimensions.

Syntax


HRESULT GetVideoSize(
  [out]  long *pWidth,
  [out]  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 value

Returns an HRESULT value.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Control.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IBasicVideo Interface

 

 

Community Additions

ADD
Show:
© 2015 Microsoft