BASS_CD_DoorIsOpen
Checks if a drive door/tray is open.
BOOL BASS_CD_DoorIsOpen(
DWORD drive
);
Parameters
drive | The drive to check... 0 = the first drive.
|
Return value
TRUE is returned if the door is open, else FALSE is returned.
Remarks
It is not possible to get the drive's current door status via the WIO interface. So the last known status will be returned in that case, which may not be accurate if the door has been opened or closed by another application, or manually.
See also
BASS_CD_Door, BASS_CD_DoorIsLocked, BASS_CD_IsReady, BASS_CD_SetInterface