A program or Workplace Shell object would call the following methods to set information about a disk object. These methods are not normally overridden.
┌──────────────────────────────┬──────────────────────────────┐ │Method Name │Description │ ├──────────────────────────────┼──────────────────────────────┤ │wpQueryDriveLockStatus │Returns the lock status of a │ │ │disk object. │ ├──────────────────────────────┼──────────────────────────────┤ │wpQueryLogicalDrive │Returns the logical drive │ │ │number for a disk object. │ ├──────────────────────────────┼──────────────────────────────┤ │wpQueryRootFolder │Returns the root folder object│ │ │for the logical drive │ │ │represented by a disk object. │ └──────────────────────────────┴──────────────────────────────┘
A program or Workplace Shell object would call the following method to set information about a disk object. A disk object would override this method to define its characteristics.
┌──────────────────────────────┬──────────────────────────────┐ │Method Name │Description │ ├──────────────────────────────┼──────────────────────────────┤ │wpSetCorrectDiskIcon │Sets the correct icon for the │ │ │disk object. │ └──────────────────────────────┴──────────────────────────────┘