MM_SELECT_FUNCTIONS

Selects or deselects an individual medium from a media magazine to be inserted into the device. It assumes that the magazine is loaded in a device.

Parameters

handle
The handle of the device, magazine or media object to be dismounted.
function
Set to MM_SELECT_FUNCTIONS.
parameter1
Indicates the operation to perform:0 select1 deselect
parameter2
The slot number of the slot containing the media to be moved ("selected") into a device, OR the slot number of an empty slot in the magazine where the media will go when it is moved ("deselected") from the device.
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

A selection of a media implies that the previously selected media is no longer selected.