This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method returns the folder that this object resides in.
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ WPObject *Object; /* Pointer to the container object that contains the given object. */ Object = _wpQueryFolder(somSelf);