Microsoft DirectX 8.1 (C++)

IVMRMixerControl::GetZOrder

This topic applies to Windows XP Home Edition and Windows XP Professional only.

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