#include <revolution/card.h>
#define CARD_ATTR_PUBLIC 0x04u // Any program can read the file
#define CARD_ATTR_NO_COPY 0x08u // IPL cannot copy the file
#define CARD_ATTR_NO_MOVE 0x10u // IPL cannot move the file
s32 CARDGetAttributes( s32 chan, s32 fileNo, u8* attr );
chan |
EXI channel number. |
|
File entry number. |
|
Pointer to the attributes to read. |
One of the following codes:
CARD_RESULT_FATAL_ERROR
CARD_RESULT_NOCARD
CARD_RESULT_NOFILE
CARD_RESULT_NOPERM
CARD_RESULT_BUSY
CARD_RESULT_READY
Gets file attributes using a file number.
Memory Card Functions,
CARDSetAttributes, CARDSetAttributesAsync
2006/03/01 Initial version.
CONFIDENTIAL