Microsoft DirectX 9.0 |
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.
See Also