ReactOS  0.4.14-dev-114-gc8cbd56
cdrw_usr.h File Reference
#include "cdrw_hw.h"
#include <ntddcdrm.h>
#include <ntddcdvd.h>
#include "winioctl.h"
Include dependency graph for cdrw_usr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _SET_CD_SPEED_USER_IN
 
struct  _SET_CD_SPEED_EX_USER_IN
 
struct  _SET_STREAMING_USER_IN
 
struct  _SYNC_CACHE_USER_IN
 
struct  _BUFFER_CAPACITY_BLOCK_USER_OUT
 
struct  _TRACK_INFO_BLOCK_USER_OUT
 
struct  _TRACK_INFO_BLOCK_USER_IN
 
struct  _GET_SIGNATURE_USER_OUT
 
struct  _BLANK_MEDIA_USER_IN
 
struct  _RESERVE_TRACK_USER_IN
 
struct  _RESERVE_TRACK_EX_USER_IN
 
struct  _LL_WRITE_USER_IN
 
struct  _FORMAT_CDRW_PARAMETERS_USER_IN
 
struct  _CLOSE_TRK_SES_USER_IN
 
struct  _PREVENT_MEDIA_REMOVAL_USER_IN
 
struct  _SET_RANDOM_ACCESS_USER_IN
 
struct  _DISC_STATUS_INFO_USER_OUT
 
struct  _DISC_INFO_BLOCK_USER_OUT
 
struct  _TEST_UNIT_READY_USER_IN
 
struct  _TEST_UNIT_READY_USER_OUT
 
struct  _GET_MEDIA_TYPE_USER_OUT
 
struct  _GET_MEDIA_TYPE_EX_USER_OUT
 
struct  _MODE_SENSE_USER_IN
 
struct  _MODE_SENSE_USER_OUT
 
struct  _MODE_SELECT_USER_IN
 
struct  _MODE_WRITE_PARAMS_PAGE_USER
 
struct  _SET_READ_AHEAD_USER_IN
 
struct  _GET_CAPABILITIES_USER_OUT
 
struct  _GET_CAPABILITIES_3_USER_OUT
 
struct  _LUN_WRITE_PERF_DESC_USER
 
struct  _SEND_OPC_INFO_USER_IN
 
struct  _SEND_OPC_INFO_HEADER_USER_IN
 
struct  _LL_READ_USER_IN
 
struct  _GET_LAST_ERROR_USER_OUT
 
struct  _RAW_READ_USER_IN
 
struct  _PLAY_AUDIO_MSF_USER_IN
 
struct  _SUB_Q_CHANNEL_DATA_USER_IN
 
struct  _SEEK_AUDIO_MSF_USER_IN
 
struct  _AUDIO_CONTROL_USER_OUT
 
struct  _INIT_DEINIT_USER_IN
 
struct  _READ_SESSION_INFO_USER_IN
 
struct  _READ_TOC_EX_USER_IN
 
struct  _SET_DEFAULT_SESSION_USER_IN
 
struct  _NOTIFY_MEDIA_CHANGE_USER_IN
 
struct  _GET_DEVICE_INFO_OLD_USER_OUT
 
struct  _GET_DEVICE_INFO_USER_OUT
 
struct  _GET_EVENT_USER_IN
 
union  _GET_EVENT_USER_OUT
 
struct  _DVD_READ_STRUCTURE_USER_IN
 
struct  _DVD_READ_STRUCTURE_USER_OUT
 
struct  _DVD_START_SESSION_USER_OUT
 
struct  _DVD_READ_KEY_USER_IN
 
struct  _DISK_VERIFY_USER_IN
 
struct  _CDROM_DISK_DATA_USER_OUT
 
struct  _CDRW_RESET_DRIVER_USER_IN
 
struct  _MediaTrackMap
 
struct  _GET_DISK_LAYOUT_USER_OUT
 

Macros

#define CDRW_SIGNATURE_v1   "ALWA CD-R/W v1"
 
#define FILE_DEVICE_SECURE_OPEN   0x00000100
 
#define IRP_MJ_PNP   IRP_MJ_PNP_POWER
 
#define FILE_DEVICE_CDRW   0x00000999
 
#define IOCTL_CDROM_MEDIA_REMOVAL   CTL_CODE(IOCTL_CDROM_BASE, 0x0201, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_CDROM_EJECT_MEDIA   CTL_CODE(IOCTL_CDROM_BASE, 0x0202, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_CDROM_LOAD_MEDIA   CTL_CODE(IOCTL_CDROM_BASE, 0x0203, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define CDRW_CTL_CODE_R(a, b)   CTL_CODE(FILE_DEVICE_CDRW, a,b, FILE_READ_DATA)
 
#define CDRW_CTL_CODE_W(a, b)   CTL_CODE(FILE_DEVICE_CDRW, a,b, FILE_READ_DATA)
 
#define CDRW_CTL_CODE_A(a, b)   CTL_CODE(FILE_DEVICE_CDRW, a,b, FILE_READ_DATA)
 
#define CDRW_CTL_CODE_X(a, b)   CTL_CODE(FILE_DEVICE_CDRW, a,b, FILE_ANY_ACCESS )
 
#define IOCTL_CDRW_LOCK_DOOR   CDRW_CTL_CODE_R(0x801, METHOD_BUFFERED)
 
#define IOCTL_CDRW_SET_SPEED   CDRW_CTL_CODE_R(0x802, METHOD_BUFFERED)
 
#define IOCTL_CDRW_SYNC_CACHE   CDRW_CTL_CODE_W(0x803, METHOD_BUFFERED)
 
#define IOCTL_CDRW_GET_CAPABILITIES   CDRW_CTL_CODE_X(0x804, METHOD_BUFFERED)
 
#define IOCTL_CDRW_GET_SPEED   IOCTL_CDRW_GET_CAPABILITIES
 
#define IOCTL_CDRW_GET_MEDIA_TYPE   CDRW_CTL_CODE_X(0x805, METHOD_BUFFERED)
 
#define IOCTL_CDRW_GET_WRITE_MODE   CDRW_CTL_CODE_R(0x806, METHOD_BUFFERED)
 
#define IOCTL_CDRW_SET_WRITE_MODE   CDRW_CTL_CODE_W(0x807, METHOD_BUFFERED)
 
#define IOCTL_CDRW_RESERVE_TRACK   CDRW_CTL_CODE_W(0x808, METHOD_BUFFERED)
 
#define IOCTL_CDRW_BLANK   CDRW_CTL_CODE_R(0x809, METHOD_BUFFERED)
 
#define IOCTL_CDRW_CLOSE_TRK_SES   CDRW_CTL_CODE_W(0x80a, METHOD_BUFFERED)
 
#define IOCTL_CDRW_LL_WRITE   CDRW_CTL_CODE_R(0x80b, METHOD_BUFFERED)
 
#define IOCTL_CDRW_READ_TRACK_INFO   CDRW_CTL_CODE_R(0x80c, METHOD_IN_DIRECT)
 
#define IOCTL_CDRW_READ_DISC_INFO   CDRW_CTL_CODE_R(0x80d, METHOD_IN_DIRECT)
 
#define IOCTL_CDRW_BUFFER_CAPACITY   CDRW_CTL_CODE_A(0x80e, METHOD_IN_DIRECT)
 
#define IOCTL_CDRW_GET_SIGNATURE   CDRW_CTL_CODE_X(0x80f, METHOD_BUFFERED)
 
#define IOCTL_CDRW_RESET_DRIVER   CDRW_CTL_CODE_A(0x810, METHOD_BUFFERED)
 
#define IOCTL_CDRW_FORMAT_UNIT   CDRW_CTL_CODE_W(0x811, METHOD_BUFFERED)
 
#define IOCTL_CDRW_SET_RANDOM_ACCESS   CDRW_CTL_CODE_W(0x812, METHOD_BUFFERED)
 
#define IOCTL_CDRW_TEST_UNIT_READY   CDRW_CTL_CODE_X(0x813, METHOD_BUFFERED)
 
#define IOCTL_CDRW_RESET_WRITE_STATUS   CDRW_CTL_CODE_X(0x814, METHOD_BUFFERED)
 
#define IOCTL_CDRW_GET_LAST_ERROR   CDRW_CTL_CODE_R(0x815, METHOD_BUFFERED)
 
#define IOCTL_CDRW_MODE_SENSE   CDRW_CTL_CODE_X(0x816, METHOD_BUFFERED)
 
#define IOCTL_CDRW_MODE_SELECT   CDRW_CTL_CODE_R(0x817, METHOD_BUFFERED)
 
#define IOCTL_CDRW_SET_READ_AHEAD   CDRW_CTL_CODE_R(0x818, METHOD_BUFFERED)
 
#define IOCTL_CDRW_SET_DEFAULT_SESSION   CDRW_CTL_CODE_R(0x819, METHOD_BUFFERED)
 
#define IOCTL_CDRW_NOTIFY_MEDIA_CHANGE   CDRW_CTL_CODE_X(0x81a, METHOD_BUFFERED)
 
#define IOCTL_CDRW_SEND_OPC_INFO   CDRW_CTL_CODE_W(0x81b, METHOD_BUFFERED)
 
#define IOCTL_CDRW_LL_READ   CDRW_CTL_CODE_R(0x81c, METHOD_BUFFERED)
 
#define IOCTL_CDRW_SEND_CUE_SHEET   CDRW_CTL_CODE_W(0x81d, METHOD_OUT_DIRECT)
 
#define IOCTL_CDRW_INIT_DEINIT   CDRW_CTL_CODE_A(0x81e, METHOD_BUFFERED)
 
#define IOCTL_CDRW_READ_FULL_TOC   CDRW_CTL_CODE_R(0x81f, METHOD_BUFFERED)
 
#define IOCTL_CDRW_READ_PMA   CDRW_CTL_CODE_R(0x820, METHOD_BUFFERED)
 
#define IOCTL_CDRW_READ_SESSION_INFO   CDRW_CTL_CODE_R(0x821, METHOD_BUFFERED)
 
#define IOCTL_CDRW_READ_ATIP   CDRW_CTL_CODE_R(0x822, METHOD_BUFFERED)
 
#define IOCTL_CDRW_READ_CD_TEXT   CDRW_CTL_CODE_R(0x823, METHOD_BUFFERED)
 
#define IOCTL_CDRW_READ_TOC_EX   CDRW_CTL_CODE_R(0x824, METHOD_BUFFERED)
 
#define IOCTL_CDRW_GET_DEVICE_INFO   CDRW_CTL_CODE_R(0x825, METHOD_BUFFERED)
 
#define IOCTL_CDRW_GET_EVENT   CDRW_CTL_CODE_R(0x826, METHOD_IN_DIRECT)
 
#define IOCTL_CDRW_GET_DEVICE_NAME   CDRW_CTL_CODE_R(0x827, METHOD_BUFFERED)
 
#define IOCTL_CDRW_RESET_DRIVER_EX   CDRW_CTL_CODE_A(0x828, METHOD_BUFFERED)
 
#define IOCTL_CDRW_GET_MEDIA_TYPE_EX   CDRW_CTL_CODE_X(0x829, METHOD_BUFFERED)
 
#define IOCTL_CDRW_GET_MRW_MODE   CDRW_CTL_CODE_X(0x82a, METHOD_BUFFERED)
 
#define IOCTL_CDRW_SET_MRW_MODE   CDRW_CTL_CODE_X(0x82b, METHOD_BUFFERED)
 
#define IOCTL_CDRW_READ_CAPACITY   CDRW_CTL_CODE_R(0x82c, METHOD_IN_DIRECT)
 
#define IOCTL_CDRW_GET_DISC_LAYOUT   CDRW_CTL_CODE_R(0x82d, METHOD_IN_DIRECT)
 
#define IOCTL_CDRW_SET_STREAMING   CDRW_CTL_CODE_W(0x82e, METHOD_BUFFERED)
 
#define IOCTL_CDRW_UNLOAD_DRIVER   IOCTL_CDROM_UNLOAD_DRIVER
 
#define IOCTL_CDRW_READ_TOC   IOCTL_CDROM_READ_TOC
 
#define IOCTL_CDRW_GET_CONTROL   IOCTL_CDROM_GET_CONTROL
 
#define IOCTL_CDRW_PLAY_AUDIO_MSF   IOCTL_CDROM_PLAY_AUDIO_MSF
 
#define IOCTL_CDRW_SEEK_AUDIO_MSF   IOCTL_CDROM_SEEK_AUDIO_MSF
 
#define IOCTL_CDRW_STOP_AUDIO   IOCTL_CDROM_STOP_AUDIO
 
#define IOCTL_CDRW_PAUSE_AUDIO   IOCTL_CDROM_PAUSE_AUDIO
 
#define IOCTL_CDRW_RESUME_AUDIO   IOCTL_CDROM_RESUME_AUDIO
 
#define IOCTL_CDRW_GET_VOLUME   IOCTL_CDROM_GET_VOLUME
 
#define IOCTL_CDRW_SET_VOLUME   IOCTL_CDROM_SET_VOLUME
 
#define IOCTL_CDRW_READ_Q_CHANNEL   IOCTL_CDROM_READ_Q_CHANNEL
 
#define IOCTL_CDRW_GET_LAST_SESSION   IOCTL_CDROM_GET_LAST_SESSION
 
#define IOCTL_CDRW_RAW_READ   IOCTL_CDROM_RAW_READ
 
#define IOCTL_CDRW_DISK_TYPE   IOCTL_CDROM_DISK_TYPE
 
#define IOCTL_CDRW_CHECK_VERIFY   IOCTL_CDROM_CHECK_VERIFY
 
#define IOCTL_CDRW_MEDIA_REMOVAL   IOCTL_CDROM_MEDIA_REMOVAL
 
#define IOCTL_CDRW_EJECT_MEDIA   IOCTL_CDROM_EJECT_MEDIA
 
#define IOCTL_CDRW_LOAD_MEDIA   IOCTL_CDROM_LOAD_MEDIA
 
#define IOCTL_CDRW_RESERVE   IOCTL_CDROM_RESERVE
 
#define IOCTL_CDRW_RELEASE   IOCTL_CDROM_RELEASE
 
#define IOCTL_CDRW_FIND_NEW_DEVICES   IOCTL_CDROM_FIND_NEW_DEVICES
 
#define IOCTL_DVD_READ_STRUCTURE   CTL_CODE(IOCTL_DVD_BASE, 0x0450, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DVD_START_SESSION   CTL_CODE(IOCTL_DVD_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DVD_READ_KEY   CTL_CODE(IOCTL_DVD_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DVD_SEND_KEY   CTL_CODE(IOCTL_DVD_BASE, 0x0402, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DVD_END_SESSION   CTL_CODE(IOCTL_DVD_BASE, 0x0403, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DVD_SET_READ_AHEAD   CTL_CODE(IOCTL_DVD_BASE, 0x0404, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DVD_GET_REGION   CTL_CODE(IOCTL_DVD_BASE, 0x0405, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DVD_SEND_KEY2   CTL_CODE(IOCTL_DVD_BASE, 0x0406, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_DISK_GET_DRIVE_GEOMETRY   CTL_CODE(IOCTL_DISK_BASE, 0x0000, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_DISK_VERIFY   CTL_CODE(IOCTL_DISK_BASE, 0x0005, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_DISK_FORMAT_TRACKS   CTL_CODE(IOCTL_DISK_BASE, 0x0006, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_DISK_IS_WRITABLE   CTL_CODE(IOCTL_DISK_BASE, 0x0009, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_DISK_FORMAT_TRACKS_EX   CTL_CODE(IOCTL_DISK_BASE, 0x000b, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_DISK_CHECK_VERIFY   CTL_CODE(IOCTL_DISK_BASE, 0x0200, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DISK_MEDIA_REMOVAL   CTL_CODE(IOCTL_DISK_BASE, 0x0201, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DISK_EJECT_MEDIA   CTL_CODE(IOCTL_DISK_BASE, 0x0202, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DISK_LOAD_MEDIA   CTL_CODE(IOCTL_DISK_BASE, 0x0203, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DISK_RESERVE   CTL_CODE(IOCTL_DISK_BASE, 0x0204, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DISK_RELEASE   CTL_CODE(IOCTL_DISK_BASE, 0x0205, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DISK_FIND_NEW_DEVICES   CTL_CODE(IOCTL_DISK_BASE, 0x0206, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_DISK_GET_MEDIA_TYPES   CTL_CODE(IOCTL_DISK_BASE, 0x0300, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_SET_READ_AHEAD   CTL_CODE(IOCTL_STORAGE_BASE, 0x0100, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_GET_MEDIA_TYPES_EX   CTL_CODE(IOCTL_STORAGE_BASE, 0x0301, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define RESERVE_TRACK_EX_SIZE   0x0
 
#define RESERVE_TRACK_EX_START_LBA   0x1
 
#define RESERVE_TRACK_EX_RMZ   0x2
 
#define FORMAT_UNIT_FORCE_STD_MODE   0x80000000
 
#define FORMAT_UNIT_FORCE_FULL_FMT   0x40000000
 
#define FORMAT_UNIT_RESTART_MRW   0x01000000
 
#define DiscStatus_Formattable   0x01
 
#define CdMediaClass_CDROM   0x00
 
#define CdMediaClass_CDR   0x01
 
#define CdMediaClass_CDRW   0x02
 
#define CdMediaClass_DVDROM   0x03
 
#define CdMediaClass_DVDRAM   0x05
 
#define CdMediaClass_DVDR   0x06
 
