This instance method is called to allow the object to query the type of its file.
#define INCL_WINWORKPLACE #include <os2.h> WPFileSystem *somSelf; /* Pointer to the object on which the method is being invoked. */ PSZ ptype; /* Pointer to a buffer containing the file type. */ ptype = _wpQueryType(somSelf);