Microsoft DirectX 9.0

IVMRMixerControl::GetZOrder

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

Syntax

HRESULT GetZOrder(
  DWORD dwStreamID,
  DWORD*  pZOrder
);

Parameters

dwStreamID

[in] Specifies the input stream.

pZOrder

[out]  Pointer to a DWORD that receives the current position in the Z-order.

Return Values

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

Error Code Description
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.

See Also