Compartilhar via


IVMRMixerControl::SetZOrder

 
Microsoft DirectShow 9.0

IVMRMixerControl::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
  
  dwZOrder

  );

Parameters

dwStreamID

[in] Specifies the input stream.

dwZOrder

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

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Error Code Description
VFW_E_NOT_CONNECTED The pin is not connected.

Remarks

The default Z-order is the order in which the pins were created. You only need to use this method if you wish to modify the default Z-order.

Requirements

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

Library: Use Strmiids.lib.

See Also