Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
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] Specifies the D3DDevice 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