Magazine Unload (0x001D - 0x0006)

Directs the CDM to inhibit the execution of any subsequent magazine messages until another magazine load message is received.

Parameters

function
Set to 0x001D – magazine function.
parameter0
0x0006 – magazine unload.
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

IMPORTANT:Mandatory for removables with magazines.

This is a Media Manager control function [packaged in a CDMMessageStruct] that has 0x001D as the value in its function field to identify that it is a function in the magazine category. The value in parameter0 acts as a subfunction index (0x0006) to identify what function to perform. The CDM can either implement a secondary jump table using the value in parameter0 as an index or use a switch statement on parameter0 to call its routine to field the message.

The Magazine messages other than Magazine Load should be returned with a Magazine Not Present completion code.