Microsoft DirectX 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.

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

Include D3d9.h, Vmr9.h.

See Also