#define CdMediaClass_DVDRW   0x07
 
#define CdMediaClass_DVDpR   0x08
 
#define CdMediaClass_DVDpRW   0x09
 
#define CdMediaClass_DDCDROM   0x0a
 
#define CdMediaClass_DDCDR   0x0b
 
#define CdMediaClass_DDCDRW   0x0c
 
#define CdMediaClass_BDROM   0x0d
 
#define CdMediaClass_BDRE   0x0e
 
#define CdMediaClass_BDR   0x0f
 
#define CdMediaClass_HD_DVDROM   0x10
 
#define CdMediaClass_HD_DVDRAM   0x11
 
#define CdMediaClass_HD_DVDR   0x12
 
#define CdMediaClass_HD_DVDRW   0x13
 
#define CdMediaClass_NoDiscPresent   0x70
 
#define CdMediaClass_DoorOpen   0x71
 
#define CdMediaClass_Unknown   0xff
 
#define CdMediaClass_Max   CdMediaClass_HD_DVDRW
 
#define CdMediaSize_Unknown   0
 
#define CdMediaSize_120mm   1
 
#define CdMediaSize_80mm   2
 
#define CdDataType_Unknown   0
 
#define CdDataType_DataOnly   1
 
#define CdDataType_AudioOnly   2
 
#define CdDataType_DataAudioCombined   3
 
#define CdDataType_Hybrid   4
 
#define CdDataType_DataOnlyMRW   5
 
#define CdMediaClassEx_CD   0x00
 
#define CdMediaClassEx_DVD   0x01
 
#define CdMediaClassEx_DDCD   0x02
 
#define CdMediaClassEx_BD   0x03
 
#define CdMediaClassEx_HD_DVD   0x04
 
#define CdMediaClassEx_None   0x70
 
#define CdMediaClassEx_Unknown   0xff
 
#define CdDataClassEx_ROM   0x00
 
#define CdDataClassEx_R   0x01
 
#define CdDataClassEx_RW   0x02
 
#define CdDataClassEx_Unknown   0xff
 
#define CdCapFlags_Writable   0x01
 
#define CdCapFlags_Erasable   0x02
 
#define CdCapFlags_Formatable   0x04
 
#define CdCapFlags_WriteParamsReq   0x08
 
#define CdCapFlags_RandomWritable   0x10
 
#define CdCapFlags_Cav   0x20
 
#define CdrwMediaClassEx_IsRAM(MediaClassEx)
 
#define CdrwIsDvdOverwritable(MediaClassEx)
 
#define LunWPerf_RotCtrl_Mask   0x07
 
#define LunWPerf_RotCtrl_CLV   0x00
 
#define LunWPerf_RotCtrl_CAV   0x01
 
#define ReadCd_BlkType_Mask   0x1c
 
#define ReadCd_BlkType_Any   (0x00<<2)
 
#define ReadCd_BlkType_CDDA   (0x01<<2)
 
#define ReadCd_BlkType_M1   (0x02<<2)
 
#define ReadCd_BlkType_M2FX   (0x03<<2)
 
#define ReadCd_BlkType_M2F1   (0x04<<2)
 
#define ReadCd_BlkType_M2F2   (0x05<<2)
 
#define ReadCd_Error_Mask   0x0006
 
#define ReadCd_Error_None   0x0000
 
#define ReadCd_Error_C2   0x0002
 
#define ReadCd_Error_C2ex   0x0004
 
#define ReadCd_Include_EDC   0x0008
 
#define ReadCd_Include_UsrData   0x0010
 
#define ReadCd_Header_Mask   0x0060
 
#define ReadCd_Header_None   0x0000
 
#define ReadCd_Header_Hdr   0x0020
 
#define ReadCd_Header_SubHdr   0x0040
 
#define ReadCd_Header_AllHdr   0x0060
 
#define ReadCd_Include_SyncData   0x0080
 
#define ReadCd_SubChan_Mask   0x0700
 
#define ReadCd_SubChan_None   0x0000
 
#define ReadCd_SubChan_Raw   0x0100
 
#define ReadCd_SubChan_Q   0x0200
 
#define ReadCd_SubChan_PW   0x0400
 
#define ReadCd_SubChan_All   ReadCd_SubChan_Mask
 
#define AudioStatus_NotSupported   0x00
 
#define AudioStatus_InProgress   0x11
 
#define AudioStatus_Paused   0x12
 
#define AudioStatus_PlayComplete   0x13
 
#define AudioStatus_PlayError   0x14
 
#define AudioStatus_NoStatus   0x15
 
#define IOCTL_CDROM_SUB_Q_CHANNEL   0x00
 
#define IOCTL_CDROM_CURRENT_POSITION   0x01
 
#define IOCTL_CDROM_MEDIA_CATALOG   0x02
 
#define IOCTL_CDROM_TRACK_ISRC   0x03
 
#define DefSession_LastAvailable   0xff
 
#define CDRW_DEV_CAPABILITY_TAG   0xCA10AB11
 
#define WMODE_SUPPORTED   0x01
 
#define WMODE_SUPPORTED_FP   0x02
 
#define WMODE_SUPPORTED_VP   0x04
 
#define WMODE_NOT_SUPPORTED   0xff
 
#define WMODE_NOT_TESTED   0x00
 
#define CDRW_FEATURE_OPC   0x00000001
 
#define CDRW_FEATURE_EVENT   0x00000002
 
#define CDRW_FEATURE_GET_CFG   0x00000004
 
#define CDRW_FEATURE_NO_LOCK_REP   0x00000008
 
#define CDRW_FEATURE_SYNC_ON_WRITE   0x00000010
 
#define CDRW_FEATURE_BAD_RW_SEEK   0x00000020
 
#define CDRW_FEATURE_FP_ADDRESSING_PROBLEM   0x00000040
 
#define CDRW_FEATURE_MRW_ADDRESSING_PROBLEM   0x00000080
 
#define CDRW_FEATURE_FORCE_SYNC_ON_WRITE   0x00000100
 
#define CDRW_FEATURE_BAD_DVD_LAST_LBA   0x00000200
 
#define CDRW_FEATURE_FULL_BLANK_ON_FORMAT   0x00000400
 
#define CDRW_FEATURE_STREAMING   0x00000800
 
#define CDRW_FEATURE_FORCE_SYNC_BEFORE_READ   0x00001000
 
#define CDRW_FEATURE_CHANGER   0x80000000
 
#define DEV_CAP_GET_PROFILE(arr, pf)   (((pf) > PFNUM_Max) ? 0 : (((arr)[(pf)/32] >> (pf)%32) & 1))
 
#define CDRW_DEV_CAPABILITY_CDROM   ((ULONG)1 << CdMediaClass_CDROM )
 
#define CDRW_DEV_CAPABILITY_CDR   ((ULONG)1 << CdMediaClass_CDR )
 
#define CDRW_DEV_CAPABILITY_CDRW   ((ULONG)1 << CdMediaClass_CDRW )
 
#define CDRW_DEV_CAPABILITY_DVDROM   ((ULONG)1 << CdMediaClass_DVDROM )
 
#define CDRW_DEV_CAPABILITY_DVDRAM   ((ULONG)1 << CdMediaClass_DVDRAM )
 
#define CDRW_DEV_CAPABILITY_DVDR   ((ULONG)1 << CdMediaClass_DVDR )
 
#define CDRW_DEV_CAPABILITY_DVDRW   ((ULONG)1 << CdMediaClass_DVDRW )
 
#define CDRW_DEV_CAPABILITY_DVDpR   ((ULONG)1 << CdMediaClass_DVDpR )
 
#define CDRW_DEV_CAPABILITY_DVDpRW   ((ULONG)1 << CdMediaClass_DVDpRW )
 
#define CDRW_DEV_CAPABILITY_DDCDROM   ((ULONG)1 << CdMediaClass_DDCDROM)
 
#define CDRW_DEV_CAPABILITY_DDCDR   ((ULONG)1 << CdMediaClass_DDCDR )
 
#define CDRW_DEV_CAPABILITY_DDCDRW   ((ULONG)1 << CdMediaClass_DDCDRW )
 
#define DVD_CHALLENGE_KEY_LENGTH   (12 + sizeof(DVD_COPY_PROTECT_KEY))
 
#define DVD_BUS_KEY_LENGTH   (8 + sizeof(DVD_COPY_PROTECT_KEY))
 
#define DVD_TITLE_KEY_LENGTH   (8 + sizeof(DVD_COPY_PROTECT_KEY))
 
#define DVD_DISK_KEY_LENGTH   (2048 + sizeof(DVD_COPY_PROTECT_KEY))
 
#define DVD_RPC_KEY_LENGTH   (sizeof(DVD_RPC_KEY) + sizeof(DVD_COPY_PROTECT_KEY))
 
#define DVD_SET_RPC_KEY_LENGTH   (sizeof(DVD_SET_RPC_KEY) + sizeof(DVD_COPY_PROTECT_KEY))
 
#define DVD_ASF_LENGTH   (sizeof(DVD_ASF) + sizeof(DVD_COPY_PROTECT_KEY))
 
#define TrackMap_AllowCopyBit_variated   0x01
 
#define TrackMap_CopyBit_variated   0x02
 
#define TrackMap_Try_variation   0x04
 
#define TrackMap_Use_variation   0x08
 
#define TrackMap_FixFPAddressing   0x10
 
#define TrackMap_FixMRWAddressing   0x20
 
#define DiskLayout_FLAGS_TRACKMAP   (0x00002000)
 
#define DiskLayout_FLAGS_RAW_DISK   (0x00040000)
 
#define CDRW_ERR_NO_ERROR   0x0000
 
#define CDRW_ERR_WRITE_IN_PROGRESS_BUSY   0x0001
 
#define CDRW_ERR_FORMAT_IN_PROGRESS_BUSY   0x0002
 
#define CDRW_ERR_CLOSE_IN_PROGRESS_BUSY   0x0003
 
#define CDRW_ERR_BAD_ADDR_ALIGNMENT   0x0004
 
#define CDRW_ERR_BAD_SIZE_ALIGNMENT   0x0005
 
#define CDRW_ERR_STREAM_LOSS   0x0006
 
#define CDRW_ERR_TEST_WRITE_UNSUPPORTED   0x0007
 
#define CDRW_ERR_UNHANDLED_WRITE_TYPE   0x0008
 
#define CDRW_ERR_CANT_ALLOC_TMP_BUFFER   0x0009
 
#define CDRW_ERR_BUFFER_IS_FULL   0x000a
 
#define CDRW_ERR_VERIFY_REQUIRED   0x000b
 
#define CDRW_ERR_PLAY_IN_PROGRESS_BUSY   0x000c
 
#define CDRW_ERR_TOO_LONG_BLOCK_TO_TRANSFER   0x000d
 
#define CDRW_ERR_INWALID_WRITE_PARAMETERS   0x000e
 
#define CDRW_ERR_INVALID_IO_BUFFER_ADDRESS   0x000f
 
#define CDRW_ERR_INVALID_INPUT_BUFFER_SIZE   0x0010
 
#define CDRW_ERR_INVALID_OUTPUT_BUFFER_SIZE   0x0011
 
#define CDRW_ERR_UNRECOGNIZED_MEDIA   0x0012
 
#define CDRW_ERR_MEDIA_WRITE_PROTECTED   0x0013
 
#define CDRW_ERR_NO_MEDIA   0x0014
 
#define CDRW_ERR_TRAY_OPEN   0x0015
 
#define CDRW_ERR_MEDIA_NOT_APPENDABLE   0x0016
 
#define CDRW_ERR_INVALID_LBA   0x0017
 
#define CDRW_ERR_INVALID_FIXED_PACKET_SIZE   0x0018
 
#define CDRW_ERR_INVALID_WRITE_TYPE_FOR_MEDIA   0x0019
 
#define CDRW_ERR_CUE_SHEET_REQUIRED   0x001a
 
#define CDRW_ERR_CANT_DEINIT_IN_CLASS_MODE   0x001b
 
#define CDRW_ERR_INVALID_FORMAT_UNIT_SETTINGS   0x001c
 
#define CDRW_ERR_UNHANDLED_FORMAT_UNIT_MODE   0x001d
 
#define CDRW_ERR_CANT_READ_BUFFER_CAPACITY   0x001e
 
#define CDRW_ERR_DEVICE_WRITE_ERROR   0x001f
 
#define CDRW_ERR_UNHANDLED_IOCTL   0x0020
 
#define CDRW_ERR_UNHANDLED_FORMAT_WORKAROUND_MODE   0x0021
 
#define CDRW_ERR_DOOR_LOCKED_BUSY   0x0022
 
#define CDRW_ERR_MAGIC_WORD_REQUIRED   0x0023
 
#define CDRW_ERR_INVALID_SECTOR_MODE   0x0024
 
#define CDRW_ERR_DVD_LICENSE_VIOLATION   0x0025
 
#define CDRW_ERR_INVALID_DVD_KEY_TYPE   0x0026
 
#define CDRW_ERR_INVALID_DVD_REGION_CODE   0x0027
 
#define CDRW_ERR_PAGE_IS_NOT_SUPPORTED   0x0028
 
#define CDRW_ERR_STD_FORMAT_REQUIRED   0x0029
 
#define REG_TIMEOUT_NAME_USER   ("TimeOutValue")
 
#define REG_AUTORUN_NAME_USER   ("Autorun")
 
#define REG_LOADMODE_NAME_USER   ("LoadMode")
 
#define LOADMODE_CDRW_ONLY   0
 
#define LOADMODE_ALWAYS   1
 
#define LOADMODE_NEVER   2
 
#define REG_PACKETSIZE_NAME_USER   ("PacketSize")
 
#define PACKETSIZE_STREAM   0
 
#define PACKETSIZE_UDF   32
 
#define REG_FORMATUNIT_NAME_USER   ("FormatUnitMode")
 
#define FORMATUNIT_FP   0
 
#define FORMATUNIT_STD   1
 
#define REG_R_SPLIT_SIZE_NAME_USER   ("ReadSplitSize")
 
#define REG_W_SPLIT_SIZE_NAME_USER   ("WriteSplitSize")
 
#define REG_CDR_SIMULATION_NAME_USER   ("CdRSimulationMode")
 
#define CDR_SIMULATION_CDROM   0
 
#define CDR_SIMULATION_ALWAYS   1
 
#define CDR_SIMULATION_NEVER   2
 
#define REG_SPEEDMODE_NAME_USER   ("SpeedDetectionMode")
 
#define SPEEDMODE_ASSUME_OK   0
 
#define SPEEDMODE_REREAD   1
 
#define REG_WMODE_SIMULATION_NAME_USER   ("WModeSimulation")
 
#define WMODE_SIMULATION_ON   1
 
#define WMODE_SIMULATION_OFF   0
 
#define WMODE_ASSUME_OK   2
 
#define REG_SYNC_PACKETS_NAME_USER   ("SyncPacketsMode")
 
#define SYNC_PACKETS_ALWAYS   0
 
#define SYNC_PACKETS_RESET_DRV   1
 
#define SYNC_PACKETS_NEVER   2
 
#define SYNC_PACKETS_FP   3
 
#define SYNC_PACKETS_DISABLED   4
 
#define SYNC_PACKETS_VP_ONLY   5
 
#define SYNC_PACKETS_BY_W_THROUGH   6
 
#define REG_ASSURE_READY_NAME_USER   ("AssureReadiness")
 
#define ASSURE_READY_TEST_UNIT   0
 
#define ASSURE_READY_DELAY_100   1
 
#define ASSURE_READY_NONE   2
 
#define REG_WAIT_PACKETS_NAME_USER   ("WaitPackets")
 
#define WAIT_PACKETS_ALWAYS   0
 
#define WAIT_PACKETS_STREAM   1
 
#define REG_BAD_RW_SEEK_NAME_USER   ("BadRWSeek")
 
#define REG_ALLOW_PACKET_ON_CDR_NAME_USER   ("AllowPacketOnCdR")
 
#define ALLOW_PACKET_ON_CDR_OFF   0
 
#define ALLOW_PACKET_ON_CDR_ON   1
 
#define REG_MAX_READY_RETRY_NAME_USER   ("MaxReadyRetry")
 
#define REG_BAD_DVD_READ_TRACK_INFO_NAME_USER   ("DvdBadReadTrackInfo")
 
#define REG_BAD_DVD_READ_DISC_INFO_NAME_USER   ("DvdBadReadDiscInfo")
 
#define REG_BAD_DVD_READ_CAPACITY_NAME_USER   ("DvdBadReadCapacity")
 
#define REG_BAD_DVD_LAST_LBA_NAME_USER   ("DvdBadLastLba")
 
#define REG_BAD_DVD_LAST_LBA_NAME_USER   ("DvdBadLastLba")
 
#define REG_FULL_BLANK_ON_FORMAT_NAME_USER   ("FullEraseBeforeFormat")
 
#define DEFAULT_LAST_LBA_FP_CD   276159
 
#define DEFAULT_LAST_LBA_DVD   0x23053f
 
#define DEFAULT_LAST_LBA_BD   (25*1000*1000/2-1)
 

Typedefs

typedef enum _STORAGE_MEDIA_TYPE STORAGE_MEDIA_TYPE
 
typedef enum _STORAGE_MEDIA_TYPEPSTORAGE_MEDIA_TYPE
 
typedef struct _SET_CD_SPEED_USER_IN SET_CD_SPEED_USER_IN
 
typedef struct _SET_CD_SPEED_USER_INPSET_CD_SPEED_USER_IN
 
