This function associates an array of SWP structures with the process of repositioning a frame window.
#define INCL_WINFRAMEMGR /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> HSAVEWP hsvwp; /* Identifier of the frame window repositioning process. */ PSWP pswp; /* Array of SWP structures. */ ULONG cswp; /* Count of SWP structures. */ BOOL rc; /* Success indicator. */ rc = WinSaveWindowPos(hsvwp, pswp, cswp);