DVDGetCommandBlockStatus

C Specification

#include <revolution/dvd.h>
s32 DVDGetCommandBlockStatus(const DVDCommandBlock* commandBlock);

Arguments

commandBlock Command block to check. Should be used by calling the DVD API in advance.

Return Values

DVD_STATE_FATAL_ERROR Fatal error occurred.
DVD_STATE_END Request complete or no request.
DVD_STATE_BUSY Request is currently processing.
DVD_STATE_WAITING Request is entering the queue and waiting for processing.
DVD_STATE_NO_DISK No disk in the drive.
DVD_STATE_WRONG_DISK Wrong disk in the drive.
DVD_STATE_MOTOR_STOPPED Motor stopped.
DVD_STATE_CANCELED Request canceled.
DVD_STATE_RETRY Retry error occurred.

Note: The GameCube error messages DVD_STATE_COVER_OPEN and DVD_STATE_IGNORED were deleted.

Description

Checks the command block status.

See Also

DVDGetFileInfoStatus
DVDGetDriveStatus

Revision History

03/01/2006 Initial version.