Partager via


IVMRMixerControl9::GetZOrder

 
Microsoft DirectShow 9.0

IVMRMixerControl9::GetZOrder

The GetZOrder method retrieves this video stream's position in the Z-order.

Syntax

  HRESULT GetZOrder(
  DWORD  dwStreamID,
  DWORD*  pZ
);

Parameters

dwStreamID

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

pZ

[out]  Pointer that receives the current position in 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.
E_POINTER pZ is invalid.
VFW_E_NOT_CONNECTED The pin is not connected.

Remarks

The default Z-order is the order in which the pins were created.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also