Lock/Unlock (0x0007)

Locks media that has been loaded in a device.

Parameters

function
Set to 0x0007 for the lock/unlock media request.
parameter0
Specifies the operation to be performed:

0 = lock media selection 1 = unlock media selection

parameter1
Not used.
parameter2
Not used.
bufferLength
Not used.
buffer
Not used.

Return Values

The following table lists return values and descriptions.

0x00000000

ERROR_NO_ERROR_FOUND

Remarks

After being locked, the media cannot be manually ejected from the device by the operator using the front panel eject switch (if the device is so equipped).