Freigeben über


IBasicVideo::put_DestinationWidth

 
Microsoft DirectShow 9.0

IBasicVideo::put_DestinationWidth

The put_DestinationWidth method sets the width of the destination rectangle.

Syntax

  HRESULT put_DestinationWidth(
  long DestinationWidth
);

Parameters

DestinationWidth

[in] Specifies the width, in pixels.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_INVALIDARG Invalid argument. DestinationWidth must be larger than zero.
S_OK The method succeeded.
VFW_E_NOT_CONNECTED The video renderer is not connected.

Requirements

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

Library: Use Strmiids.lib.

See Also