This method is specific to version 3, or higher, of the OS/2 operating system.
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. */
PSZ pszSetup; /* Pointer to a setup string. */
M_WPObject *shadowClass; /* Class of the new shadow object. */
WPObject *Object; /* Pointer to the new shadow object. */
Object = _wpCreateShadowObjectExt(somSelf,
Folder, fLock, pszSetup, shadowClass);