typedef struct _SET_CD_SPEED_EX_USER_IN SET_CD_SPEED_EX_USER_IN
 
typedef struct _SET_CD_SPEED_EX_USER_INPSET_CD_SPEED_EX_USER_IN
 
typedef struct _SET_STREAMING_USER_IN SET_STREAMING_USER_IN
 
typedef struct _SET_STREAMING_USER_INPSET_STREAMING_USER_IN
 
typedef struct _SYNC_CACHE_USER_IN SYNC_CACHE_USER_IN
 
typedef struct _SYNC_CACHE_USER_INPSYNC_CACHE_USER_IN
 
typedef struct _BUFFER_CAPACITY_BLOCK_USER_OUT BUFFER_CAPACITY_BLOCK_USER_OUT
 
typedef struct _BUFFER_CAPACITY_BLOCK_USER_OUTPBUFFER_CAPACITY_BLOCK_USER_OUT
 
typedef struct _TRACK_INFO_BLOCK_USER_OUT TRACK_INFO_BLOCK_USER_OUT
 
typedef struct _TRACK_INFO_BLOCK_USER_OUTPTRACK_INFO_BLOCK_USER_OUT
 
typedef struct _TRACK_INFO_BLOCK_USER_IN TRACK_INFO_BLOCK_USER_IN
 
typedef struct _TRACK_INFO_BLOCK_USER_INPTRACK_INFO_BLOCK_USER_IN
 
typedef READ_CAPACITY_DATA READ_CAPACITY_USER_OUT
 
typedef PREAD_CAPACITY_DATA PREAD_CAPACITY_USER_OUT
 
typedef struct _GET_SIGNATURE_USER_OUT GET_SIGNATURE_USER_OUT
 
typedef struct _GET_SIGNATURE_USER_OUTPGET_SIGNATURE_USER_OUT
 
typedef struct _BLANK_MEDIA_USER_IN BLANK_MEDIA_USER_IN
 
typedef struct _BLANK_MEDIA_USER_INPBLANK_MEDIA_USER_IN
 
typedef struct _RESERVE_TRACK_USER_IN RESERVE_TRACK_USER_IN
 
typedef struct _RESERVE_TRACK_USER_INPRESERVE_TRACK_USER_IN
 
typedef struct _RESERVE_TRACK_EX_USER_IN RESERVE_TRACK_EX_USER_IN
 
typedef struct _RESERVE_TRACK_EX_USER_INPRESERVE_TRACK_EX_USER_IN
 
typedef struct _LL_WRITE_USER_IN LL_WRITE_USER_IN
 
typedef struct _LL_WRITE_USER_INPLL_WRITE_USER_IN
 
typedef struct _FORMAT_CDRW_PARAMETERS_USER_IN FORMAT_CDRW_PARAMETERS_USER_IN
 
typedef struct _FORMAT_CDRW_PARAMETERS_USER_INPFORMAT_CDRW_PARAMETERS_USER_IN
 
typedef struct _CLOSE_TRK_SES_USER_IN CLOSE_TRK_SES_USER_IN
 
typedef struct _CLOSE_TRK_SES_USER_INPCLOSE_TRK_SES_USER_IN
 
typedef struct _PREVENT_MEDIA_REMOVAL_USER_IN PREVENT_MEDIA_REMOVAL_USER_IN
 
typedef struct _PREVENT_MEDIA_REMOVAL_USER_INPPREVENT_MEDIA_REMOVAL_USER_IN
 
typedef struct _SET_RANDOM_ACCESS_USER_IN SET_RANDOM_ACCESS_USER_IN
 
typedef struct _SET_RANDOM_ACCESS_USER_INPSET_RANDOM_ACCESS_USER_IN
 
typedef struct _DISC_STATUS_INFO_USER_OUT DISC_STATUS_INFO_USER_OUT
 
typedef struct _DISC_STATUS_INFO_USER_OUTPDISC_STATUS_INFO_USER_OUT
 
typedef struct _DISC_INFO_BLOCK_USER_OUT DISC_INFO_BLOCK_USER_OUT
 
typedef struct _DISC_INFO_BLOCK_USER_OUTPDISC_INFO_BLOCK_USER_OUT
 
typedef struct _TEST_UNIT_READY_USER_IN TEST_UNIT_READY_USER_IN
 
typedef struct _TEST_UNIT_READY_USER_INPTEST_UNIT_READY_USER_IN
 
typedef struct _TEST_UNIT_READY_USER_OUT TEST_UNIT_READY_USER_OUT
 
typedef struct _TEST_UNIT_READY_USER_OUTPTEST_UNIT_READY_USER_OUT
 
typedef struct _GET_MEDIA_TYPE_USER_OUT GET_MEDIA_TYPE_USER_OUT
 
typedef struct _GET_MEDIA_TYPE_USER_OUTPGET_MEDIA_TYPE_USER_OUT
 
typedef struct _GET_MEDIA_TYPE_EX_USER_OUT GET_MEDIA_TYPE_EX_USER_OUT
 
typedef struct _GET_MEDIA_TYPE_EX_USER_OUTPGET_MEDIA_TYPE_EX_USER_OUT
 
typedef struct _MODE_SENSE_USER_IN MODE_SENSE_USER_IN
 
typedef struct _MODE_SENSE_USER_INPMODE_SENSE_USER_IN
 
typedef struct _MODE_SENSE_USER_OUT MODE_SENSE_USER_OUT
 
typedef struct _MODE_SENSE_USER_OUTPMODE_SENSE_USER_OUT
 
typedef struct _MODE_SELECT_USER_IN MODE_SELECT_USER_IN
 
typedef struct _MODE_SELECT_USER_INPMODE_SELECT_USER_IN
 
typedef struct _MODE_WRITE_PARAMS_PAGE_USER MODE_WRITE_PARAMS_PAGE_USER
 
typedef struct _MODE_WRITE_PARAMS_PAGE_USERPMODE_WRITE_PARAMS_PAGE_USER
 
typedef MODE_WRITE_PARAMS_PAGE_USER GET_WRITE_MODE_USER_OUT
 
typedef PMODE_WRITE_PARAMS_PAGE_USER PGET_WRITE_MODE_USER_OUT
 
typedef MODE_WRITE_PARAMS_PAGE_USER SET_WRITE_MODE_USER_IN
 
typedef PMODE_WRITE_PARAMS_PAGE_USER PSET_WRITE_MODE_USER_IN
 
typedef MODE_MRW_PAGE GET_MRW_MODE_USER_OUT
 
typedef PMODE_MRW_PAGE PGET_MRW_MODE_USER_OUT
 
typedef MODE_MRW_PAGE SET_MRW_MODE_USER_IN
 
typedef PMODE_MRW_PAGE PSET_MRW_MODE_USER_IN
 
typedef struct _SET_READ_AHEAD_USER_IN SET_READ_AHEAD_USER_IN
 
typedef struct _SET_READ_AHEAD_USER_INPSET_READ_AHEAD_USER_IN
 
typedef struct _GET_CAPABILITIES_USER_OUT GET_CAPABILITIES_USER_OUT
 
typedef struct _GET_CAPABILITIES_USER_OUTPGET_CAPABILITIES_USER_OUT
 
typedef struct _GET_CAPABILITIES_3_USER_OUT GET_CAPABILITIES_3_USER_OUT
 
typedef struct _GET_CAPABILITIES_3_USER_OUTPGET_CAPABILITIES_3_USER_OUT
 
typedef struct _LUN_WRITE_PERF_DESC_USER LUN_WRITE_PERF_DESC_USER
 
typedef struct _LUN_WRITE_PERF_DESC_USERPLUN_WRITE_PERF_DESC_USER
 
typedef struct _SEND_OPC_INFO_USER_IN SEND_OPC_INFO_USER_IN
 
typedef struct _SEND_OPC_INFO_USER_INPSEND_OPC_INFO_USER_IN
 
typedef struct _SEND_OPC_INFO_HEADER_USER_IN SEND_OPC_INFO_HEADER_USER_IN
 
typedef struct _SEND_OPC_INFO_HEADER_USER_INPSEND_OPC_INFO_HEADER_USER_IN
 
typedef struct _LL_READ_USER_IN LL_READ_USER_IN
 
typedef struct _LL_READ_USER_INPLL_READ_USER_IN
 
typedef struct _GET_LAST_ERROR_USER_OUT GET_LAST_ERROR_USER_OUT
 
typedef struct _GET_LAST_ERROR_USER_OUTPGET_LAST_ERROR_USER_OUT
 
typedef struct _RAW_READ_USER_IN RAW_READ_USER_IN
 
typedef struct _RAW_READ_USER_INPRAW_READ_USER_IN
 
typedef struct _PLAY_AUDIO_MSF_USER_IN PLAY_AUDIO_MSF_USER_IN
 
typedef struct _PLAY_AUDIO_MSF_USER_INPPLAY_AUDIO_MSF_USER_IN
 
typedef struct _SUB_Q_CHANNEL_DATA_USER_IN SUB_Q_CHANNEL_DATA_USER_IN
 
typedef struct _SUB_Q_CHANNEL_DATA_USER_INPSUB_Q_CHANNEL_DATA_USER_IN
 
typedef struct _SEEK_AUDIO_MSF_USER_IN SEEK_AUDIO_MSF_USER_IN
 
typedef struct _SEEK_AUDIO_MSF_USER_INPSEEK_AUDIO_MSF_USER_IN
 
typedef struct _AUDIO_CONTROL_USER_OUT AUDIO_CONTROL_USER_OUT
 
typedef struct _AUDIO_CONTROL_USER_OUTPAUDIO_CONTROL_USER_OUT
 
typedef READ_TOC_TOC READ_TOC_USER_OUT
 
typedef PREAD_TOC_TOC PREAD_TOC_USER_OUT
 
typedef READ_TOC_SES GET_LAST_SESSION_USER_OUT
 
typedef PREAD_TOC_SES PGET_LAST_SESSION_USER_OUT
 
typedef READ_TOC_FULL_TOC READ_FULL_TOC_USER_OUT
 
typedef PREAD_TOC_FULL_TOC PREAD_FULL_TOC_USER_OUT
 
typedef READ_TOC_FULL_TOC READ_PMA_USER_OUT
 
typedef PREAD_TOC_FULL_TOC PREAD_PMA_USER_OUT
 
typedef READ_TOC_ATIP READ_ATIP_USER_OUT
 
typedef PREAD_TOC_ATIP PREAD_ATIP_USER_OUT
 
typedef READ_TOC_CD_TEXT READ_CD_TEXT_USER_OUT
 
typedef PREAD_TOC_CD_TEXT PREAD_CD_TEXT_USER_OUT
 
typedef struct _INIT_DEINIT_USER_IN INIT_DEINIT_USER_IN
 
typedef struct _INIT_DEINIT_USER_INPINIT_DEINIT_USER_IN
 
typedef INIT_DEINIT_USER_IN INIT_DEINIT_USER_OUT
 
typedef PINIT_DEINIT_USER_IN PINIT_DEINIT_USER_OUT
 
typedef struct _READ_SESSION_INFO_USER_IN READ_SESSION_INFO_USER_IN
 
typedef struct _READ_SESSION_INFO_USER_INPREAD_SESSION_INFO_USER_IN
 
typedef READ_TOC_SES READ_SESSION_INFO_USER_OUT
 
typedef PREAD_TOC_SES PREAD_SESSION_INFO_USER_OUT
 
typedef struct _READ_TOC_EX_USER_IN READ_TOC_EX_USER_IN
 
typedef struct _READ_TOC_EX_USER_INPREAD_TOC_EX_USER_IN
 
typedef READ_TOC_SES READ_TOC_EX_USER_OUT
 
typedef PREAD_TOC_SES PREAD_TOC_EX_USER_OUT
 
typedef struct _SET_DEFAULT_SESSION_USER_IN SET_DEFAULT_SESSION_USER_IN
 
typedef struct _SET_DEFAULT_SESSION_USER_INPSET_DEFAULT_SESSION_USER_IN
 
typedef struct _NOTIFY_MEDIA_CHANGE_USER_IN NOTIFY_MEDIA_CHANGE_USER_IN
 
typedef struct _NOTIFY_MEDIA_CHANGE_USER_INPNOTIFY_MEDIA_CHANGE_USER_IN
 
typedef DISK_GEOMETRY GET_DRIVE_GEOMETRY_USER_OUT
 
typedef PDISK_GEOMETRY PGET_DRIVE_GEOMETRY_USER_OUT
 
typedef struct _GET_DEVICE_INFO_OLD_USER_OUT GET_DEVICE_INFO_OLD_USER_OUT
 
typedef struct _GET_DEVICE_INFO_OLD_USER_OUTPGET_DEVICE_INFO_OLD_USER_OUT
 
typedef struct _GET_DEVICE_INFO_USER_OUT GET_DEVICE_INFO_USER_OUT
 
typedef struct _GET_DEVICE_INFO_USER_OUTPGET_DEVICE_INFO_USER_OUT
 
typedef ULONG CHECK_VERIFY_USER_OUT
 
typedef ULONGPCHECK_VERIFY_USER_OUT
 
typedef struct _GET_EVENT_USER_IN GET_EVENT_USER_IN
 
typedef struct _GET_EVENT_USER_INPGET_EVENT_USER_IN
 
typedef union _GET_EVENT_USER_OUT GET_EVENT_USER_OUT
 
typedef union _GET_EVENT_USER_OUTPGET_EVENT_USER_OUT
 
typedef ULONG DVD_SESSION_ID
 
typedef ULONGPDVD_SESSION_ID
 
typedef struct _DVD_READ_STRUCTURE_USER_IN DVD_READ_STRUCTURE_USER_IN
 
typedef struct _DVD_READ_STRUCTURE_USER_INPDVD_READ_STRUCTURE_USER_IN
 
typedef struct _DVD_READ_STRUCTURE_USER_OUT DVD_READ_STRUCTURE_USER_OUT
 
typedef struct _DVD_READ_STRUCTURE_USER_OUTPDVD_READ_STRUCTURE_USER_OUT
 
typedef struct _DVD_START_SESSION_USER_OUT DVD_START_SESSION_USER_OUT
 
typedef struct _DVD_START_SESSION_USER_OUTPDVD_START_SESSION_USER_OUT
 
typedef struct _DVD_READ_KEY_USER_IN DVD_READ_KEY_USER_IN
 
typedef struct _DVD_READ_KEY_USER_INPDVD_READ_KEY_USER_IN
 
typedef DVD_READ_KEY_USER_IN DVD_READ_KEY_USER_OUT
 
typedef PDVD_READ_KEY_USER_IN PDVD_READ_KEY_USER_OUT
 
typedef DVD_START_SESSION_USER_OUT DVD_END_SESSION_USER_IN
 
typedef PDVD_START_SESSION_USER_OUT PDVD_END_SESSION_USER_IN
 
typedef struct _DISK_VERIFY_USER_IN DISK_VERIFY_USER_IN
 
typedef struct _DISK_VERIFY_USER_INPDISK_VERIFY_USER_IN
 
typedef struct _CDROM_DISK_DATA_USER_OUT CDROM_DISK_DATA_USER_OUT
 
typedef struct _CDROM_DISK_DATA_USER_OUTPCDROM_DISK_DATA_USER_OUT
 
typedef struct _CDRW_RESET_DRIVER_USER_IN CDRW_RESET_DRIVER_USER_IN
 
typedef struct _CDRW_RESET_DRIVER_USER_INPCDRW_RESET_DRIVER_USER_IN
 
typedef struct _MediaTrackMap MediaTrackMap
 
typedef struct _MediaTrackMapPMediaTrackMap
 
typedef struct _GET_DISK_LAYOUT_USER_OUT GET_DISK_LAYOUT_USER_OUT
 
typedef struct _GET_DISK_LAYOUT_USER_OUTPGET_DISK_LAYOUT_USER_OUT
 

Enumerations

enum  _STORAGE_MEDIA_TYPE {
  DDS_4mm = 0x20, MiniQic, Travan, QIC,
  MP_8mm, AME_8mm, AIT1_8mm, DLT,
  NCTP, IBM_3480, IBM_3490E, IBM_Magstar_3590,
  IBM_Magstar_MP, STK_DATA_D3, SONY_DTF, DV_6mm,
  DMI, SONY_D2, CLEANER_CARTRIDGE, CD_ROM,
  CD_R, CD_RW, DVD_ROM, DVD_R,
  DVD_RW, MO_3_RW, MO_5_WO, MO_5_RW,
  MO_5_LIMDOW, PC_5_WO, PC_5_RW, PD_5_RW,
  ABL_5_WO, PINNACLE_APEX_5_RW, SONY_12_WO, PHILIPS_12_WO,
  HITACHI_12_WO, CYGNET_12_WO, KODAK_14_WO, MO_NFR_525,
  NIKON_12_RW, IOMEGA_ZIP, IOMEGA_JAZ, SYQUEST_EZ135,
  SYQUEST_EZFLYER, SYQUEST_SYJET, AVATAR_F2, MP2_8mm,
  DST_S, DST_M, DST_L, VXATape_1,
  VXATape_2, STK_EAGLE, LTO_Ultrium, LTO_Accelis,
  DDS_4mm = 0x20, MiniQic, Travan, QIC,
  MP_8mm, AME_8mm, AIT1_8mm, DLT,
  NCTP, IBM_3480, IBM_3490E, IBM_Magstar_3590,
  IBM_Magstar_MP, STK_DATA_D3, SONY_DTF, DV_6mm,
  DMI, SONY_D2, CLEANER_CARTRIDGE, CD_ROM,
  CD_R, CD_RW, DVD_ROM, DVD_R,
  DVD_RW, MO_3_RW, MO_5_WO, MO_5_RW,
  MO_5_LIMDOW, PC_5_WO, PC_5_RW, PD_5_RW,
  ABL_5_WO, PINNACLE_APEX_5_RW, SONY_12_WO, PHILIPS_12_WO,
  HITACHI_12_WO, CYGNET_12_WO, KODAK_14_WO, MO_NFR_525,
  NIKON_12_RW, IOMEGA_ZIP, IOMEGA_JAZ, SYQUEST_EZ135,
  SYQUEST_EZFLYER, SYQUEST_SYJET, AVATAR_F2, MP2_8mm,
  DST_S, DST_M, DST_L, VXATape_1,
  VXATape_2, STK_9840, LTO_Ultrium, LTO_Accelis,
  DVD_RAM, AIT_8mm, ADR_1, ADR_2,
  STK_9940, SAIT, VXATape
}
 

