CARDGetMemSize

C Specification

#include <revolution/card.h>
s32 CARDGetMemSize(s32 chan, u16* size);

Arguments

chan EXI channel number.
size Pointer to u16 type for receiving the result.

Return Values

One of the following codes:

CARD_RESULT_FATAL_ERROR
CARD_RESULT_NOCARD
CARD_RESULT_BUSY
CARD_RESULT_READY

Description

Gets the memory size of the specified Memory Card in megabits (Mb). The size returned will be 4, 8, 16, 32, 64, or 128 Mb.

See Also

Revision History

03/01/2006 Initial version.