CARDGetAttributes

C Specification

#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 );

Arguments

chan EXI channel number.
fileNo File entry number.
attr Pointer to the attributes to read.

Return Values

One of the following codes:

CARD_RESULT_FATAL_ERROR
CARD_RESULT_NOCARD
CARD_RESULT_NOFILE
CARD_RESULT_NOPERM
CARD_RESULT_BUSY
CARD_RESULT_READY

Description

Gets file attributes using a file number.

See Also

Memory Card Functions,
CARDSetAttributes, CARDSetAttributesAsync

Revision History

2006/03/01 Initial version.


CONFIDENTIAL