#include <revolution/dvd.h> s32 DVDGetCommandBlockStatus(const DVDCommandBlock* commandBlock);
| commandBlock | Command block to check; used for calling the DVD API by that time. |
|---|
| 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: Controller input wait state will not be supported in the near term.
Note: The GameCube error messages DVD_STATE_COVER_OPEN and DVD_STATE_IGNORED were deleted.
Checks the command block status.
DVDGetFileInfoStatus, DVDGetDriveStatus
2006/09/19 Deleted explanation of DVD_STATE_NO_INPUT.
2006/09/07 Added explanation of DVD_STATE_NO_INPUT.
2006/03/01 Initial version.
CONFIDENTIAL