MM_INSERT_FUNCTIONS

Moves media or magazine objects in and out of removable devices and changers.

Parameters

handle
The handle of the device.
function
Set to MM_INSERT_FUNCTIONS.
parameter1
Indicates the operation to perform:

0 = insert

1 = remove

parameter2
Contains the object ID of the media or magazine object to be inserted. A -1 specifies that new media should be inserted.
parameter3
Specifies the correct mail (exchange) slot in a media changer when there is more than one slot in the changer. This parameter should be 0 when there is only one mail slot, or if the device is a stand-alone device.
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

This operation generates console alerts.