Macro Definition Documentation

◆ ALLOW_PACKET_ON_CDR_OFF

#define ALLOW_PACKET_ON_CDR_OFF   0

Definition at line 1807 of file cdrw_usr.h.

◆ ALLOW_PACKET_ON_CDR_ON

#define ALLOW_PACKET_ON_CDR_ON   1

Definition at line 1808 of file cdrw_usr.h.

◆ ASSURE_READY_DELAY_100

#define ASSURE_READY_DELAY_100   1

Definition at line 1797 of file cdrw_usr.h.

◆ ASSURE_READY_NONE

#define ASSURE_READY_NONE   2

Definition at line 1798 of file cdrw_usr.h.

◆ ASSURE_READY_TEST_UNIT

#define ASSURE_READY_TEST_UNIT   0

Definition at line 1796 of file cdrw_usr.h.

◆ AudioStatus_InProgress

#define AudioStatus_InProgress   0x11

Definition at line 1347 of file cdrw_usr.h.

◆ AudioStatus_NoStatus

#define AudioStatus_NoStatus   0x15

Definition at line 1351 of file cdrw_usr.h.

◆ AudioStatus_NotSupported

#define AudioStatus_NotSupported   0x00

Definition at line 1346 of file cdrw_usr.h.

◆ AudioStatus_Paused

#define AudioStatus_Paused   0x12

Definition at line 1348 of file cdrw_usr.h.

◆ AudioStatus_PlayComplete

#define AudioStatus_PlayComplete   0x13

Definition at line 1349 of file cdrw_usr.h.

◆ AudioStatus_PlayError

#define AudioStatus_PlayError   0x14

Definition at line 1350 of file cdrw_usr.h.

◆ CdCapFlags_Cav

#define CdCapFlags_Cav   0x20

Definition at line 797 of file cdrw_usr.h.

◆ CdCapFlags_Erasable

#define CdCapFlags_Erasable   0x02

Definition at line 793 of file cdrw_usr.h.

◆ CdCapFlags_Formatable

#define CdCapFlags_Formatable   0x04

Definition at line 794 of file cdrw_usr.h.

◆ CdCapFlags_RandomWritable

#define CdCapFlags_RandomWritable   0x10

Definition at line 796 of file cdrw_usr.h.

◆ CdCapFlags_Writable

#define CdCapFlags_Writable   0x01

Definition at line 792 of file cdrw_usr.h.

◆ CdCapFlags_WriteParamsReq

#define CdCapFlags_WriteParamsReq   0x08

Definition at line 795 of file cdrw_usr.h.

◆ CdDataClassEx_R

#define CdDataClassEx_R   0x01

Definition at line 788 of file cdrw_usr.h.

◆ CdDataClassEx_ROM

#define CdDataClassEx_ROM   0x00

Definition at line 787 of file cdrw_usr.h.

◆ CdDataClassEx_RW

#define CdDataClassEx_RW   0x02

Definition at line 789 of file cdrw_usr.h.

◆ CdDataClassEx_Unknown

#define CdDataClassEx_Unknown   0xff

Definition at line 790 of file cdrw_usr.h.

◆ CdDataType_AudioOnly

#define CdDataType_AudioOnly   2

Definition at line 774 of file cdrw_usr.h.

◆ CdDataType_DataAudioCombined

#define CdDataType_DataAudioCombined   3

Definition at line 775 of file cdrw_usr.h.

◆ CdDataType_DataOnly

#define CdDataType_DataOnly   1

Definition at line 773 of file cdrw_usr.h.

◆ CdDataType_DataOnlyMRW

#define CdDataType_DataOnlyMRW   5

Definition at line 777 of file cdrw_usr.h.

◆ CdDataType_Hybrid

#define CdDataType_Hybrid   4

Definition at line 776 of file cdrw_usr.h.

◆ CdDataType_Unknown

#define CdDataType_Unknown   0

Definition at line 772 of file cdrw_usr.h.

◆ CdMediaClass_BDR

#define CdMediaClass_BDR   0x0f

Definition at line 757 of file cdrw_usr.h.

◆ CdMediaClass_BDRE

#define CdMediaClass_BDRE   0x0e

Definition at line 756 of file cdrw_usr.h.

◆ CdMediaClass_BDROM

#define CdMediaClass_BDROM   0x0d

Definition at line 755 of file cdrw_usr.h.

◆ CdMediaClass_CDR

#define CdMediaClass_CDR   0x01

Definition at line 744 of file cdrw_usr.h.

◆ CdMediaClass_CDROM

#define CdMediaClass_CDROM   0x00

Definition at line 743 of file cdrw_usr.h.

◆ CdMediaClass_CDRW

#define CdMediaClass_CDRW   0x02

Definition at line 745 of file cdrw_usr.h.

◆ CdMediaClass_DDCDR

#define CdMediaClass_DDCDR   0x0b

Definition at line 753 of file cdrw_usr.h.

◆ CdMediaClass_DDCDROM

#define CdMediaClass_DDCDROM   0x0a

Definition at line 752 of file cdrw_usr.h.

◆ CdMediaClass_DDCDRW

#define CdMediaClass_DDCDRW   0x0c

Definition at line 754 of file cdrw_usr.h.

◆ CdMediaClass_DoorOpen

#define CdMediaClass_DoorOpen   0x71

Definition at line 763 of file cdrw_usr.h.

◆ CdMediaClass_DVDpR

#define CdMediaClass_DVDpR   0x08

Definition at line 750 of file cdrw_usr.h.

◆ CdMediaClass_DVDpRW

#define CdMediaClass_DVDpRW   0x09

Definition at line 751 of file cdrw_usr.h.

◆ CdMediaClass_DVDR

#define CdMediaClass_DVDR   0x06

Definition at line 748 of file cdrw_usr.h.

◆ CdMediaClass_DVDRAM

#define CdMediaClass_DVDRAM   0x05

Definition at line 747 of file cdrw_usr.h.

◆ CdMediaClass_DVDROM

#define CdMediaClass_DVDROM   0x03

Definition at line 746 of file cdrw_usr.h.

◆ CdMediaClass_DVDRW

#define CdMediaClass_DVDRW   0x07

Definition at line 749 of file cdrw_usr.h.

◆ CdMediaClass_HD_DVDR

#define CdMediaClass_HD_DVDR   0x12

Definition at line 760 of file cdrw_usr.h.

◆ CdMediaClass_HD_DVDRAM

#define CdMediaClass_HD_DVDRAM   0x11

Definition at line 759 of file cdrw_usr.h.

◆ CdMediaClass_HD_DVDROM

#define CdMediaClass_HD_DVDROM   0x10

Definition at line 758 of file cdrw_usr.h.

◆ CdMediaClass_HD_DVDRW

#define CdMediaClass_HD_DVDRW   0x13

Definition at line 761 of file cdrw_usr.h.

◆ CdMediaClass_Max

#define CdMediaClass_Max   CdMediaClass_HD_DVDRW

Definition at line 766 of file cdrw_usr.h.

◆ CdMediaClass_NoDiscPresent

#define CdMediaClass_NoDiscPresent   0x70

Definition at line 762 of file cdrw_usr.h.

◆ CdMediaClass_Unknown

#define CdMediaClass_Unknown   0xff

Definition at line 764 of file cdrw_usr.h.

◆ CdMediaClassEx_BD

#define CdMediaClassEx_BD   0x03

Definition at line 782 of file cdrw_usr.h.

◆ CdMediaClassEx_CD

#define CdMediaClassEx_CD   0x00

Definition at line 779 of file cdrw_usr.h.

◆ CdMediaClassEx_DDCD

#define CdMediaClassEx_DDCD   0x02

Definition at line 781 of file cdrw_usr.h.

◆ CdMediaClassEx_DVD

#define CdMediaClassEx_DVD   0x01

Definition at line 780 of file cdrw_usr.h.

◆ CdMediaClassEx_HD_DVD

#define CdMediaClassEx_HD_DVD   0x04

Definition at line 783 of file cdrw_usr.h.

◆ CdMediaClassEx_None

#define CdMediaClassEx_None   0x70

Definition at line 784 of file cdrw_usr.h.

◆ CdMediaClassEx_Unknown

#define CdMediaClassEx_Unknown   0xff

Definition at line 785 of file cdrw_usr.h.

◆ CdMediaSize_120mm

#define CdMediaSize_120mm   1

Definition at line 769 of file cdrw_usr.h.

◆ CdMediaSize_80mm

#define CdMediaSize_80mm   2

Definition at line 770 of file cdrw_usr.h.

◆ CdMediaSize_Unknown

#define CdMediaSize_Unknown   0

Definition at line 768 of file cdrw_usr.h.

◆ CDR_SIMULATION_ALWAYS

#define CDR_SIMULATION_ALWAYS   1

Definition at line 1768 of file cdrw_usr.h.

◆ CDR_SIMULATION_CDROM

#define CDR_SIMULATION_CDROM   0

Definition at line 1767 of file cdrw_usr.h.

◆ CDR_SIMULATION_NEVER

#define CDR_SIMULATION_NEVER   2

Definition at line 1769 of file cdrw_usr.h.

◆ CDRW_CTL_CODE_A

#define CDRW_CTL_CODE_A (   a,
  b 
)    CTL_CODE(FILE_DEVICE_CDRW, a,b, FILE_READ_DATA)

Definition at line 74 of file cdrw_usr.h.

◆ CDRW_CTL_CODE_R

#define CDRW_CTL_CODE_R (   a,
  b 
)    CTL_CODE(FILE_DEVICE_CDRW, a,b, FILE_READ_DATA)

Definition at line 72 of file cdrw_usr.h.

◆ CDRW_CTL_CODE_W

#define CDRW_CTL_CODE_W (   a,
  b 
)    CTL_CODE(FILE_DEVICE_CDRW, a,b, FILE_READ_DATA)

Definition at line 73 of file cdrw_usr.h.

◆ CDRW_CTL_CODE_X

#define CDRW_CTL_CODE_X (   a,
  b 
)    CTL_CODE(FILE_DEVICE_CDRW, a,b, FILE_ANY_ACCESS )

Definition at line 75 of file cdrw_usr.h.

◆ CDRW_DEV_CAPABILITY_CDR

#define CDRW_DEV_CAPABILITY_CDR   ((ULONG)1 << CdMediaClass_CDR )

Definition at line 1502 of file cdrw_usr.h.

◆ CDRW_DEV_CAPABILITY_CDROM

#define CDRW_DEV_CAPABILITY_CDROM   ((ULONG)1 << CdMediaClass_CDROM )

Definition at line 1501 of file cdrw_usr.h.

◆ CDRW_DEV_CAPABILITY_CDRW

#define CDRW_DEV_CAPABILITY_CDRW   ((ULONG)1 << CdMediaClass_CDRW )

Definition at line 1503 of file cdrw_usr.h.

◆ CDRW_DEV_CAPABILITY_DDCDR

#define CDRW_DEV_CAPABILITY_DDCDR   ((ULONG)1 << CdMediaClass_DDCDR )

Definition at line 1511 of file cdrw_usr.h.

◆ CDRW_DEV_CAPABILITY_DDCDROM

#define CDRW_DEV_CAPABILITY_DDCDROM   ((ULONG)1 << CdMediaClass_DDCDROM)

Definition at line 1510 of file cdrw_usr.h.

◆ CDRW_DEV_CAPABILITY_DDCDRW

#define CDRW_DEV_CAPABILITY_DDCDRW   ((ULONG)1 << CdMediaClass_DDCDRW )

Definition at line 1512 of file cdrw_usr.h.

◆ CDRW_DEV_CAPABILITY_DVDpR

#define CDRW_DEV_CAPABILITY_DVDpR   ((ULONG)1 << CdMediaClass_DVDpR )

Definition at line 1508 of file cdrw_usr.h.

◆ CDRW_DEV_CAPABILITY_DVDpRW

#define CDRW_DEV_CAPABILITY_DVDpRW   ((ULONG)1 << CdMediaClass_DVDpRW )

Definition at line 1509 of file cdrw_usr.h.

◆ CDRW_DEV_CAPABILITY_DVDR

#define CDRW_DEV_CAPABILITY_DVDR   ((ULONG)1 << CdMediaClass_DVDR )

Definition at line 1506 of file cdrw_usr.h.

◆ CDRW_DEV_CAPABILITY_DVDRAM

#define CDRW_DEV_CAPABILITY_DVDRAM   ((ULONG)1 << CdMediaClass_DVDRAM )

Definition at line 1505 of file cdrw_usr.h.

◆ CDRW_DEV_CAPABILITY_DVDROM

#define CDRW_DEV_CAPABILITY_DVDROM   ((ULONG)1 << CdMediaClass_DVDROM )

Definition at line 1504 of file cdrw_usr.h.

◆ CDRW_DEV_CAPABILITY_DVDRW

#define CDRW_DEV_CAPABILITY_DVDRW   ((ULONG)1 << CdMediaClass_DVDRW )

Definition at line 1507 of file cdrw_usr.h.

◆ CDRW_DEV_CAPABILITY_TAG

#define CDRW_DEV_CAPABILITY_TAG   0xCA10AB11

Definition at line 1472 of file cdrw_usr.h.

◆ CDRW_ERR_BAD_ADDR_ALIGNMENT

#define CDRW_ERR_BAD_ADDR_ALIGNMENT   0x0004

Definition at line 1694 of file cdrw_usr.h.

◆ CDRW_ERR_BAD_SIZE_ALIGNMENT

#define CDRW_ERR_BAD_SIZE_ALIGNMENT   0x0005

Definition at line 1695 of file cdrw_usr.h.

◆ CDRW_ERR_BUFFER_IS_FULL

#define CDRW_ERR_BUFFER_IS_FULL   0x000a

Definition at line 1700 of file cdrw_usr.h.

◆ CDRW_ERR_CANT_ALLOC_TMP_BUFFER

#define CDRW_ERR_CANT_ALLOC_TMP_BUFFER   0x0009

Definition at line 1699 of file cdrw_usr.h.

◆ CDRW_ERR_CANT_DEINIT_IN_CLASS_MODE

#define CDRW_ERR_CANT_DEINIT_IN_CLASS_MODE   0x001b

Definition at line 1717 of file cdrw_usr.h.

◆ CDRW_ERR_CANT_READ_BUFFER_CAPACITY

#define CDRW_ERR_CANT_READ_BUFFER_CAPACITY   0x001e

Definition at line 1722 of file cdrw_usr.h.

◆ CDRW_ERR_CLOSE_IN_PROGRESS_BUSY

#define CDRW_ERR_CLOSE_IN_PROGRESS_BUSY   0x0003

Definition at line 1693 of file cdrw_usr.h.

◆ CDRW_ERR_CUE_SHEET_REQUIRED

#define CDRW_ERR_CUE_SHEET_REQUIRED   0x001a

Definition at line 1716 of file cdrw_usr.h.

◆ CDRW_ERR_DEVICE_WRITE_ERROR

#define CDRW_ERR_DEVICE_WRITE_ERROR   0x001f

Definition at line 1723 of file cdrw_usr.h.

◆ CDRW_ERR_DOOR_LOCKED_BUSY

#define CDRW_ERR_DOOR_LOCKED_BUSY   0x0022

Definition at line 1726 of file cdrw_usr.h.

◆ CDRW_ERR_DVD_LICENSE_VIOLATION

#define CDRW_ERR_DVD_LICENSE_VIOLATION   0x0025

Definition at line 1729 of file cdrw_usr.h.

◆ CDRW_ERR_FORMAT_IN_PROGRESS_BUSY

#define CDRW_ERR_FORMAT_IN_PROGRESS_BUSY   0x0002

Definition at line 1692 of file cdrw_usr.h.

◆ CDRW_ERR_INVALID_DVD_KEY_TYPE

#define CDRW_ERR_INVALID_DVD_KEY_TYPE   0x0026

Definition at line 1730 of file cdrw_usr.h.

◆ CDRW_ERR_INVALID_DVD_REGION_CODE

#define CDRW_ERR_INVALID_DVD_REGION_CODE   0x0027

Definition at line 1731 of file cdrw_usr.h.

◆ CDRW_ERR_INVALID_FIXED_PACKET_SIZE

#define CDRW_ERR_INVALID_FIXED_PACKET_SIZE   0x0018

Definition at line 1714 of file cdrw_usr.h.

◆ CDRW_ERR_INVALID_FORMAT_UNIT_SETTINGS

#define CDRW_ERR_INVALID_FORMAT_UNIT_SETTINGS   0x001c

