This function is specific to OS/2 Version 3.0 or higher.
This function saves the state of an object.
#define INCL_WINWORKPLACE #include <os2.h> HOBJECT hObject; /* Handle of the object to be saved. */ BOOL fAsync; /* Asynchronous flag. */ BOOL rc; /* Success indicator. */ rc = WinSaveObject(hObject, fAsync);