This instance method is called to create a shadow of an 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 new shadow object. */ rc = _wpCreateShadowObject(somSelf, Folder, fLock);