Definition at line 1718 of file cdrw_usr.h.

◆ CDRW_ERR_INVALID_INPUT_BUFFER_SIZE

#define CDRW_ERR_INVALID_INPUT_BUFFER_SIZE   0x0010

Definition at line 1706 of file cdrw_usr.h.

◆ CDRW_ERR_INVALID_IO_BUFFER_ADDRESS

#define CDRW_ERR_INVALID_IO_BUFFER_ADDRESS   0x000f

Definition at line 1705 of file cdrw_usr.h.

◆ CDRW_ERR_INVALID_LBA

#define CDRW_ERR_INVALID_LBA   0x0017

Definition at line 1713 of file cdrw_usr.h.

◆ CDRW_ERR_INVALID_OUTPUT_BUFFER_SIZE

#define CDRW_ERR_INVALID_OUTPUT_BUFFER_SIZE   0x0011

Definition at line 1707 of file cdrw_usr.h.

◆ CDRW_ERR_INVALID_SECTOR_MODE

#define CDRW_ERR_INVALID_SECTOR_MODE   0x0024

Definition at line 1728 of file cdrw_usr.h.

◆ CDRW_ERR_INVALID_WRITE_TYPE_FOR_MEDIA

#define CDRW_ERR_INVALID_WRITE_TYPE_FOR_MEDIA   0x0019

Definition at line 1715 of file cdrw_usr.h.

◆ CDRW_ERR_INWALID_WRITE_PARAMETERS

#define CDRW_ERR_INWALID_WRITE_PARAMETERS   0x000e

Definition at line 1704 of file cdrw_usr.h.

◆ CDRW_ERR_MAGIC_WORD_REQUIRED

#define CDRW_ERR_MAGIC_WORD_REQUIRED   0x0023

Definition at line 1727 of file cdrw_usr.h.

◆ CDRW_ERR_MEDIA_NOT_APPENDABLE

#define CDRW_ERR_MEDIA_NOT_APPENDABLE   0x0016

Definition at line 1712 of file cdrw_usr.h.

◆ CDRW_ERR_MEDIA_WRITE_PROTECTED

#define CDRW_ERR_MEDIA_WRITE_PROTECTED   0x0013

Definition at line 1709 of file cdrw_usr.h.

◆ CDRW_ERR_NO_ERROR

#define CDRW_ERR_NO_ERROR   0x0000

Definition at line 1690 of file cdrw_usr.h.

◆ CDRW_ERR_NO_MEDIA

#define CDRW_ERR_NO_MEDIA   0x0014

Definition at line 1710 of file cdrw_usr.h.

◆ CDRW_ERR_PAGE_IS_NOT_SUPPORTED

#define CDRW_ERR_PAGE_IS_NOT_SUPPORTED   0x0028

Definition at line 1732 of file cdrw_usr.h.

◆ CDRW_ERR_PLAY_IN_PROGRESS_BUSY

#define CDRW_ERR_PLAY_IN_PROGRESS_BUSY   0x000c

Definition at line 1702 of file cdrw_usr.h.

◆ CDRW_ERR_STD_FORMAT_REQUIRED

#define CDRW_ERR_STD_FORMAT_REQUIRED   0x0029

Definition at line 1733 of file cdrw_usr.h.

◆ CDRW_ERR_STREAM_LOSS

#define CDRW_ERR_STREAM_LOSS   0x0006

Definition at line 1696 of file cdrw_usr.h.

◆ CDRW_ERR_TEST_WRITE_UNSUPPORTED

#define CDRW_ERR_TEST_WRITE_UNSUPPORTED   0x0007

Definition at line 1697 of file cdrw_usr.h.

◆ CDRW_ERR_TOO_LONG_BLOCK_TO_TRANSFER

#define CDRW_ERR_TOO_LONG_BLOCK_TO_TRANSFER   0x000d

Definition at line 1703 of file cdrw_usr.h.

◆ CDRW_ERR_TRAY_OPEN

#define CDRW_ERR_TRAY_OPEN   0x0015

Definition at line 1711 of file cdrw_usr.h.

◆ CDRW_ERR_UNHANDLED_FORMAT_UNIT_MODE

#define CDRW_ERR_UNHANDLED_FORMAT_UNIT_MODE   0x001d

Definition at line 1720 of file cdrw_usr.h.

◆ CDRW_ERR_UNHANDLED_FORMAT_WORKAROUND_MODE

#define CDRW_ERR_UNHANDLED_FORMAT_WORKAROUND_MODE   0x0021

Definition at line 1725 of file cdrw_usr.h.

◆ CDRW_ERR_UNHANDLED_IOCTL

#define CDRW_ERR_UNHANDLED_IOCTL   0x0020

Definition at line 1724 of file cdrw_usr.h.

◆ CDRW_ERR_UNHANDLED_WRITE_TYPE

#define CDRW_ERR_UNHANDLED_WRITE_TYPE   0x0008

Definition at line 1698 of file cdrw_usr.h.

◆ CDRW_ERR_UNRECOGNIZED_MEDIA

#define CDRW_ERR_UNRECOGNIZED_MEDIA   0x0012

Definition at line 1708 of file cdrw_usr.h.

◆ CDRW_ERR_VERIFY_REQUIRED

#define CDRW_ERR_VERIFY_REQUIRED   0x000b

Definition at line 1701 of file cdrw_usr.h.

◆ CDRW_ERR_WRITE_IN_PROGRESS_BUSY

#define CDRW_ERR_WRITE_IN_PROGRESS_BUSY   0x0001

Definition at line 1691 of file cdrw_usr.h.

◆ CDRW_FEATURE_BAD_DVD_LAST_LBA

#define CDRW_FEATURE_BAD_DVD_LAST_LBA   0x00000200

Definition at line 1492 of file cdrw_usr.h.

◆ CDRW_FEATURE_BAD_RW_SEEK

#define CDRW_FEATURE_BAD_RW_SEEK   0x00000020

Definition at line 1485 of file cdrw_usr.h.

◆ CDRW_FEATURE_CHANGER

#define CDRW_FEATURE_CHANGER   0x80000000

Definition at line 1496 of file cdrw_usr.h.

◆ CDRW_FEATURE_EVENT

#define CDRW_FEATURE_EVENT   0x00000002

Definition at line 1481 of file cdrw_usr.h.

◆ CDRW_FEATURE_FORCE_SYNC_BEFORE_READ

#define CDRW_FEATURE_FORCE_SYNC_BEFORE_READ   0x00001000

Definition at line 1495 of file cdrw_usr.h.

◆ CDRW_FEATURE_FORCE_SYNC_ON_WRITE

#define CDRW_FEATURE_FORCE_SYNC_ON_WRITE   0x00000100

Definition at line 1491 of file cdrw_usr.h.

◆ CDRW_FEATURE_FP_ADDRESSING_PROBLEM

#define CDRW_FEATURE_FP_ADDRESSING_PROBLEM   0x00000040

Definition at line 1489 of file cdrw_usr.h.

◆ CDRW_FEATURE_FULL_BLANK_ON_FORMAT

#define CDRW_FEATURE_FULL_BLANK_ON_FORMAT   0x00000400

Definition at line 1493 of file cdrw_usr.h.

◆ CDRW_FEATURE_GET_CFG

#define CDRW_FEATURE_GET_CFG   0x00000004

Definition at line 1482 of file cdrw_usr.h.

◆ CDRW_FEATURE_MRW_ADDRESSING_PROBLEM

#define CDRW_FEATURE_MRW_ADDRESSING_PROBLEM   0x00000080

Definition at line 1490 of file cdrw_usr.h.

◆ CDRW_FEATURE_NO_LOCK_REP

#define CDRW_FEATURE_NO_LOCK_REP   0x00000008

Definition at line 1483 of file cdrw_usr.h.

◆ CDRW_FEATURE_OPC

#define CDRW_FEATURE_OPC   0x00000001

Definition at line 1480 of file cdrw_usr.h.

◆ CDRW_FEATURE_STREAMING

#define CDRW_FEATURE_STREAMING   0x00000800

Definition at line 1494 of file cdrw_usr.h.

◆ CDRW_FEATURE_SYNC_ON_WRITE

#define CDRW_FEATURE_SYNC_ON_WRITE   0x00000010

Definition at line 1484 of file cdrw_usr.h.

◆ CDRW_SIGNATURE_v1

#define CDRW_SIGNATURE_v1   "ALWA CD-R/W v1"

Definition at line 25 of file cdrw_usr.h.

◆ CdrwIsDvdOverwritable

#define CdrwIsDvdOverwritable (   MediaClassEx)
Value:
((MediaClassEx) == CdMediaClass_DVDRW || \
(MediaClassEx) == CdMediaClass_DVDpRW || \
(MediaClassEx) == CdMediaClass_DVDRAM || \
(MediaClassEx) == CdMediaClass_BDRE || \
(MediaClassEx) == CdMediaClass_HD_DVDRW || \
(MediaClassEx) == CdMediaClass_HD_DVDRAM \
)
#define CdMediaClass_DVDRAM
Definition: cdrw_usr.h:747
#define CdMediaClass_DVDRW
Definition: cdrw_usr.h:749
#define CdMediaClass_HD_DVDRAM
Definition: cdrw_usr.h:759
#define CdMediaClass_BDRE
Definition: cdrw_usr.h:756
#define CdMediaClass_DVDpRW
Definition: cdrw_usr.h:751
#define CdMediaClass_HD_DVDRW
Definition: cdrw_usr.h:761

Definition at line 804 of file cdrw_usr.h.

◆ CdrwMediaClassEx_IsRAM

#define CdrwMediaClassEx_IsRAM (   MediaClassEx)
Value:
( \
((MediaClassEx) == CdMediaClass_DVDRAM) || \
((MediaClassEx) == CdMediaClass_BDRE) || \
((MediaClassEx) == CdMediaClass_HD_DVDRAM) )
#define CdMediaClass_DVDRAM
Definition: cdrw_usr.h:747
#define CdMediaClass_HD_DVDRAM
Definition: cdrw_usr.h:759
#define CdMediaClass_BDRE
Definition: cdrw_usr.h:756

Definition at line 799 of file cdrw_usr.h.

◆ DEFAULT_LAST_LBA_BD

#define DEFAULT_LAST_LBA_BD   (25*1000*1000/2-1)

Definition at line 1822 of file cdrw_usr.h.

◆ DEFAULT_LAST_LBA_DVD

#define DEFAULT_LAST_LBA_DVD   0x23053f

Definition at line 1821 of file cdrw_usr.h.

◆ DEFAULT_LAST_LBA_FP_CD

#define DEFAULT_LAST_LBA_FP_CD   276159

Definition at line 1820 of file cdrw_usr.h.

◆ DefSession_LastAvailable

#define DefSession_LastAvailable   0xff

Definition at line 1428 of file cdrw_usr.h.

◆ DEV_CAP_GET_PROFILE

#define DEV_CAP_GET_PROFILE (   arr,
  pf 
)    (((pf) > PFNUM_Max) ? 0 : (((arr)[(pf)/32] >> (pf)%32) & 1))

Definition at line 1498 of file cdrw_usr.h.

◆ DiscStatus_Formattable

#define DiscStatus_Formattable   0x01

Definition at line 626 of file cdrw_usr.h.

◆ DiskLayout_FLAGS_RAW_DISK

#define DiskLayout_FLAGS_RAW_DISK   (0x00040000)

Definition at line 1682 of file cdrw_usr.h.

◆ DiskLayout_FLAGS_TRACKMAP

#define DiskLayout_FLAGS_TRACKMAP   (0x00002000)

Definition at line 1681 of file cdrw_usr.h.

◆ DVD_ASF_LENGTH

#define DVD_ASF_LENGTH   (sizeof(DVD_ASF) + sizeof(DVD_COPY_PROTECT_KEY))

Definition at line 1599 of file cdrw_usr.h.

◆ DVD_BUS_KEY_LENGTH

#define DVD_BUS_KEY_LENGTH   (8 + sizeof(DVD_COPY_PROTECT_KEY))

Definition at line 1594 of file cdrw_usr.h.

◆ DVD_CHALLENGE_KEY_LENGTH

#define DVD_CHALLENGE_KEY_LENGTH   (12 + sizeof(DVD_COPY_PROTECT_KEY))

Definition at line 1593 of file cdrw_usr.h.

◆ DVD_DISK_KEY_LENGTH

#define DVD_DISK_KEY_LENGTH   (2048 + sizeof(DVD_COPY_PROTECT_KEY))

Definition at line 1596 of file cdrw_usr.h.

◆ DVD_RPC_KEY_LENGTH

#define DVD_RPC_KEY_LENGTH   (sizeof(DVD_RPC_KEY) + sizeof(DVD_COPY_PROTECT_KEY))

Definition at line 1597 of file cdrw_usr.h.

◆ DVD_SET_RPC_KEY_LENGTH

#define DVD_SET_RPC_KEY_LENGTH   (sizeof(DVD_SET_RPC_KEY) + sizeof(DVD_COPY_PROTECT_KEY))

Definition at line 1598 of file cdrw_usr.h.

◆ DVD_TITLE_KEY_LENGTH

#define DVD_TITLE_KEY_LENGTH   (8 + sizeof(DVD_COPY_PROTECT_KEY))

Definition at line 1595 of file cdrw_usr.h.

◆ FILE_DEVICE_CDRW

#define FILE_DEVICE_CDRW   0x00000999

Definition at line 56 of file cdrw_usr.h.

◆ FILE_DEVICE_SECURE_OPEN

#define FILE_DEVICE_SECURE_OPEN   0x00000100

Definition at line 46 of file cdrw_usr.h.

◆ FORMAT_UNIT_FORCE_FULL_FMT

#define FORMAT_UNIT_FORCE_FULL_FMT   0x40000000

Definition at line 515 of file cdrw_usr.h.

◆ FORMAT_UNIT_FORCE_STD_MODE

#define FORMAT_UNIT_FORCE_STD_MODE   0x80000000

Definition at line 514 of file cdrw_usr.h.

◆ FORMAT_UNIT_RESTART_MRW

#define FORMAT_UNIT_RESTART_MRW   0x01000000

Definition at line 516 of file cdrw_usr.h.

◆ FORMATUNIT_FP

#define FORMATUNIT_FP   0

Definition at line 1758 of file cdrw_usr.h.

◆ FORMATUNIT_STD

#define FORMATUNIT_STD   1

Definition at line 1759 of file cdrw_usr.h.

◆ IOCTL_CDROM_CURRENT_POSITION

#define IOCTL_CDROM_CURRENT_POSITION   0x01

Definition at line 1354 of file cdrw_usr.h.

◆ IOCTL_CDROM_EJECT_MEDIA

#define IOCTL_CDROM_EJECT_MEDIA   CTL_CODE(IOCTL_CDROM_BASE, 0x0202, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 60 of file cdrw_usr.h.

◆ IOCTL_CDROM_LOAD_MEDIA

#define IOCTL_CDROM_LOAD_MEDIA   CTL_CODE(IOCTL_CDROM_BASE, 0x0203, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 61 of file cdrw_usr.h.

◆ IOCTL_CDROM_MEDIA_CATALOG

#define IOCTL_CDROM_MEDIA_CATALOG   0x02

Definition at line 1355 of file cdrw_usr.h.

◆ IOCTL_CDROM_MEDIA_REMOVAL

#define IOCTL_CDROM_MEDIA_REMOVAL   CTL_CODE(IOCTL_CDROM_BASE, 0x0201, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 59 of file cdrw_usr.h.

◆ IOCTL_CDROM_SUB_Q_CHANNEL

#define IOCTL_CDROM_SUB_Q_CHANNEL   0x00

Definition at line 1353 of file cdrw_usr.h.

◆ IOCTL_CDROM_TRACK_ISRC

#define IOCTL_CDROM_TRACK_ISRC   0x03

Definition at line 1356 of file cdrw_usr.h.

◆ IOCTL_CDRW_BLANK

#define IOCTL_CDRW_BLANK   CDRW_CTL_CODE_R(0x809, METHOD_BUFFERED)

Definition at line 88 of file cdrw_usr.h.

◆ IOCTL_CDRW_BUFFER_CAPACITY

#define IOCTL_CDRW_BUFFER_CAPACITY   CDRW_CTL_CODE_A(0x80e, METHOD_IN_DIRECT)

Definition at line 94 of file cdrw_usr.h.

◆ IOCTL_CDRW_CHECK_VERIFY

#define IOCTL_CDRW_CHECK_VERIFY   IOCTL_CDROM_CHECK_VERIFY

Definition at line 148 of file cdrw_usr.h.

◆ IOCTL_CDRW_CLOSE_TRK_SES

#define IOCTL_CDRW_CLOSE_TRK_SES   CDRW_CTL_CODE_W(0x80a, METHOD_BUFFERED)

Definition at line 89 of file cdrw_usr.h.

◆ IOCTL_CDRW_DISK_TYPE

#define IOCTL_CDRW_DISK_TYPE   IOCTL_CDROM_DISK_TYPE

Definition at line 146 of file cdrw_usr.h.

◆ IOCTL_CDRW_EJECT_MEDIA

#define IOCTL_CDRW_EJECT_MEDIA   IOCTL_CDROM_EJECT_MEDIA

Definition at line 150 of file cdrw_usr.h.

◆ IOCTL_CDRW_FIND_NEW_DEVICES

#define IOCTL_CDRW_FIND_NEW_DEVICES   IOCTL_CDROM_FIND_NEW_DEVICES

