lib/driver/device.c: bug in close routine looping.

lib/*: Modify close routine for Win32 ioctl.
src/cdda-player: add option for close cd tray and minor things
This commit is contained in:
rocky
2005-03-08 03:11:19 +00:00
parent db3b2fa938
commit 7ae764d9b8
6 changed files with 80 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: win32.h,v 1.7 2005/03/07 00:55:31 rocky Exp $
$Id: win32.h,v 1.8 2005/03/08 03:11:19 rocky Exp $
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
@@ -120,7 +120,7 @@ audio_set_volume_win32ioctl ( void *p_user_data,
@param p_user_data the CD object to be acted upon.
*/
driver_return_code_t close_tray_win32ioctl (void *p_user_data);
driver_return_code_t close_tray_win32ioctl (const char *psz_win32_drive);
/*!
Reads an audio device using the DeviceIoControl method into data