共用方式為


IVMRImageCompositor9::TermCompositionDevice

 
Microsoft DirectShow 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

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also