This instance method is called to create a new copy of the object.
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ WPFolder *Folder; /* Pointer to a Folder object. */ BOOL fLock; /* Lock object flag. */ WPObject *rc; /* Pointer to the newly created object. */ rc = _wpCopyObject(somSelf, Folder, fLock);