5.0 Control Function Operations

This documentation alphabetically lists the following control function operations that can be submitted to the IO object while in the MM_CONTROL_MODE:

Control function operations, also known as IOCCTLs, typically manipulate the storage of media.

The set of control function operations available are defined by device object.

Control function operation hex code values are less than 0x00000020.

The control function operations defined in this documentation are passed as the function parameter in the IO APIs MM_ObjectIO, MM_ObjectBlockingIO, and MM_SpecialObjectBlockingIO functions.

Control function operations are those methods that deal with the management of storage devices and media. Some examples include activating a device, mounting media, moving media about an auto loader, loading a magazine on or unloading it from a device, or selecting a piece of media within a magazine, etc.

Before a control function operation can be submitted to an IO object, that IO object must be reserved in control mode. This is accomplished by the MM_ReserveIOObject api passing among, other parameters, the IO object being reserved and the MM_CONTROL_MODE to indicate a control mode reservation. Only control function operations can be submitted to the IO object while in this mode.

For a list of control functions sorted by hex code, see Control Function Operation Codes.