Rendering Formats Before Termination

When an application is destroyed, it loses its knowledge of how to render data it has copied to the clipboard. Accordingly, when the application that owns the clipboard is being destroyed, Windows sends that application a special message, WM_RENDERALLFORMATS. Upon receiving a WM_RENDERALLFORMATS message, an application should follow the steps described in the previous section for all formats that the application is capable of generating.