This method is specific to version 3, or higher, of the OS/2 operating system.

This class method returns the object pointer for a file or directory.

#define INCL_WINWORKPLACE
#include <os2.h>

M_WPFileSystem     *somSelf;    /*  Pointer to the WPFileSystem class object. */
PSZ                 pszFQPath;  /*  String containing the fully qualified path name (or object ID). */
WPObject           *pObject;    /*  Pointer to the object that represents the file or directory specified in pszFQPath. */

pObject = _wpclsQueryObjectFromPath(somSelf,
            pszFQPath);


[Back] [Next]