Microsoft DirectX 9.0

IVMRImagePresenterExclModeConfig::SetXlcModeDDObjAndPrimarySurface

The SetXlcModeDDObjAndPrimarySurface method informs the VMR of the DirectDraw object and primary surface that were created by the application.

Syntax

HRESULT SetXlcModeDDObjAndPrimarySurface(
  LPDIRECTDRAW7 lpDDObj,
  LPDIRECTDRAWSURFACE7 lpPrimarySurf
);

Parameters

lpDDObj

[in] Specifies the Exclusive Mode DirectDraw object created by the application.

lpPrimarySurf

[in] Specifies the primary surface associated with the DirectDraw object.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.

Remarks

The procedure for configuring and using an application-defined DirectDraw Exclusive Mode object is described in DirectDraw Exclusive Mode.

See Also