Microsoft DirectX 9.0

IVMRImageCompositor9::TermCompositionDevice

The TermCompositionDevice 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.

Syntax

HRESULT TermCompositionDevice(
  IUnknown*  pD3DDevice
);

Parameters

pD3DDevice

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

Return Values

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

Value Description
S_OK The method succeeded.

Requirements

Include D3d9.h, Vmr9.h.

See Also