MM_LOCK_FUNCTIONS

Locks media that has been loaded in a device.

Parameters

handle
The handle of a media or magazine object.
function
Set to MM_LOCK_FUNCTIONS.
parameter1
Indicates the operation to perform:

0 = lock media selection1 = unlock media selection

parameter2
Reserved. Set to zero.
parameter3
Reserved. Set to zero.
bufferLen
Set to zero.
buffer
Set to zero.
returnParameter
Not used.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

Remarks

Once 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).