#include <revolution/cnt.h>
s32 CNTReleaseHandle(CNTHandle* CntHandle);
CntHandle |
Pointer to the CNTHandle structure to release. |
For a NAND application, returns one of the following codes:
CNT_RESULT_OK
CNT_RESULT_ACCESS
CNT_RESULT_CORRUPT
CNT_RESULT_INVALID
CNT_RESULT_OUT_OF_MEMORY
CNT_RESULT_UNKNOWN
CNT_RESULT_FATAL
For a disc application, always returns CNT_RESULT_OK.
Releases the CNTHandle structure. FST memory is also released from the allocator.
Note: This function may put the current thread to sleep. Refer to Interrupts and Callback Functions.
CNTInitHandle
Interrupts and Callback Functions
2007/09/12 Added information about the sleep status of threads.
2006/12/04 Added result code descriptions.
2006/08/15 Initial version.
CONFIDENTIAL