This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method links the shadow object to the specified object.
#define INCL_WINWORKPLACE #include <os2.h> WPShadow *somSelf; /* Pointer to the object on which the method is being invoked. */ WPObject *FromObject; /* Pointer to the object to be linked to the shadow. */ BOOL rc; /* Success indicator. */ rc = _wpSetLinkToObject(somSelf, FromObject);