|Microsoft DirectX 9.0|
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.
HRESULT TermCompositionDevice( IUnknown* pD3DDevice );
[in] Pointer to the IUnknown interface of the Direct3D device object.
The method returns an HRESULT. Possible values include those in the following table.
|S_OK||The method succeeded.|
Include D3d9.h, Vmr9.h.