Compartir a través de


IVMRImagePresenterExclModeConfig::SetXlcModeDDObjAndPrimarySurface

 
Microsoft DirectShow 9.0

IVMRImagePresenterExclModeConfig::SetXlcModeDDObjAndPrimarySurface

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

Syntax

  

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.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also