This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method replaces an object in another folder.
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ WPObject *targetObject; /* Object to replace. */ BOOL32 fMove; /* Type of move flag. */ BOOL32 rc; /* Success indicator */ rc = _wpReplaceObject(somSelf, targetObject, fMove);