Definition at line 154 of file cdrw_usr.h.

◆ IOCTL_CDRW_FORMAT_UNIT

#define IOCTL_CDRW_FORMAT_UNIT   CDRW_CTL_CODE_W(0x811, METHOD_BUFFERED)

Definition at line 98 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_CAPABILITIES

#define IOCTL_CDRW_GET_CAPABILITIES   CDRW_CTL_CODE_X(0x804, METHOD_BUFFERED)

Definition at line 82 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_CONTROL

#define IOCTL_CDRW_GET_CONTROL   IOCTL_CDROM_GET_CONTROL

Definition at line 135 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_DEVICE_INFO

#define IOCTL_CDRW_GET_DEVICE_INFO   CDRW_CTL_CODE_R(0x825, METHOD_BUFFERED)

Definition at line 119 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_DEVICE_NAME

#define IOCTL_CDRW_GET_DEVICE_NAME   CDRW_CTL_CODE_R(0x827, METHOD_BUFFERED)

Definition at line 121 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_DISC_LAYOUT

#define IOCTL_CDRW_GET_DISC_LAYOUT   CDRW_CTL_CODE_R(0x82d, METHOD_IN_DIRECT)

Definition at line 129 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_EVENT

#define IOCTL_CDRW_GET_EVENT   CDRW_CTL_CODE_R(0x826, METHOD_IN_DIRECT)

Definition at line 120 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_LAST_ERROR

#define IOCTL_CDRW_GET_LAST_ERROR   CDRW_CTL_CODE_R(0x815, METHOD_BUFFERED)

Definition at line 103 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_LAST_SESSION

#define IOCTL_CDRW_GET_LAST_SESSION   IOCTL_CDROM_GET_LAST_SESSION

Definition at line 144 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_MEDIA_TYPE

#define IOCTL_CDRW_GET_MEDIA_TYPE   CDRW_CTL_CODE_X(0x805, METHOD_BUFFERED)

Definition at line 84 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_MEDIA_TYPE_EX

#define IOCTL_CDRW_GET_MEDIA_TYPE_EX   CDRW_CTL_CODE_X(0x829, METHOD_BUFFERED)

Definition at line 123 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_MRW_MODE

#define IOCTL_CDRW_GET_MRW_MODE   CDRW_CTL_CODE_X(0x82a, METHOD_BUFFERED)

Definition at line 125 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_SIGNATURE

#define IOCTL_CDRW_GET_SIGNATURE   CDRW_CTL_CODE_X(0x80f, METHOD_BUFFERED)

Definition at line 95 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_SPEED

#define IOCTL_CDRW_GET_SPEED   IOCTL_CDRW_GET_CAPABILITIES

Definition at line 83 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_VOLUME

#define IOCTL_CDRW_GET_VOLUME   IOCTL_CDROM_GET_VOLUME

Definition at line 141 of file cdrw_usr.h.

◆ IOCTL_CDRW_GET_WRITE_MODE

#define IOCTL_CDRW_GET_WRITE_MODE   CDRW_CTL_CODE_R(0x806, METHOD_BUFFERED)

Definition at line 85 of file cdrw_usr.h.

◆ IOCTL_CDRW_INIT_DEINIT

#define IOCTL_CDRW_INIT_DEINIT   CDRW_CTL_CODE_A(0x81e, METHOD_BUFFERED)

Definition at line 112 of file cdrw_usr.h.

◆ IOCTL_CDRW_LL_READ

#define IOCTL_CDRW_LL_READ   CDRW_CTL_CODE_R(0x81c, METHOD_BUFFERED)

Definition at line 110 of file cdrw_usr.h.

◆ IOCTL_CDRW_LL_WRITE

#define IOCTL_CDRW_LL_WRITE   CDRW_CTL_CODE_R(0x80b, METHOD_BUFFERED)

Definition at line 91 of file cdrw_usr.h.

◆ IOCTL_CDRW_LOAD_MEDIA

#define IOCTL_CDRW_LOAD_MEDIA   IOCTL_CDROM_LOAD_MEDIA

Definition at line 151 of file cdrw_usr.h.

◆ IOCTL_CDRW_LOCK_DOOR

#define IOCTL_CDRW_LOCK_DOOR   CDRW_CTL_CODE_R(0x801, METHOD_BUFFERED)

Definition at line 79 of file cdrw_usr.h.

◆ IOCTL_CDRW_MEDIA_REMOVAL

#define IOCTL_CDRW_MEDIA_REMOVAL   IOCTL_CDROM_MEDIA_REMOVAL

Definition at line 149 of file cdrw_usr.h.

◆ IOCTL_CDRW_MODE_SELECT

#define IOCTL_CDRW_MODE_SELECT   CDRW_CTL_CODE_R(0x817, METHOD_BUFFERED)

Definition at line 105 of file cdrw_usr.h.

◆ IOCTL_CDRW_MODE_SENSE

#define IOCTL_CDRW_MODE_SENSE   CDRW_CTL_CODE_X(0x816, METHOD_BUFFERED)

Definition at line 104 of file cdrw_usr.h.

◆ IOCTL_CDRW_NOTIFY_MEDIA_CHANGE

#define IOCTL_CDRW_NOTIFY_MEDIA_CHANGE   CDRW_CTL_CODE_X(0x81a, METHOD_BUFFERED)

Definition at line 108 of file cdrw_usr.h.

◆ IOCTL_CDRW_PAUSE_AUDIO

#define IOCTL_CDRW_PAUSE_AUDIO   IOCTL_CDROM_PAUSE_AUDIO

Definition at line 139 of file cdrw_usr.h.

◆ IOCTL_CDRW_PLAY_AUDIO_MSF

#define IOCTL_CDRW_PLAY_AUDIO_MSF   IOCTL_CDROM_PLAY_AUDIO_MSF

Definition at line 136 of file cdrw_usr.h.

◆ IOCTL_CDRW_RAW_READ

#define IOCTL_CDRW_RAW_READ   IOCTL_CDROM_RAW_READ

Definition at line 145 of file cdrw_usr.h.

◆ IOCTL_CDRW_READ_ATIP

#define IOCTL_CDRW_READ_ATIP   CDRW_CTL_CODE_R(0x822, METHOD_BUFFERED)

Definition at line 116 of file cdrw_usr.h.

◆ IOCTL_CDRW_READ_CAPACITY

#define IOCTL_CDRW_READ_CAPACITY   CDRW_CTL_CODE_R(0x82c, METHOD_IN_DIRECT)

Definition at line 128 of file cdrw_usr.h.

◆ IOCTL_CDRW_READ_CD_TEXT

#define IOCTL_CDRW_READ_CD_TEXT   CDRW_CTL_CODE_R(0x823, METHOD_BUFFERED)

Definition at line 117 of file cdrw_usr.h.

◆ IOCTL_CDRW_READ_DISC_INFO

#define IOCTL_CDRW_READ_DISC_INFO   CDRW_CTL_CODE_R(0x80d, METHOD_IN_DIRECT)

Definition at line 93 of file cdrw_usr.h.

◆ IOCTL_CDRW_READ_FULL_TOC

#define IOCTL_CDRW_READ_FULL_TOC   CDRW_CTL_CODE_R(0x81f, METHOD_BUFFERED)

Definition at line 113 of file cdrw_usr.h.

◆ IOCTL_CDRW_READ_PMA

#define IOCTL_CDRW_READ_PMA   CDRW_CTL_CODE_R(0x820, METHOD_BUFFERED)

Definition at line 114 of file cdrw_usr.h.

◆ IOCTL_CDRW_READ_Q_CHANNEL

#define IOCTL_CDRW_READ_Q_CHANNEL   IOCTL_CDROM_READ_Q_CHANNEL

Definition at line 143 of file cdrw_usr.h.

◆ IOCTL_CDRW_READ_SESSION_INFO

#define IOCTL_CDRW_READ_SESSION_INFO   CDRW_CTL_CODE_R(0x821, METHOD_BUFFERED)

Definition at line 115 of file cdrw_usr.h.

◆ IOCTL_CDRW_READ_TOC

#define IOCTL_CDRW_READ_TOC   IOCTL_CDROM_READ_TOC

Definition at line 134 of file cdrw_usr.h.

◆ IOCTL_CDRW_READ_TOC_EX

#define IOCTL_CDRW_READ_TOC_EX   CDRW_CTL_CODE_R(0x824, METHOD_BUFFERED)

Definition at line 118 of file cdrw_usr.h.

◆ IOCTL_CDRW_READ_TRACK_INFO

#define IOCTL_CDRW_READ_TRACK_INFO   CDRW_CTL_CODE_R(0x80c, METHOD_IN_DIRECT)

Definition at line 92 of file cdrw_usr.h.

◆ IOCTL_CDRW_RELEASE

#define IOCTL_CDRW_RELEASE   IOCTL_CDROM_RELEASE

Definition at line 153 of file cdrw_usr.h.

◆ IOCTL_CDRW_RESERVE

#define IOCTL_CDRW_RESERVE   IOCTL_CDROM_RESERVE

Definition at line 152 of file cdrw_usr.h.

◆ IOCTL_CDRW_RESERVE_TRACK

#define IOCTL_CDRW_RESERVE_TRACK   CDRW_CTL_CODE_W(0x808, METHOD_BUFFERED)

Definition at line 87 of file cdrw_usr.h.

◆ IOCTL_CDRW_RESET_DRIVER

#define IOCTL_CDRW_RESET_DRIVER   CDRW_CTL_CODE_A(0x810, METHOD_BUFFERED)

Definition at line 96 of file cdrw_usr.h.

◆ IOCTL_CDRW_RESET_DRIVER_EX

#define IOCTL_CDRW_RESET_DRIVER_EX   CDRW_CTL_CODE_A(0x828, METHOD_BUFFERED)

Definition at line 122 of file cdrw_usr.h.

◆ IOCTL_CDRW_RESET_WRITE_STATUS

#define IOCTL_CDRW_RESET_WRITE_STATUS   CDRW_CTL_CODE_X(0x814, METHOD_BUFFERED)

Definition at line 102 of file cdrw_usr.h.

◆ IOCTL_CDRW_RESUME_AUDIO

#define IOCTL_CDRW_RESUME_AUDIO   IOCTL_CDROM_RESUME_AUDIO

Definition at line 140 of file cdrw_usr.h.

◆ IOCTL_CDRW_SEEK_AUDIO_MSF

#define IOCTL_CDRW_SEEK_AUDIO_MSF   IOCTL_CDROM_SEEK_AUDIO_MSF

Definition at line 137 of file cdrw_usr.h.

◆ IOCTL_CDRW_SEND_CUE_SHEET

#define IOCTL_CDRW_SEND_CUE_SHEET   CDRW_CTL_CODE_W(0x81d, METHOD_OUT_DIRECT)

Definition at line 111 of file cdrw_usr.h.

◆ IOCTL_CDRW_SEND_OPC_INFO

#define IOCTL_CDRW_SEND_OPC_INFO   CDRW_CTL_CODE_W(0x81b, METHOD_BUFFERED)

Definition at line 109 of file cdrw_usr.h.

◆ IOCTL_CDRW_SET_DEFAULT_SESSION

#define IOCTL_CDRW_SET_DEFAULT_SESSION   CDRW_CTL_CODE_R(0x819, METHOD_BUFFERED)

Definition at line 107 of file cdrw_usr.h.

◆ IOCTL_CDRW_SET_MRW_MODE

#define IOCTL_CDRW_SET_MRW_MODE   CDRW_CTL_CODE_X(0x82b, METHOD_BUFFERED)

Definition at line 126 of file cdrw_usr.h.

◆ IOCTL_CDRW_SET_RANDOM_ACCESS

#define IOCTL_CDRW_SET_RANDOM_ACCESS   CDRW_CTL_CODE_W(0x812, METHOD_BUFFERED)

Definition at line 99 of file cdrw_usr.h.

◆ IOCTL_CDRW_SET_READ_AHEAD

#define IOCTL_CDRW_SET_READ_AHEAD   CDRW_CTL_CODE_R(0x818, METHOD_BUFFERED)

Definition at line 106 of file cdrw_usr.h.

◆ IOCTL_CDRW_SET_SPEED

#define IOCTL_CDRW_SET_SPEED   CDRW_CTL_CODE_R(0x802, METHOD_BUFFERED)

Definition at line 80 of file cdrw_usr.h.

◆ IOCTL_CDRW_SET_STREAMING

#define IOCTL_CDRW_SET_STREAMING   CDRW_CTL_CODE_W(0x82e, METHOD_BUFFERED)

Definition at line 130 of file cdrw_usr.h.

◆ IOCTL_CDRW_SET_VOLUME

#define IOCTL_CDRW_SET_VOLUME   IOCTL_CDROM_SET_VOLUME

Definition at line 142 of file cdrw_usr.h.

◆ IOCTL_CDRW_SET_WRITE_MODE

#define IOCTL_CDRW_SET_WRITE_MODE   CDRW_CTL_CODE_W(0x807, METHOD_BUFFERED)

Definition at line 86 of file cdrw_usr.h.

◆ IOCTL_CDRW_STOP_AUDIO

#define IOCTL_CDRW_STOP_AUDIO   IOCTL_CDROM_STOP_AUDIO

Definition at line 138 of file cdrw_usr.h.

◆ IOCTL_CDRW_SYNC_CACHE

#define IOCTL_CDRW_SYNC_CACHE   CDRW_CTL_CODE_W(0x803, METHOD_BUFFERED)

Definition at line 81 of file cdrw_usr.h.

◆ IOCTL_CDRW_TEST_UNIT_READY

#define IOCTL_CDRW_TEST_UNIT_READY   CDRW_CTL_CODE_X(0x813, METHOD_BUFFERED)

Definition at line 101 of file cdrw_usr.h.

◆ IOCTL_CDRW_UNLOAD_DRIVER

#define IOCTL_CDRW_UNLOAD_DRIVER   IOCTL_CDROM_UNLOAD_DRIVER

Definition at line 132 of file cdrw_usr.h.

◆ IOCTL_DISK_CHECK_VERIFY

#define IOCTL_DISK_CHECK_VERIFY   CTL_CODE(IOCTL_DISK_BASE, 0x0200, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 175 of file cdrw_usr.h.

◆ IOCTL_DISK_EJECT_MEDIA

#define IOCTL_DISK_EJECT_MEDIA   CTL_CODE(IOCTL_DISK_BASE, 0x0202, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 177 of file cdrw_usr.h.

◆ IOCTL_DISK_FIND_NEW_DEVICES

#define IOCTL_DISK_FIND_NEW_DEVICES   CTL_CODE(IOCTL_DISK_BASE, 0x0206, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 181 of file cdrw_usr.h.

◆ IOCTL_DISK_FORMAT_TRACKS

#define IOCTL_DISK_FORMAT_TRACKS   CTL_CODE(IOCTL_DISK_BASE, 0x0006, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 171 of file cdrw_usr.h.

◆ IOCTL_DISK_FORMAT_TRACKS_EX

#define IOCTL_DISK_FORMAT_TRACKS_EX   CTL_CODE(IOCTL_DISK_BASE, 0x000b, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 173 of file cdrw_usr.h.

◆ IOCTL_DISK_GET_DRIVE_GEOMETRY

#define IOCTL_DISK_GET_DRIVE_GEOMETRY   CTL_CODE(IOCTL_DISK_BASE, 0x0000, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 169 of file cdrw_usr.h.

◆ IOCTL_DISK_GET_MEDIA_TYPES

#define IOCTL_DISK_GET_MEDIA_TYPES   CTL_CODE(IOCTL_DISK_BASE, 0x0300, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 182 of file cdrw_usr.h.

◆ IOCTL_DISK_IS_WRITABLE

#define IOCTL_DISK_IS_WRITABLE   CTL_CODE(IOCTL_DISK_BASE, 0x0009, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 172 of file cdrw_usr.h.

◆ IOCTL_DISK_LOAD_MEDIA

#define IOCTL_DISK_LOAD_MEDIA   CTL_CODE(IOCTL_DISK_BASE, 0x0203, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 178 of file cdrw_usr.h.

◆ IOCTL_DISK_MEDIA_REMOVAL

#define IOCTL_DISK_MEDIA_REMOVAL   CTL_CODE(IOCTL_DISK_BASE, 0x0201, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 176 of file cdrw_usr.h.

◆ IOCTL_DISK_RELEASE

#define IOCTL_DISK_RELEASE   CTL_CODE(IOCTL_DISK_BASE, 0x0205, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 180 of file cdrw_usr.h.

◆ IOCTL_DISK_RESERVE

#define IOCTL_DISK_RESERVE   CTL_CODE(IOCTL_DISK_BASE, 0x0204, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 179 of file cdrw_usr.h.

◆ IOCTL_DISK_VERIFY

#define IOCTL_DISK_VERIFY   CTL_CODE(IOCTL_DISK_BASE, 0x0005, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 170 of file cdrw_usr.h.

◆ IOCTL_DVD_END_SESSION

#define IOCTL_DVD_END_SESSION   CTL_CODE(IOCTL_DVD_BASE, 0x0403, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 162 of file cdrw_usr.h.

◆ IOCTL_DVD_GET_REGION

#define IOCTL_DVD_GET_REGION   CTL_CODE(IOCTL_DVD_BASE, 0x0405, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 164 of file cdrw_usr.h.

◆ IOCTL_DVD_READ_KEY

#define IOCTL_DVD_READ_KEY   CTL_CODE(IOCTL_DVD_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 160 of file cdrw_usr.h.

