CARDFormatAsync

C Specification

#include <revolution/card.h>

typedef void (*CARDCallback)( s32 chan, s32 result );
s32 CARDFormatAsync(s32 chan, CARDCallback callback);

Arguments

chan EXI channel number.
callback Callback function to notify about the result.

Return Values

One of the following codes:

CARD_RESULT_FATAL_ERROR
CARD_RESULT_NOCARD
CARD_RESULT_BUSY
CARD_RESULT_IOERROR
CARD_RESULT_READY

Description

Asynchronously formats a Memory Card.

Note: This function is provided for debugging. Do not use in programs.

See Also

Revision History

2006/03/01 Initial version.


CONFIDENTIAL