Window.Snapshot is the programmer's interface to MUI's
window position remembering facility. Snapshotting a window is
only possible if Window.MuiID was set for this window.
Inputs
id
id of the window object
flags
use 0 to unsnapshot the window, 1 to snapshot the window.