This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method returns the disk object for the drive on which the file system object is located.
#define INCL_WINWORKPLACE #include <os2.h> WPFileSystem *somSelf; /* Pointer to the object on which the method is being invoked. */ WPFileSystem *Disk; /* Disk object of the drive on which the file system is located. */ Disk = _wpQueryDisk(somSelf);