# mfsHGetVolumeInfo

Format: s32 mfsHGetVolumeInfo(s32 drive, MfsVolumeInfo* volumeInfo)

Arguments:

drive Drive name ('A', 'B', ...)
*volumeInfo Buffer for storing volume information

Return value:Error

Function: Obtains volume information

Description: This function obtains volume information for the drive specified by drive and stores it in the MfsVolumeInfo structure buffer specified by volumeInfo. The MfsVolumeInfo structure consists of the following members.

    typedef struct st_VolumeInfo {
    	LEODiskTime time;		// Date volume was formatted
    	u16 renewalCounter;		// update counter
    	u8 name[MFS_VOLUME_NAME_SIZE];	//Volume name
    	u8 attribute;			// Volume attribute
    	u8 destination;			// Destination code
    } MfsVolumeInfo;

Main errors:

    MFS_ERR_NO		Normal termination
    MFS_ERR_NOTFOUND	Drive not found