Share via


IVideoWindow::put_Width

 
Microsoft DirectShow 9.0

IVideoWindow::put_Width

The put_Width method specifies the width of the video window.

Syntax

  HRESULT put_Width(
  long Width
);

Parameters

Width

[in] Specifies the width, in pixels.

Return Values

Possible return values include the following:

Value Description
E_INVALIDARG Invalid argument.
S_OK Success.
VFW_E_NOT_CONNECTED The video renderer filter is not connected.

Requirements

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

Library: Use Strmiids.lib.

See Also