This instance method returns the logical drive number that is represented by this disk object.
#define INCL_WINWORKPLACE #include <os2.h> WPDisk *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulDiskID; /* Logical drive identifier. */ ulDiskID = _wpQueryLogicalDrive(somSelf);