This is a method of the IDirectDrawSurface Interface.
public void deleteAttachedSurface(int flags, DirectDrawSurface ddS);