This function is specific to OS/2 Version 3.0 or higher.
This function moves an object from its existing location to a specified new destination.
#define INCL_WINWORKPLACE
#include <os2.h>
HOBJECT hObjectofObject; /* Handle of the Workplace Shell object being moved. */
HOBJECT hObjectofDest; /* Handle of the destination folder into which hObjectofObject is to be moved. */
ULONG ulReserved; /* Reserved value; must be 0. */
HOBJECT rc; /* Handle of the source object being moved. */
rc = WinMoveObject(hObjectofObject, hObjectofDest,
ulReserved);