Share via


IVMRImageCompositor::TermCompositionTarget

 
Microsoft DirectShow 9.0

IVMRImageCompositor::TermCompositionTarget

The TermCompositionTarget method informs the compositor that the current composition target is being replaced. Compositors should perform any necessary cleanup of the composition target in this method.

  HRESULT TermCompositionTarget(
  IUnknown*  pD3DDevice,
  LPDIRECTDRAWSURFACE7  pddsRenderTarget
);

Parameters

pD3DDevice

[in]  Pointer to the IUnknown interface of the Direct3D device object.

pddsRenderTarget

[in]  Specifies the DirectDraw surface

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Requirements

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

Library: Use Strmiids.lib.

See Also