42 #define PTRALIGN DECLSPEC_ALIGN(16)
50#define MAXIMUM_RETRY_FOR_SINGLE_IO_IN_100NS_UNITS (0x3B9ACA00)
108 ULONG TotalHistoryCount;
110 ULONG UsedHistoryCount;
120#define CLASSP_REG_SUBKEY_NAME (L"Classpnp")
122#define CLASSP_REG_HACK_VALUE_NAME (L"HackMask")
123#define CLASSP_REG_MMC_DETECTION_VALUE_NAME (L"MMCDetectionState")
124#define CLASSP_REG_WRITE_CACHE_VALUE_NAME (L"WriteCacheEnableOverride")
125#define CLASSP_REG_PERF_RESTORE_VALUE_NAME (L"RestorePerfAtCount")
126#define CLASSP_REG_REMOVAL_POLICY_VALUE_NAME (L"UserRemovalPolicy")
127#define WINPE_REG_KEY_NAME (L"\\Registry\\Machine\\System\\CurrentControlSet\\Control\\MiniNT")
129#define CLASS_PERF_RESTORE_MINIMUM (0x10)
130#define CLASS_ERROR_LEVEL_1 (0x4)
131#define CLASS_ERROR_LEVEL_2 (0x8)
133#define FDO_HACK_CANNOT_LOCK_MEDIA (0x00000001)
134#define FDO_HACK_GESN_IS_BAD (0x00000002)
135#define FDO_HACK_NO_RESERVE6 (0x00000008)
136#define FDO_HACK_GESN_IGNORE_OPCHANGE (0x00000010)
137#define FDO_HACK_NO_STREAMING (0x00000020)
138#define FDO_HACK_NO_ASYNCHRONOUS_NOTIFICATION (0x00000040)
140#define FDO_HACK_VALID_FLAGS (0x0000007F)
141#define FDO_HACK_INVALID_FLAGS (~FDO_HACK_VALID_FLAGS)
171#define CDROM_VOLUME_VERIFY_CHECKED 0x34
173#define CDROM_TAG_PRIVATE_DATA 'CPcS'
259#define DELAY_TIME_TO_ENTER_ZERO_POWER_IN_MS (60 * 1000)
260#define DELAY_TIME_TO_ENTER_AOAC_IDLE_POWER_IN_MS (10 * 1000)
261#define BECOMING_READY_RETRY_COUNT (15)
262#define BECOMING_READY_RETRY_INTERNVAL_IN_100NS (2 * 1000 * 1000)
323#define NUM_ERROR_LOG_ENTRIES 16
375#define NOT_READY_RETRY_INTERVAL 10
376#define MODE_PAGE_DATA_SIZE 192
381#define INVALID_SESSION ((ULONG)-1)
VOID History(INT dir, LPTSTR commandline)
struct _CDROM_ERROR_LOG_DATA * PCDROM_ERROR_LOG_DATA
struct _ZERO_POWER_ODD_INFO ZERO_POWER_ODD_INFO
@ CdromDetectionSupported
@ CdromDetectionUnsupported
struct _SRB_HISTORY_ITEM * PSRB_HISTORY_ITEM
struct _CDROM_SCAN_FOR_SPECIAL_INFO * PCDROM_SCAN_FOR_SPECIAL_INFO
enum _CDROM_DETECTION_STATE * PCDROM_DETECTION_STATE
struct _CDROM_PRIVATE_FDO_DATA * PCDROM_PRIVATE_FDO_DATA
enum _MEDIA_CHANGE_DETECTION_STATE * PMEDIA_CHANGE_DETECTION_STATE
struct _CDROM_PRIVATE_FDO_DATA CDROM_PRIVATE_FDO_DATA
struct _ZERO_POWER_ODD_INFO * PZERO_POWER_ODD_INFO
#define NUM_ERROR_LOG_ENTRIES
_MEDIA_CHANGE_DETECTION_STATE
struct _SRB_HISTORY_ITEM SRB_HISTORY_ITEM
struct _FILE_OBJECT_CONTEXT FILE_OBJECT_CONTEXT
enum _MEDIA_CHANGE_DETECTION_STATE MEDIA_CHANGE_DETECTION_STATE
enum MEDIA_LOCK_TYPE * PMEDIA_LOCK_TYPE
enum _CDROM_DETECTION_STATE CDROM_DETECTION_STATE
struct _CDROM_SCAN_FOR_SPECIAL_INFO CDROM_SCAN_FOR_SPECIAL_INFO
CDROM_SCAN_FOR_SPECIAL_INFO CdRomBadItems[]
struct _FILE_OBJECT_CONTEXT * PFILE_OBJECT_CONTEXT
struct _CDROM_ERROR_LOG_DATA CDROM_ERROR_LOG_DATA
struct _MEDIA_CHANGE_DETECTION_INFO MEDIA_CHANGE_DETECTION_INFO
struct _MEDIA_CHANGE_DETECTION_INFO * PMEDIA_CHANGE_DETECTION_INFO
#define _Field_size_part_(s, c)
#define _Field_range_(l, h)
STORAGE_HOTPLUG_INFO HotplugInfo
BOOLEAN LoggedTURFailureSinceLastIO
BOOLEAN LoggedSYNCFailure
BOOLEAN EnforceStreamingRead
BOOLEAN EnforceStreamingWrite
LARGE_INTEGER TickCountSent
LARGE_INTEGER TickCountCompleted
ULONG MillisecondsDelayOnRetry
SENSE_DATA NormalizedSenseData
ULONG_PTR ClassDriverUse[4]
_Field_range_(1, 30000) ULONG TotalHistoryCount
ULONG GetConfigurationBufferSize
D3COLD_SUPPORT_INTERFACE D3ColdInterface
BOOLEAN MonitorStartStopUnit
UCHAR AdditionalSenseCode
BOOLEAN RetryFirstCommand
ULONG BecomingReadyRetryCount
PGET_CONFIGURATION_HEADER GetConfigurationBuffer
UCHAR AdditionalSenseCodeQualifier
#define WDF_DECLARE_CONTEXT_TYPE_WITH_NAME(_contexttype, _castingfunction)
_Reserved_ PVOID Reserved