ChangerSpecificInfoDef

Returned by MM_ReturnObjectSpecificInfo when a Changer OBID is passed to it.

Syntax

  struct ChangerSpecificInfoDef 
  { 
      LONG   status; 
      LONG   numberofdevices; 
      LONG   numberofslots; 
      LONG   numberofmailslots; 
      LONG   reserved[8];  
      OBID   slotmappingtable[]; 
  };
  

Fields

status
This value is identical to the status field in the IOObjectGenericInfoDef structure.
numberofdevices
The number of IO devices in the changer.
numberofslots
Number of portals (slots) through which media or magazines are inserted or removed from the changer.
reserved
Set entire array to zero.
slotmappingtable
This table contains the OBIDs of the all the devices, slots, and mail slots of the changer, in that order. That is to say, if there were 2 devices, 16 slots and 1 mail slot, then this array would contain, starting with elements 0 and 1, the two device OBIDs; elements 2 through 17 would be the slot OBIDs beginning with slot 0; and finally, element 18 would be the OBID for the mail slot.

All elements without a defined OBID will contain the value -1. Since this structure is dynamic, the generic information for the changer object should be obtained first to discover the size of this specific information.