WpQueryDisk: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpQueryDisk}} 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. ==Syntax== _wpQueryDisk(somSelf) ==Parameters== ;''somSelf'' (WPFileSystem *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPFileSystem. ==Returns== ;''Disk'' (WPFileSystem *) - returns :Disk o..." |
(No difference)
|
Latest revision as of 21:46, 24 November 2025
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.
Syntax
_wpQueryDisk(somSelf)
Parameters
- somSelf (WPFileSystem *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPFileSystem.
Returns
- Disk (WPFileSystem *) - returns
- Disk object of the drive on which the file system is located.
Example Code
#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);