This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method copies the fully-qualified or unqualified file name to a buffer.
#define INCL_WINWORKPLACE #include <os2.h> WPFileSystem *somSelf; /* Pointer to the object on which the method is being invoked. */ PSZ pszFilename; /* Pointer to the buffer containing the output file name. */ BOOL fQualified; /* Qualification requested flag. */ PSZ pszBuf; /* Pointer to the buffer containing the output filename. */ pszBuf = _wpQueryFilename(somSelf, pszFilename, fQualified);