##### Shinobi Library - Memory Card Function

# buGetDiskInfo

Gets memory card information

### FORMAT

`

  Sint32 buGetDiskInfo( drive, *info )
  Sint32 drive
  BUS_DISKINFO *info

`

### PARAMETER

  `drive` | Extension socket number
  `*info` | Address of memory card information structure

### RETURN

  BUD_ERR_OK Normal end

### DESCRIPTION

  Gets information from the memory card for a specified extension socket.

  The following values can be designated for `drive` that specifies operand extension sockets.

  BUD_DRIVE_A1 | Extension socket 1 on board A
  BUD_DRIVE_A2 | Extension socket 2 on board A
  BUD_DRIVE_B1 | Extension socket 1 on board B
  BUD_DRIVE_B2 | Extension socket 2 on board B
  BUD_DRIVE_C1 | Extension socket 1 on board C
  BUD_DRIVE_C2 | Extension socket 2 on board C
  BUD_DRIVE_D1 | Extension socket 1 on board D
  BUD_DRIVE_D2 | Extension socket 2 on board D

### EXAMPLE

      BUS_DISKINFO info;
      Sint32 ret;
      ret = buGetDiskInfo(BUD_DRIVE_A1, &info);
      if (ret &lt; 0) return NG;

buGetDiskInfo

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999