This method is called to get a pointer to a folder object that corresponds to a given file system location.
#define INCL_WINWORKPLACE
#include <os2.h>
M_WPObject *somSelf; /* Pointer to the WPObject class object. */
PSZ pLocation; /* Folder location. */
BOOL fLock; /* Lock object flag. */
WPFolder *Success; /* Success indicator. */
Success = _wpclsQueryFolder(somSelf, pLocation,
fLock);