Platform SDK: Win32 API

PARAMBLOCK

Contains information about locked drives.

PARAMBLOCK struc
    Operation db ? 
    NumLocks  db ? 
PARAMBLOCK ends
 

Members

Operation
Operation to carry out provided by the calling application of Lock/Unlock Removable Media (Interrupt 21h Function 440Dh Minor Code 48h). This member can be one of these values:
0 Locks the volume in the drive.
1 Unlocks the volume in the drive.
2 Returns the lock or unlock status.

All other values are reserved.

NumLocks
Number of locks pending on the given drive filled in by Lock/Unlock Removable Media.