diff --git a/lib/driver/MSWindows/win32.c b/lib/driver/MSWindows/win32.c index 31c65de0..a6ae3c3e 100644 --- a/lib/driver/MSWindows/win32.c +++ b/lib/driver/MSWindows/win32.c @@ -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 @@ -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 #include @@ -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