Use mci command for close for now.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: win32.c,v 1.28 2005/03/09 02:19:54 rocky Exp $
|
||||
$Id: win32.c,v 1.29 2005/03/09 02:36:25 rocky Exp $
|
||||
|
||||
Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
static const char _rcsid[] = "$Id: win32.c,v 1.28 2005/03/09 02:19:54 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: win32.c,v 1.29 2005/03/09 02:36:25 rocky Exp $";
|
||||
|
||||
#include <cdio/cdio.h>
|
||||
#include <cdio/sector.h>
|
||||
@@ -822,8 +822,8 @@ cdio_is_device_win32(const char *source_name)
|
||||
driver_return_code_t
|
||||
close_tray_win32 (const char *psz_win32_drive)
|
||||
{
|
||||
#if 0
|
||||
return open_close_media_win32(psz_win32_drive, MCI_SET_DOOR_CLOSED);
|
||||
#if 1
|
||||
return open_close_media_win32(psz_win32_drive, MCI_SET_DOOR_CLOSED|MCI_WAIT);
|
||||
#else
|
||||
#ifdef HAVE_WIN32_CDROM
|
||||
if ( WIN_NT ) {
|
||||
@@ -834,8 +834,8 @@ close_tray_win32 (const char *psz_win32_drive)
|
||||
#else
|
||||
return DRIVER_OP_UNSUPPORTED;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/*!
|
||||
Initialization routine. This is the only thing that doesn't
|
||||
|
||||
Reference in New Issue
Block a user