FSE_MM_OBJ_INFO

Returns media management information.

Service:Server Environment
Defined In:nwfse.h

Structure

  typedef struct 
  { 
     MEDIA_INFO_DEF   MediaInfo ; 
     nuint32          mediaType ; 
     nuint32          cartridgeType ; 
     nuint32          unitSize ; 
     nuint32          blockSisze ; 
     nuint32          capacity ; 
     nuint32          preferredUnitSize ; 
     nuint8           name [64]; 
     nuint32          type ; 
     nuint32          status ; 
     nuint32          functionMask ; 
     nuint32          controlMask ; 
     nuint32          parentCount ; 
     nuint32          siblingCount ; 
     nuint32          childCount ; 
     nuint32          specificInfoSize ; 
     nuint32          objectUniqueID ; 
     nuint32          mediaSlot ; 
  } FSE_MM_OBJ_INFO;
  

Delphi Structure

  uses calwin32 
   
  FSE_MM_OBJ_INFO = packed Record 
      MediaInfo : MEDIA_INFO_DEF;  
      mediaType : nuint32;  
      cartridgeType : nuint32;  
      unitSize : nuint32;  
      blockSize : nuint32;  
      capacity : nuint32;  
      preferredUnitSize : nuint32;  
      name : Array[0..63] Of nuint8;  
      mediaManagerType : nuint32;  
      status : nuint32;  
      functionMask : nuint32;  
      controlMask : nuint32;  
      parentCount : nuint32;  
      siblingCount : nuint32;  
      childCount : nuint32;  
      specificInfoSize : nuint32;  
      objectUniqueID : nuint32;  
      mediaSlot : nuint32; 
    End;
  

Fields

MediaInfo
Points to MEDIA_INFO_DEF.
mediaType
Specifies the media type of the object, as follows:
  0  Hard disk  
  1  CD-ROM  
  2  WORM device  
  3  Tape device  
  4  Magneto-optical device 
  
cartridgeType
Specifies the type of cartridge or magazine the device can use, as follows:
  0x00000000  Fixed media  
  0x00000001  5.25 floppy 
  0x00000002  3.5 floppy  
  0x00000003  5.25 optical 
  0x00000004  3.5 optical  
  0x00000005  0.5 tape  
  0x00000006  0.25 tape  
  0x00000007  8 mm tape  
  0x00000008  4 mm tape  
  0x00000009  Bernoulli disk 
  
unitSize
Specifies the number of bytes per sector.
blockSize
Specifies the maximum number of sectors that the driver can handle per I/O request.
capacity
Specifies the maximum number of sectors on the device.
preferredUnitSize
Specifies the preferred transfer unit size for the device (from 512B to 1KB for formatted devices).
name
Specifies the length-preceded string representing the name of the object.
type
Specifies the media manager database type:
  0   AdApter Object  
  1   Changer object 
  2   Device object  
  4   Media object  
  5   Partition object  
  6   Slot object  
  7   Hotfix object  
  8   Mirror object  
  9   Parity object  
  10  Volume segment object  
  11  Volume object  
  12  Clone object  
  14  Magazine object
  15  Virtual device object
  FFFF  Unknown object type 
  
status
Specifies the status mask for the object:
  FSE_OBJECT_ACTIVATED            0x00000001 
  FSE_OBJECT_CREATED              0x00000002 
  FSE_OBJECT_SCRAMBLED            0x00000004 
  FSE_OBJECT_RESERVED             0x00000010 
  FSE_OBJECT_BEING_IDENTIFIED     0x00000020 
  FSE_OBJECT_MAGAZINE_LOADED      0x00000040 
  FSE_OBJECT_FAILURE              0x00000080 
  FSE_OBJECT_REMOVABLE            0x00000100 
  FSE_OBJECT_READ_ONLY            0x00000200 
  FSE_OBJECT_IN_DEVICE            0x00010000 
  FSE_OBJECT_ACCEPTS_MAGAZINES    0x00020000 
  FSE_OBJECT_IS_IN_A_CHANGER      0x00040000 
  FSE_OBJECT_LOADABLE             0x00080000 
  FSE_OBJECT_BEING_LOADED         0x00080000 
  FSE_OBJECT_DEVICE_LOCK          0x01000000 
  FSE_OBJECT_CHANGER_LOCK         0x02000000 
  FSE_OBJECT_REMIRRORING          0x04000000 
  FSE_OBJECT_SELECTED             0x08000000
  
functionMask
Specifies the function mask:
  0X0001  Random read 
  0x0002  Random write 
  0x0004  Random write once 
  0x0008  Sequential read 
  0x0010  Sequential write 
  0x0020  Reset end of tape 
  0x0040  Single file mark 
  0x0080  Multiple file mark 
  0x0100  Single set mark 
  0x0200  Multiple set mark 
  0x0400  Space data blocks 
  0x0800  Locate data blocks 
  0x1000  Position partition 
  0x2000  Position media
  
controlMask
Specifies the control mask:
  0x0001  FSE_ACTIVATE_DEACTIVE 
  0x0002  FSE_MOUNT_DISMOUNT 
  0x0004  FSE_SELECT_UNSELECT 
  0x0008  FSE_LOCK_UNLOCK 
  0x0010  FSE_EJECT 
  0x0020  FSE_MOVE 
  
parentCount
Specifies the number of parent objects for the device, usually 1.
siblingCount
Specifies the number of sibling objects for the device.
childCount
Specifies the number of child objects for the device.
specificInfoSize
Specifies the size of the data structures that will be returned.
objectUniqueID
Specifies the number which identifies the device in the media manager database.
mediaSlot
Specifies the number of the slot the device occupies.