Implemented IOCTL_CDROM_GET_DRIVE_GEOMETRY.

Some fixes to enable mounting of cdroms.

svn path=/trunk/; revision=2838
This commit is contained in:
Eric Kohl
2002-04-10 17:02:22 +00:00
parent 62b86daaf8
commit f1bc2201f0
4 changed files with 52 additions and 3 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
/* $Id: ntddk.h,v 1.26 2002/01/14 01:41:08 ekohl Exp $
/* $Id: ntddk.h,v 1.27 2002/04/10 17:01:10 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@ -26,6 +26,7 @@ extern "C"
#include <ntos/types.h>
#include <ntos/time.h>
#include <ntos/cdrom.h>
#include <ntos/disk.h>
#include <ntos/registry.h>
#include <ntos/port.h>
+21
View File
@@ -0,0 +1,21 @@
/* $Id: cdrom.h,v 1.1 2002/04/10 17:00:52 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: include/ntos/cdrom.h
* PURPOSE: CD-ROM related definitions used by all the parts of the system
* PROGRAMMER: Eric Kohl <[email protected]>
* UPDATE HISTORY:
* 10/04/2002: Created
*/
#ifndef __INCLUDE_NTOS_CDROM_H
#define __INCLUDE_NTOS_CDROM_H
#define IOCTL_CDROM_GET_DRIVE_GEOMETRY CTL_CODE(FILE_DEVICE_CD_ROM, 0x0013, METHOD_BUFFERED, FILE_READ_ACCESS)
#endif /* __INCLUDE_NTOS_CDROM_H */
/* EOF */