IVMRMixerControl9::SetZOrder

 
Microsoft DirectShow 9.0

IVMRMixerControl9::SetZOrder

The SetZOrder method sets this video stream's position in the Z-order; larger values are further away.

Syntax

  HRESULT SetZOrder(
  DWORD  dwStreamID,
  DWORD  dwZ
);

Parameters

dwStreamID

[in]  Specifies the input stream. This value corresponds to the input pin. For example, the first input pin is stream 0.

dwZ

[in]  Double word containing the stream's position within the Z-order.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.
VFW_E_NOT_CONNECTED The pin is not connected.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also