Jump to content

WPDrives: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
The "Drives" folder is an object of this class. There should only be one object of this class.
The "Drives" folder is an object of this class. There should only be one object of this class.


; Default Title: "Drives"
;Default Title: "Drives"
; DLL: [[PMWP.DLL]]
;DLL: [[PMWP.DLL]]
; Class definition file:  
;Class definition file: wpdrives.idl


==Remarks==
==Remarks==
For disk objects (class WPDisk) you may use the following setup strings:
For disk objects (class WPDisk) you may use the following setup strings:
 
{|class="wikitable"
Class WPDisk
|+Class WPDisk
 
!Key Name||Value||Description
Key Name         Value         Description
|-
-----------------------------------------------------------
|DRIVENUM||d||Logical drive number (01-26)
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.
'''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)
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!
;Caution: You cannot delete a WPDisk object with the shredder! You need BlackHole or a similar tool to do this!


==Class hierarchy SOMObject==
==Class hierarchy SOMObject==

Revision as of 01:43, 14 February 2020

The "Drives" folder is an object of this class. There should only be one object of this class.

Default Title
"Drives"
DLL
PMWP.DLL
Class definition file
wpdrives.idl

Remarks

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!

Class hierarchy SOMObject