This function is specific to OS/2 Version 3.0 or higher.
This function creates a shadow of an object and places it in a specified location.
#define INCL_WINWORKPLACE
#include <os2.h>
HOBJECT hObjectofObject; /* Handle of the object from which the shadow is to be created. */
HOBJECT hObjectofDest; /* Handle of the folder into which hObjectofObject is to be placed. */
ULONG ulReserved; /* Reserved value; must be 0. */
HOBJECT rc; /* Handle of the newly created shadow object. */
rc = WinCreateShadow(hObjectofObject, hObjectofDest,
ulReserved);