This instance method is called to allow the shadow object to query the object it is currently linked to.
#define INCL_WINWORKPLACE #include <os2.h> WPShadow *somSelf; /* Pointer to the object on which the method is being invoked. */ BOOL fLock; /* Lock object flag. */ WPObject *Success; /* Success indicator. */ Success = _wpQueryShadowedObject(somSelf, fLock);