◆ IOCTL_DVD_READ_STRUCTURE

#define IOCTL_DVD_READ_STRUCTURE   CTL_CODE(IOCTL_DVD_BASE, 0x0450, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 157 of file cdrw_usr.h.

◆ IOCTL_DVD_SEND_KEY

#define IOCTL_DVD_SEND_KEY   CTL_CODE(IOCTL_DVD_BASE, 0x0402, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 161 of file cdrw_usr.h.

◆ IOCTL_DVD_SEND_KEY2

#define IOCTL_DVD_SEND_KEY2   CTL_CODE(IOCTL_DVD_BASE, 0x0406, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 165 of file cdrw_usr.h.

◆ IOCTL_DVD_SET_READ_AHEAD

#define IOCTL_DVD_SET_READ_AHEAD   CTL_CODE(IOCTL_DVD_BASE, 0x0404, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 163 of file cdrw_usr.h.

◆ IOCTL_DVD_START_SESSION

#define IOCTL_DVD_START_SESSION   CTL_CODE(IOCTL_DVD_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 159 of file cdrw_usr.h.

◆ IOCTL_STORAGE_GET_MEDIA_TYPES_EX

#define IOCTL_STORAGE_GET_MEDIA_TYPES_EX   CTL_CODE(IOCTL_STORAGE_BASE, 0x0301, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 190 of file cdrw_usr.h.

◆ IOCTL_STORAGE_SET_READ_AHEAD

#define IOCTL_STORAGE_SET_READ_AHEAD   CTL_CODE(IOCTL_STORAGE_BASE, 0x0100, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 186 of file cdrw_usr.h.

◆ IRP_MJ_PNP

#define IRP_MJ_PNP   IRP_MJ_PNP_POWER

Definition at line 52 of file cdrw_usr.h.

◆ LOADMODE_ALWAYS

#define LOADMODE_ALWAYS   1

Definition at line 1747 of file cdrw_usr.h.

◆ LOADMODE_CDRW_ONLY

#define LOADMODE_CDRW_ONLY   0

Definition at line 1746 of file cdrw_usr.h.

◆ LOADMODE_NEVER

#define LOADMODE_NEVER   2

Definition at line 1748 of file cdrw_usr.h.

◆ LunWPerf_RotCtrl_CAV

#define LunWPerf_RotCtrl_CAV   0x01

Definition at line 1237 of file cdrw_usr.h.

◆ LunWPerf_RotCtrl_CLV

#define LunWPerf_RotCtrl_CLV   0x00

Definition at line 1236 of file cdrw_usr.h.

◆ LunWPerf_RotCtrl_Mask

#define LunWPerf_RotCtrl_Mask   0x07

Definition at line 1235 of file cdrw_usr.h.

◆ PACKETSIZE_STREAM

#define PACKETSIZE_STREAM   0

Definition at line 1752 of file cdrw_usr.h.

◆ PACKETSIZE_UDF

#define PACKETSIZE_UDF   32

Definition at line 1753 of file cdrw_usr.h.

◆ ReadCd_BlkType_Any

#define ReadCd_BlkType_Any   (0x00<<2)

Definition at line 1261 of file cdrw_usr.h.

◆ ReadCd_BlkType_CDDA

#define ReadCd_BlkType_CDDA   (0x01<<2)

Definition at line 1262 of file cdrw_usr.h.

◆ ReadCd_BlkType_M1

#define ReadCd_BlkType_M1   (0x02<<2)

Definition at line 1263 of file cdrw_usr.h.

◆ ReadCd_BlkType_M2F1

#define ReadCd_BlkType_M2F1   (0x04<<2)

Definition at line 1265 of file cdrw_usr.h.

◆ ReadCd_BlkType_M2F2

#define ReadCd_BlkType_M2F2   (0x05<<2)

Definition at line 1266 of file cdrw_usr.h.

◆ ReadCd_BlkType_M2FX

#define ReadCd_BlkType_M2FX   (0x03<<2)

Definition at line 1264 of file cdrw_usr.h.

◆ ReadCd_BlkType_Mask

#define ReadCd_BlkType_Mask   0x1c

Definition at line 1260 of file cdrw_usr.h.

◆ ReadCd_Error_C2

#define ReadCd_Error_C2   0x0002

Definition at line 1275 of file cdrw_usr.h.

◆ ReadCd_Error_C2ex

#define ReadCd_Error_C2ex   0x0004

Definition at line 1276 of file cdrw_usr.h.

◆ ReadCd_Error_Mask

#define ReadCd_Error_Mask   0x0006

Definition at line 1273 of file cdrw_usr.h.

◆ ReadCd_Error_None

#define ReadCd_Error_None   0x0000

Definition at line 1274 of file cdrw_usr.h.

◆ ReadCd_Header_AllHdr

#define ReadCd_Header_AllHdr   0x0060

Definition at line 1283 of file cdrw_usr.h.

◆ ReadCd_Header_Hdr

#define ReadCd_Header_Hdr   0x0020

Definition at line 1281 of file cdrw_usr.h.

◆ ReadCd_Header_Mask

#define ReadCd_Header_Mask   0x0060

Definition at line 1279 of file cdrw_usr.h.

◆ ReadCd_Header_None

#define ReadCd_Header_None   0x0000

Definition at line 1280 of file cdrw_usr.h.

◆ ReadCd_Header_SubHdr

#define ReadCd_Header_SubHdr   0x0040

Definition at line 1282 of file cdrw_usr.h.

◆ ReadCd_Include_EDC

#define ReadCd_Include_EDC   0x0008

Definition at line 1277 of file cdrw_usr.h.

◆ ReadCd_Include_SyncData

#define ReadCd_Include_SyncData   0x0080

Definition at line 1284 of file cdrw_usr.h.

◆ ReadCd_Include_UsrData

#define ReadCd_Include_UsrData   0x0010

Definition at line 1278 of file cdrw_usr.h.

◆ ReadCd_SubChan_All

#define ReadCd_SubChan_All   ReadCd_SubChan_Mask

Definition at line 1290 of file cdrw_usr.h.

◆ ReadCd_SubChan_Mask

#define ReadCd_SubChan_Mask   0x0700

Definition at line 1285 of file cdrw_usr.h.

◆ ReadCd_SubChan_None

#define ReadCd_SubChan_None   0x0000

Definition at line 1286 of file cdrw_usr.h.

◆ ReadCd_SubChan_PW

#define ReadCd_SubChan_PW   0x0400

Definition at line 1289 of file cdrw_usr.h.

◆ ReadCd_SubChan_Q

#define ReadCd_SubChan_Q   0x0200

Definition at line 1288 of file cdrw_usr.h.

◆ ReadCd_SubChan_Raw

#define ReadCd_SubChan_Raw   0x0100

Definition at line 1287 of file cdrw_usr.h.

◆ REG_ALLOW_PACKET_ON_CDR_NAME_USER

#define REG_ALLOW_PACKET_ON_CDR_NAME_USER   ("AllowPacketOnCdR")

Definition at line 1806 of file cdrw_usr.h.

◆ REG_ASSURE_READY_NAME_USER

#define REG_ASSURE_READY_NAME_USER   ("AssureReadiness")

Definition at line 1795 of file cdrw_usr.h.

◆ REG_AUTORUN_NAME_USER

#define REG_AUTORUN_NAME_USER   ("Autorun")

Definition at line 1743 of file cdrw_usr.h.

◆ REG_BAD_DVD_LAST_LBA_NAME_USER [1/2]

#define REG_BAD_DVD_LAST_LBA_NAME_USER   ("DvdBadLastLba")

Definition at line 1816 of file cdrw_usr.h.

◆ REG_BAD_DVD_LAST_LBA_NAME_USER [2/2]

#define REG_BAD_DVD_LAST_LBA_NAME_USER   ("DvdBadLastLba")

Definition at line 1816 of file cdrw_usr.h.

◆ REG_BAD_DVD_READ_CAPACITY_NAME_USER

#define REG_BAD_DVD_READ_CAPACITY_NAME_USER   ("DvdBadReadCapacity")

Definition at line 1814 of file cdrw_usr.h.

◆ REG_BAD_DVD_READ_DISC_INFO_NAME_USER

#define REG_BAD_DVD_READ_DISC_INFO_NAME_USER   ("DvdBadReadDiscInfo")

Definition at line 1813 of file cdrw_usr.h.

◆ REG_BAD_DVD_READ_TRACK_INFO_NAME_USER

#define REG_BAD_DVD_READ_TRACK_INFO_NAME_USER   ("DvdBadReadTrackInfo")

Definition at line 1812 of file cdrw_usr.h.

◆ REG_BAD_RW_SEEK_NAME_USER

#define REG_BAD_RW_SEEK_NAME_USER   ("BadRWSeek")

Definition at line 1804 of file cdrw_usr.h.

◆ REG_CDR_SIMULATION_NAME_USER

#define REG_CDR_SIMULATION_NAME_USER   ("CdRSimulationMode")

Definition at line 1765 of file cdrw_usr.h.

◆ REG_FORMATUNIT_NAME_USER

#define REG_FORMATUNIT_NAME_USER   ("FormatUnitMode")

Definition at line 1756 of file cdrw_usr.h.

◆ REG_FULL_BLANK_ON_FORMAT_NAME_USER

#define REG_FULL_BLANK_ON_FORMAT_NAME_USER   ("FullEraseBeforeFormat")

Definition at line 1818 of file cdrw_usr.h.

◆ REG_LOADMODE_NAME_USER

#define REG_LOADMODE_NAME_USER   ("LoadMode")

Definition at line 1744 of file cdrw_usr.h.

◆ REG_MAX_READY_RETRY_NAME_USER

#define REG_MAX_READY_RETRY_NAME_USER   ("MaxReadyRetry")

Definition at line 1810 of file cdrw_usr.h.

◆ REG_PACKETSIZE_NAME_USER

#define REG_PACKETSIZE_NAME_USER   ("PacketSize")

Definition at line 1750 of file cdrw_usr.h.

◆ REG_R_SPLIT_SIZE_NAME_USER

#define REG_R_SPLIT_SIZE_NAME_USER   ("ReadSplitSize")

Definition at line 1762 of file cdrw_usr.h.

◆ REG_SPEEDMODE_NAME_USER

#define REG_SPEEDMODE_NAME_USER   ("SpeedDetectionMode")

Definition at line 1771 of file cdrw_usr.h.

◆ REG_SYNC_PACKETS_NAME_USER

#define REG_SYNC_PACKETS_NAME_USER   ("SyncPacketsMode")

Definition at line 1786 of file cdrw_usr.h.

◆ REG_TIMEOUT_NAME_USER

#define REG_TIMEOUT_NAME_USER   ("TimeOutValue")

Definition at line 1742 of file cdrw_usr.h.

◆ REG_W_SPLIT_SIZE_NAME_USER

#define REG_W_SPLIT_SIZE_NAME_USER   ("WriteSplitSize")

Definition at line 1763 of file cdrw_usr.h.

◆ REG_WAIT_PACKETS_NAME_USER

#define REG_WAIT_PACKETS_NAME_USER   ("WaitPackets")

Definition at line 1800 of file cdrw_usr.h.

◆ REG_WMODE_SIMULATION_NAME_USER

#define REG_WMODE_SIMULATION_NAME_USER   ("WModeSimulation")

Definition at line 1781 of file cdrw_usr.h.

◆ RESERVE_TRACK_EX_RMZ

#define RESERVE_TRACK_EX_RMZ   0x2

Definition at line 474 of file cdrw_usr.h.

◆ RESERVE_TRACK_EX_SIZE

#define RESERVE_TRACK_EX_SIZE   0x0

Definition at line 472 of file cdrw_usr.h.

◆ RESERVE_TRACK_EX_START_LBA

#define RESERVE_TRACK_EX_START_LBA   0x1

Definition at line 473 of file cdrw_usr.h.

◆ SPEEDMODE_ASSUME_OK

#define SPEEDMODE_ASSUME_OK   0

Definition at line 1773 of file cdrw_usr.h.

◆ SPEEDMODE_REREAD

#define SPEEDMODE_REREAD   1

Definition at line 1774 of file cdrw_usr.h.

◆ SYNC_PACKETS_ALWAYS

#define SYNC_PACKETS_ALWAYS   0

Definition at line 1787 of file cdrw_usr.h.

◆ SYNC_PACKETS_BY_W_THROUGH

#define SYNC_PACKETS_BY_W_THROUGH   6

Definition at line 1793 of file cdrw_usr.h.

◆ SYNC_PACKETS_DISABLED

#define SYNC_PACKETS_DISABLED   4

Definition at line 1791 of file cdrw_usr.h.

◆ SYNC_PACKETS_FP

#define SYNC_PACKETS_FP   3

Definition at line 1790 of file cdrw_usr.h.

◆ SYNC_PACKETS_NEVER

#define SYNC_PACKETS_NEVER   2

Definition at line 1789 of file cdrw_usr.h.

◆ SYNC_PACKETS_RESET_DRV

#define SYNC_PACKETS_RESET_DRV   1

Definition at line 1788 of file cdrw_usr.h.

◆ SYNC_PACKETS_VP_ONLY

#define SYNC_PACKETS_VP_ONLY   5

Definition at line 1792 of file cdrw_usr.h.

◆ TrackMap_AllowCopyBit_variated

#define TrackMap_AllowCopyBit_variated   0x01

Definition at line 1637 of file cdrw_usr.h.

◆ TrackMap_CopyBit_variated

#define TrackMap_CopyBit_variated   0x02

Definition at line 1638 of file cdrw_usr.h.

◆ TrackMap_FixFPAddressing

#define TrackMap_FixFPAddressing   0x10

Definition at line 1641 of file cdrw_usr.h.

◆ TrackMap_FixMRWAddressing

#define TrackMap_FixMRWAddressing   0x20

Definition at line 1642 of file cdrw_usr.h.

◆ TrackMap_Try_variation

#define TrackMap_Try_variation   0x04

Definition at line 1639 of file cdrw_usr.h.

◆ TrackMap_Use_variation

#define TrackMap_Use_variation   0x08

Definition at line 1640 of file cdrw_usr.h.

◆ WAIT_PACKETS_ALWAYS

#define WAIT_PACKETS_ALWAYS   0

Definition at line 1801 of file cdrw_usr.h.

◆ WAIT_PACKETS_STREAM

#define WAIT_PACKETS_STREAM   1

Definition at line 1802 of file cdrw_usr.h.

◆ WMODE_ASSUME_OK

#define WMODE_ASSUME_OK   2

Definition at line 1784 of file cdrw_usr.h.

◆ WMODE_NOT_SUPPORTED

#define WMODE_NOT_SUPPORTED   0xff

Definition at line 1477 of file cdrw_usr.h.

◆ WMODE_NOT_TESTED

#define WMODE_NOT_TESTED   0x00

Definition at line 1478 of file cdrw_usr.h.

◆ WMODE_SIMULATION_OFF

#define WMODE_SIMULATION_OFF   0

Definition at line 1783 of file cdrw_usr.h.

◆ WMODE_SIMULATION_ON

#define WMODE_SIMULATION_ON   1

Definition at line 1782 of file cdrw_usr.h.

◆ WMODE_SUPPORTED

#define WMODE_SUPPORTED   0x01

Definition at line 1474 of file cdrw_usr.h.

◆ WMODE_SUPPORTED_FP

#define WMODE_SUPPORTED_FP   0x02

Definition at line 1475 of file cdrw_usr.h.

◆ WMODE_SUPPORTED_VP

#define WMODE_SUPPORTED_VP   0x04

Definition at line 1476 of file cdrw_usr.h.

Typedef Documentation

◆ AUDIO_CONTROL_USER_OUT

◆ BLANK_MEDIA_USER_IN

◆ BUFFER_CAPACITY_BLOCK_USER_OUT

◆ CDROM_DISK_DATA_USER_OUT

◆ CDRW_RESET_DRIVER_USER_IN

◆ CHECK_VERIFY_USER_OUT

Definition at line 1516 of file cdrw_usr.h.

◆ CLOSE_TRK_SES_USER_IN

◆ DISC_INFO_BLOCK_USER_OUT

◆ DISC_STATUS_INFO_USER_OUT

◆ DISK_VERIFY_USER_IN

◆ DVD_END_SESSION_USER_IN

◆ DVD_READ_KEY_USER_IN

◆ DVD_READ_KEY_USER_OUT

Definition at line 1579 of file cdrw_usr.h.

◆ DVD_READ_STRUCTURE_USER_IN

◆ DVD_READ_STRUCTURE_USER_OUT

◆ DVD_SESSION_ID

Definition at line 1544 of file cdrw_usr.h.

◆ DVD_START_SESSION_USER_OUT

◆ FORMAT_CDRW_PARAMETERS_USER_IN

◆ GET_CAPABILITIES_3_USER_OUT

◆ GET_CAPABILITIES_USER_OUT

◆ GET_DEVICE_INFO_OLD_USER_OUT

◆ GET_DEVICE_INFO_USER_OUT

◆ GET_DISK_LAYOUT_USER_OUT

◆ GET_DRIVE_GEOMETRY_USER_OUT

Definition at line 1442 of file cdrw_usr.h.

◆ GET_EVENT_USER_IN

◆ GET_EVENT_USER_OUT

◆ GET_LAST_ERROR_USER_OUT

◆ GET_LAST_SESSION_USER_OUT

Definition at line 1381 of file cdrw_usr.h.

◆ GET_MEDIA_TYPE_EX_USER_OUT

