This method of the DirectDrawSurface Class detaches two attached surfaces. The detached surface is not released.
public void deleteAttachedSurface(int flags, DirectDrawSurface ddS);
flags | Reserved; must be 0. |
ddS | The DirectDrawSurface object to detach. If this parameter is null, all attached surfaces are detached. |