Microsoft DirectX 9.0

IVMRMixerControl9::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  dwZ
);

Parameters

dwStreamID

[in]  Specifies the input stream.

dwZ

[in]  Double word containing the stream's position within 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.
VFW_E_NOT_CONNECTED The pin is not connected.

Requirements

Include D3d9.h, Vmr9.h.

See Also