次の方法で共有


IBasicVideo::put_DestinationHeight

 
Microsoft DirectShow 9.0

IBasicVideo::put_DestinationHeight

The put_DestinationHeight method sets the height of the destination rectangle.

Syntax

  HRESULT put_DestinationHeight(
  long DestinationHeight
);

Parameters

DestinationHeight

[in] Specifies the height, in pixels.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_INVALIDARG Invalid argument. DestinationHeight 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