◆ GET_MEDIA_TYPE_USER_OUT

◆ GET_MRW_MODE_USER_OUT

Definition at line 1020 of file cdrw_usr.h.

◆ GET_SIGNATURE_USER_OUT

◆ GET_WRITE_MODE_USER_OUT

◆ INIT_DEINIT_USER_IN

◆ INIT_DEINIT_USER_OUT

Definition at line 1403 of file cdrw_usr.h.

◆ LL_READ_USER_IN

◆ LL_WRITE_USER_IN

◆ LUN_WRITE_PERF_DESC_USER

◆ MediaTrackMap

◆ MODE_SELECT_USER_IN

◆ MODE_SENSE_USER_IN

◆ MODE_SENSE_USER_OUT

◆ MODE_WRITE_PARAMS_PAGE_USER

◆ NOTIFY_MEDIA_CHANGE_USER_IN

◆ PAUDIO_CONTROL_USER_OUT

◆ PBLANK_MEDIA_USER_IN

◆ PBUFFER_CAPACITY_BLOCK_USER_OUT

◆ PCDROM_DISK_DATA_USER_OUT

◆ PCDRW_RESET_DRIVER_USER_IN

◆ PCHECK_VERIFY_USER_OUT

Definition at line 1516 of file cdrw_usr.h.

◆ PCLOSE_TRK_SES_USER_IN

◆ PDISC_INFO_BLOCK_USER_OUT

◆ PDISC_STATUS_INFO_USER_OUT

◆ PDISK_VERIFY_USER_IN

◆ PDVD_END_SESSION_USER_IN

◆ PDVD_READ_KEY_USER_IN

◆ PDVD_READ_KEY_USER_OUT

Definition at line 1580 of file cdrw_usr.h.

◆ PDVD_READ_STRUCTURE_USER_IN

◆ PDVD_READ_STRUCTURE_USER_OUT

◆ PDVD_SESSION_ID

Definition at line 1544 of file cdrw_usr.h.

◆ PDVD_START_SESSION_USER_OUT

◆ PFORMAT_CDRW_PARAMETERS_USER_IN

◆ PGET_CAPABILITIES_3_USER_OUT

◆ PGET_CAPABILITIES_USER_OUT

◆ PGET_DEVICE_INFO_OLD_USER_OUT

◆ PGET_DEVICE_INFO_USER_OUT

◆ PGET_DISK_LAYOUT_USER_OUT

◆ PGET_DRIVE_GEOMETRY_USER_OUT

Definition at line 1443 of file cdrw_usr.h.

◆ PGET_EVENT_USER_IN

◆ PGET_EVENT_USER_OUT

◆ PGET_LAST_ERROR_USER_OUT

◆ PGET_LAST_SESSION_USER_OUT

Definition at line 1382 of file cdrw_usr.h.

◆ PGET_MEDIA_TYPE_EX_USER_OUT

◆ PGET_MEDIA_TYPE_USER_OUT

◆ PGET_MRW_MODE_USER_OUT

Definition at line 1021 of file cdrw_usr.h.

◆ PGET_SIGNATURE_USER_OUT

◆ PGET_WRITE_MODE_USER_OUT

◆ PINIT_DEINIT_USER_IN

◆ PINIT_DEINIT_USER_OUT

Definition at line 1404 of file cdrw_usr.h.

◆ PLAY_AUDIO_MSF_USER_IN

◆ PLL_READ_USER_IN

◆ PLL_WRITE_USER_IN

◆ PLUN_WRITE_PERF_DESC_USER

◆ PMediaTrackMap

◆ PMODE_SELECT_USER_IN

◆ PMODE_SENSE_USER_IN

◆ PMODE_SENSE_USER_OUT

◆ PMODE_WRITE_PARAMS_PAGE_USER

◆ PNOTIFY_MEDIA_CHANGE_USER_IN

◆ PPLAY_AUDIO_MSF_USER_IN

◆ PPREVENT_MEDIA_REMOVAL_USER_IN

◆ PRAW_READ_USER_IN

◆ PREAD_ATIP_USER_OUT

Definition at line 1391 of file cdrw_usr.h.

◆ PREAD_CAPACITY_USER_OUT

Definition at line 423 of file cdrw_usr.h.

◆ PREAD_CD_TEXT_USER_OUT

Definition at line 1394 of file cdrw_usr.h.

◆ PREAD_FULL_TOC_USER_OUT

Definition at line 1385 of file cdrw_usr.h.

◆ PREAD_PMA_USER_OUT

Definition at line 1388 of file cdrw_usr.h.

◆ PREAD_SESSION_INFO_USER_IN

◆ PREAD_SESSION_INFO_USER_OUT

Definition at line 1414 of file cdrw_usr.h.

◆ PREAD_TOC_EX_USER_IN

◆ PREAD_TOC_EX_USER_OUT

Definition at line 1424 of file cdrw_usr.h.

◆ PREAD_TOC_USER_OUT

Definition at line 1379 of file cdrw_usr.h.

◆ PRESERVE_TRACK_EX_USER_IN

◆ PRESERVE_TRACK_USER_IN

◆ PREVENT_MEDIA_REMOVAL_USER_IN

◆ PSEEK_AUDIO_MSF_USER_IN

◆ PSEND_OPC_INFO_HEADER_USER_IN

◆ PSEND_OPC_INFO_USER_IN

◆ PSET_CD_SPEED_EX_USER_IN

◆ PSET_CD_SPEED_USER_IN

◆ PSET_DEFAULT_SESSION_USER_IN

◆ PSET_MRW_MODE_USER_IN

Definition at line 1024 of file cdrw_usr.h.

◆ PSET_RANDOM_ACCESS_USER_IN

◆ PSET_READ_AHEAD_USER_IN

◆ PSET_STREAMING_USER_IN

◆ PSET_WRITE_MODE_USER_IN

◆ PSTORAGE_MEDIA_TYPE

◆ PSUB_Q_CHANNEL_DATA_USER_IN

◆ PSYNC_CACHE_USER_IN

◆ PTEST_UNIT_READY_USER_IN

◆ PTEST_UNIT_READY_USER_OUT

◆ PTRACK_INFO_BLOCK_USER_IN

◆ PTRACK_INFO_BLOCK_USER_OUT

◆ RAW_READ_USER_IN

◆ READ_ATIP_USER_OUT

Definition at line 1390 of file cdrw_usr.h.

◆ READ_CAPACITY_USER_OUT

Definition at line 422 of file cdrw_usr.h.

◆ READ_CD_TEXT_USER_OUT

Definition at line 1393 of file cdrw_usr.h.

◆ READ_FULL_TOC_USER_OUT

Definition at line 1384 of file cdrw_usr.h.

◆ READ_PMA_USER_OUT

Definition at line 1387 of file cdrw_usr.h.

◆ READ_SESSION_INFO_USER_IN

◆ READ_SESSION_INFO_USER_OUT

Definition at line 1413 of file cdrw_usr.h.

◆ READ_TOC_EX_USER_IN

◆ READ_TOC_EX_USER_OUT

Definition at line 1423 of file cdrw_usr.h.

◆ READ_TOC_USER_OUT

Definition at line 1378 of file cdrw_usr.h.

◆ RESERVE_TRACK_EX_USER_IN

◆ RESERVE_TRACK_USER_IN

◆ SEEK_AUDIO_MSF_USER_IN

◆ SEND_OPC_INFO_HEADER_USER_IN

◆ SEND_OPC_INFO_USER_IN

◆ SET_CD_SPEED_EX_USER_IN

◆ SET_CD_SPEED_USER_IN

◆ SET_DEFAULT_SESSION_USER_IN

◆ SET_MRW_MODE_USER_IN

Definition at line 1023 of file cdrw_usr.h.

◆ SET_RANDOM_ACCESS_USER_IN

◆ SET_READ_AHEAD_USER_IN

◆ SET_STREAMING_USER_IN

◆ SET_WRITE_MODE_USER_IN

◆ STORAGE_MEDIA_TYPE

◆ SUB_Q_CHANNEL_DATA_USER_IN

◆ SYNC_CACHE_USER_IN

◆ TEST_UNIT_READY_USER_IN

◆ TEST_UNIT_READY_USER_OUT

◆ TRACK_INFO_BLOCK_USER_IN

◆ TRACK_INFO_BLOCK_USER_OUT

Enumeration Type Documentation

◆ _STORAGE_MEDIA_TYPE

Enumerator
DDS_4mm 
MiniQic 
Travan 
QIC 
MP_8mm 
AME_8mm 
AIT1_8mm 
DLT 
NCTP 
IBM_3480 
IBM_3490E 
IBM_Magstar_3590 
IBM_Magstar_MP 
STK_DATA_D3 
SONY_DTF 
DV_6mm 
DMI 
SONY_D2 
CLEANER_CARTRIDGE 
CD_ROM 
CD_R 
CD_RW 
DVD_ROM 
DVD_R 
DVD_RW 
MO_3_RW 
MO_5_WO 
MO_5_RW 
MO_5_LIMDOW 
PC_5_WO 
PC_5_RW 
PD_5_RW 
ABL_5_WO 
PINNACLE_APEX_5_RW 
SONY_12_WO 
PHILIPS_12_WO 
HITACHI_12_WO 
CYGNET_12_WO 
KODAK_14_WO 
MO_NFR_525 
NIKON_12_RW 
IOMEGA_ZIP 
IOMEGA_JAZ 
SYQUEST_EZ135 
SYQUEST_EZFLYER 
SYQUEST_SYJET 
AVATAR_F2 
MP2_8mm 
DST_S 
DST_M 
DST_L 
VXATape_1 
VXATape_2 
STK_EAGLE 
LTO_Ultrium 
LTO_Accelis 
DDS_4mm 
MiniQic 
Travan 
QIC 
MP_8mm 
AME_8mm 
AIT1_8mm 
DLT 
NCTP 
IBM_3480 
IBM_3490E 
IBM_Magstar_3590 
IBM_Magstar_MP 
STK_DATA_D3 
SONY_DTF 
DV_6mm 
DMI 
SONY_D2 
CLEANER_CARTRIDGE 
CD_ROM 
CD_R 
CD_RW 
DVD_ROM 
DVD_R 
DVD_RW 
MO_3_RW 
MO_5_WO 
MO_5_RW 
MO_5_LIMDOW 
PC_5_WO 
PC_5_RW 
PD_5_RW 
ABL_5_WO 
PINNACLE_APEX_5_RW 
SONY_12_WO 
PHILIPS_12_WO 
HITACHI_12_WO 
CYGNET_12_WO 
KODAK_14_WO 
MO_NFR_525 
NIKON_12_RW 
IOMEGA_ZIP 
IOMEGA_JAZ 
SYQUEST_EZ135 
SYQUEST_EZFLYER 
SYQUEST_SYJET 
AVATAR_F2 
MP2_8mm 
DST_S 
DST_M 
DST_L 
VXATape_1 
VXATape_2 
STK_9840 
LTO_Ultrium 
LTO_Accelis 
DVD_RAM 
AIT_8mm 
ADR_1 
ADR_2 
STK_9940 
SAIT 
VXATape 

Definition at line 192 of file cdrw_usr.h.

192  {
193  //
194  // Following are defined in ntdddisk.h in the MEDIA_TYPE enum
195  //
196  // Unknown, // Format is unknown
197  // F5_1Pt2_512, // 5.25", 1.2MB, 512 bytes/sector
198  // F3_1Pt44_512, // 3.5", 1.44MB, 512 bytes/sector
199  // F3_2Pt88_512, // 3.5", 2.88MB, 512 bytes/sector
200  // F3_20Pt8_512, // 3.5", 20.8MB, 512 bytes/sector
201  // F3_720_512, // 3.5", 720KB, 512 bytes/sector
202  // F5_360_512, // 5.25", 360KB, 512 bytes/sector
203  // F5_320_512, // 5.25", 320KB, 512 bytes/sector
204  // F5_320_1024, // 5.25", 320KB, 1024 bytes/sector
205  // F5_180_512, // 5.25", 180KB, 512 bytes/sector
206  // F5_160_512, // 5.25", 160KB, 512 bytes/sector
207  // RemovableMedia, // Removable media other than floppy
208  // FixedMedia, // Fixed hard disk media
209  // F3_120M_512, // 3.5", 120M Floppy
210  // F3_640_512, // 3.5" , 640KB, 512 bytes/sector
211  // F5_640_512, // 5.25", 640KB, 512 bytes/sector
212  // F5_720_512, // 5.25", 720KB, 512 bytes/sector
213  // F3_1Pt2_512, // 3.5" , 1.2Mb, 512 bytes/sector
214  // F3_1Pt23_1024, // 3.5" , 1.23Mb, 1024 bytes/sector
215  // F5_1Pt23_1024, // 5.25", 1.23MB, 1024 bytes/sector
216  // F3_128Mb_512, // 3.5" MO 128Mb 512 bytes/sector
217  // F3_230Mb_512, // 3.5" MO 230Mb 512 bytes/sector
218  // F8_256_128, // 8", 256KB, 128 bytes/sector
219  //
220 
221  DDS_4mm = 0x20, // Tape - DAT DDS1,2,... (all vendors)
222  MiniQic, // Tape - miniQIC Tape
223  Travan, // Tape - Travan TR-1,2,3,...
224  QIC, // Tape - QIC
225  MP_8mm, // Tape - 8mm Exabyte Metal Particle
226  AME_8mm, // Tape - 8mm Exabyte Advanced Metal Evap
227  AIT1_8mm, // Tape - 8mm Sony AIT1
228  DLT, // Tape - DLT Compact IIIxt, IV
229  NCTP, // Tape - Philips NCTP
230  IBM_3480, // Tape - IBM 3480
231  IBM_3490E, // Tape - IBM 3490E
232  IBM_Magstar_3590, // Tape - IBM Magstar 3590
233  IBM_Magstar_MP, // Tape - IBM Magstar MP
234  STK_DATA_D3, // Tape - STK Data D3
235  SONY_DTF, // Tape - Sony DTF
236  DV_6mm, // Tape - 6mm Digital Video
237  DMI, // Tape - Exabyte DMI and compatibles
238  SONY_D2, // Tape - Sony D2S and D2L
239  CLEANER_CARTRIDGE, // Cleaner - All Drive types that support Drive Cleaners
240  CD_ROM, // Opt_Disk - CD
241  CD_R, // Opt_Disk - CD-Recordable (Write Once)
242  CD_RW, // Opt_Disk - CD-Rewriteable
243  DVD_ROM, // Opt_Disk - DVD-ROM
244  DVD_R, // Opt_Disk - DVD-Recordable (Write Once)
245  DVD_RW, // Opt_Disk - DVD-Rewriteable
246  MO_3_RW, // Opt_Disk - 3.5" Rewriteable MO Disk
247  MO_5_WO, // Opt_Disk - MO 5.25" Write Once
248  MO_5_RW, // Opt_Disk - MO 5.25" Rewriteable (not LIMDOW)
249  MO_5_LIMDOW, // Opt_Disk - MO 5.25" Rewriteable (LIMDOW)
250  PC_5_WO, // Opt_Disk - Phase Change 5.25" Write Once Optical
251  PC_5_RW, // Opt_Disk - Phase Change 5.25" Rewriteable
252  PD_5_RW, // Opt_Disk - PhaseChange Dual Rewriteable
253  ABL_5_WO, // Opt_Disk - Ablative 5.25" Write Once Optical
254  PINNACLE_APEX_5_RW, // Opt_Disk - Pinnacle Apex 4.6GB Rewriteable Optical
255  SONY_12_WO, // Opt_Disk - Sony 12" Write Once
256  PHILIPS_12_WO, // Opt_Disk - Philips/LMS 12" Write Once
257  HITACHI_12_WO, // Opt_Disk - Hitachi 12" Write Once
258  CYGNET_12_WO, // Opt_Disk - Cygnet/ATG 12" Write Once
259  KODAK_14_WO, // Opt_Disk - Kodak 14" Write Once
260  MO_NFR_525, // Opt_Disk - Near Field Recording (Terastor)
261  NIKON_12_RW, // Opt_Disk - Nikon 12" Rewriteable
262  IOMEGA_ZIP, // Mag_Disk - Iomega Zip
263  IOMEGA_JAZ, // Mag_Disk - Iomega Jaz
264  SYQUEST_EZ135, // Mag_Disk - Syquest EZ135
265  SYQUEST_EZFLYER, // Mag_Disk - Syquest EzFlyer
266  SYQUEST_SYJET, // Mag_Disk - Syquest SyJet
267  AVATAR_F2, // Mag_Disk - 2.5" Floppy
268  MP2_8mm, // Tape - 8mm Hitachi
269  DST_S, // Ampex DST Small Tapes
270  DST_M, // Ampex DST Medium Tapes
271  DST_L, // Ampex DST Large Tapes
272  VXATape_1, // Ecrix 8mm Tape
273  VXATape_2, // Ecrix 8mm Tape
274  STK_EAGLE, // STK Eagle
275  LTO_Ultrium, // IBM, HP, Seagate LTO Ultrium
276  LTO_Accelis // IBM, HP, Seagate LTO Accelis
Definition: cdrw_usr.h:237
enum _STORAGE_MEDIA_TYPE STORAGE_MEDIA_TYPE
Definition: cdrw_usr.h:241
Definition: cdrw_usr.h:229
Definition: cdrw_usr.h:228
Definition: cdrw_usr.h:224
enum _STORAGE_MEDIA_TYPE * PSTORAGE_MEDIA_TYPE