Retrieves the native video dimensions.

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


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

Return Values

Returns an HRESULT value.


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

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.