WM_CloseNonPrimaryWindows

This will close all windows that are not the primary window. If the window does not close, for example due to a user pressing cancel on a file modified save or not box, then this will report an error.