summaryrefslogtreecommitdiff
path: root/includes/cdabstract.h
diff options
context:
space:
mode:
authorpixel <pixel>2003-12-11 16:53:42 +0000
committerpixel <pixel>2003-12-11 16:53:42 +0000
commitbacf50104daa09cd90f8dc36c06a6982d91000af (patch)
tree863ace96383ca62afc109bfca550dc64e59ce99d /includes/cdabstract.h
parent5695a4b1e91154f8b9bae6d62eb9313b973fc6bd (diff)
Linux ports
Diffstat (limited to 'includes/cdabstract.h')
-rw-r--r--includes/cdabstract.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/includes/cdabstract.h b/includes/cdabstract.h
index ceec437..9a728ec 100644
--- a/includes/cdabstract.h
+++ b/includes/cdabstract.h
@@ -17,30 +17,30 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: cdabstract.h,v 1.4 2003-12-04 01:55:15 pixel Exp $ */
+/* $Id: cdabstract.h,v 1.5 2003-12-11 16:53:42 pixel Exp $ */
#ifndef __CD_ABSTRACT_H__
#define __CD_ABSTRACT_H__
#if defined (_MSC_VER) || defined (__MINGW32__)
#include <windowsx.h>
-
-#define IOCTL_SCSI_BASE 0x00000004
-
-#define METHOD_BUFFERED 0
-#define METHOD_OUT_DIRECT 2
-
-#define FILE_ANY_ACCESS 0
-#define FILE_READ_ACCESS 0x0001
-
-#define CTL_CODE( DevType, Function, Method, Access ) ( \
- ((DevType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method) \
-)
-#define IOCTL_SCSI_GET_ADDRESS CTL_CODE( IOCTL_SCSI_BASE, 0x0406, METHOD_BUFFERED, FILE_ANY_ACCESS )
-#define FILE_DEVICE_CD_ROM 0x00000002
-#define IOCTL_CDROM_BASE FILE_DEVICE_CD_ROM
-#define IOCTL_CDROM_RAW_READ CTL_CODE(IOCTL_CDROM_BASE, 0x000F, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
-
+
+#define IOCTL_SCSI_BASE 0x00000004
+
+#define METHOD_BUFFERED 0
+#define METHOD_OUT_DIRECT 2
+
+#define FILE_ANY_ACCESS 0
+#define FILE_READ_ACCESS 0x0001
+
+#define CTL_CODE( DevType, Function, Method, Access ) ( \
+ ((DevType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method) \
+)
+#define IOCTL_SCSI_GET_ADDRESS CTL_CODE( IOCTL_SCSI_BASE, 0x0406, METHOD_BUFFERED, FILE_ANY_ACCESS )
+#define FILE_DEVICE_CD_ROM 0x00000002
+#define IOCTL_CDROM_BASE FILE_DEVICE_CD_ROM
+#define IOCTL_CDROM_RAW_READ CTL_CODE(IOCTL_CDROM_BASE, 0x000F, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
+
#endif
#include <vector>