Export (0) Print
Expand All

IBasicVideo::put_DestinationWidth method

The put_DestinationWidth method sets the width of the destination rectangle.

Syntax


HRESULT put_DestinationWidth(
  [in]  long DestinationWidth
);

Parameters

DestinationWidth [in]

Specifies the width, in pixels.

Return value

Returns an HRESULT value. Possible values include the following.

Return codeDescription
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

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