Jump to content

WPDrives: Difference between revisions

From EDM2
Created page with "For disk objects (class WPDisk) you may use the following setup strings: Class WPDisk Key Name Value Description -------------------------------------..."
 
No edit summary
Line 14: Line 14:
'''Caution:''' You cannot delete a WPDisk object with the shredder! You need BlackHole or a similar tool to do this!
'''Caution:''' You cannot delete a WPDisk object with the shredder! You need BlackHole or a similar tool to do this!


[[Category:OS2 API]]
[[Category:The OS/2 API Project]]

Revision as of 03:35, 14 March 2013

For disk objects (class WPDisk) you may use the following setup strings:


 Class WPDisk

 Key Name         Value          Description
 -----------------------------------------------------------
 DRIVENUM         d              Logical drive number (01-26)

Note: WPDisk objects are used for CD-ROM drives, fixed disk drives, floppy diskette drives, magnetic tape drives, network drives, PCMCIA drives and RAM drives.

Use the keyword ICONRESOURCE to set the icon for WPDisk objects (see Creating drive objects for an example, see Icon resource in default OS/2 DLLs for a way to get the parameter for the keyword ICONRESOURCE)

Caution: You cannot delete a WPDisk object with the shredder! You need BlackHole or a similar tool to do this!