Author: akhaldi
Date: Sat Sep 25 15:51:42 2010
New Revision: 48878
URL:
http://svn.reactos.org/svn/reactos?rev=48878&view=rev
Log:
[PSDK]
- Add CDROM_TOC_SESSION_DATA structure.
[DDK]
- Add missing min and max macros.
Modified:
trunk/reactos/include/ddk/classpnp.h
trunk/reactos/include/psdk/ntddcdrm.h
Modified: trunk/reactos/include/ddk/classpnp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/classpnp.h?rev…
==============================================================================
--- trunk/reactos/include/ddk/classpnp.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/classpnp.h [iso-8859-1] Sat Sep 25 15:51:42 2010
@@ -12,6 +12,9 @@
#include <stdio.h>
#include <scsi.h>
+
+#define max(a,b) (((a) > (b)) ? (a) : (b))
+#define min(a,b) (((a) < (b)) ? (a) : (b))
#define SRB_CLASS_FLAGS_LOW_PRIORITY 0x10000000
#define SRB_CLASS_FLAGS_PERSISTANT 0x20000000
Modified: trunk/reactos/include/psdk/ntddcdrm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntddcdrm.h?re…
==============================================================================
--- trunk/reactos/include/psdk/ntddcdrm.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntddcdrm.h [iso-8859-1] Sat Sep 25 15:51:42 2010
@@ -164,6 +164,13 @@
} CDROM_TOC, *PCDROM_TOC;
#define CDROM_TOC_SIZE sizeof(CDROM_TOC)
+
+typedef struct _CDROM_TOC_SESSION_DATA {
+ UCHAR Length[2];
+ UCHAR FirstCompleteSession;
+ UCHAR LastCompleteSession;
+ TRACK_DATA TrackData[1];
+} CDROM_TOC_SESSION_DATA, *PCDROM_TOC_SESSION_DATA;
typedef struct _CDROM_TOC_ATIP_DATA_BLOCK {
UCHAR CdrwReferenceSpeed : 3;