ReactOS 0.4.16-dev-282-g4d0a26d
|
#include "wdf.h"
#include "ntddmmc.h"
#include "ntddcdvd.h"
#include "ntddcdrm.h"
#include "ntdddisk.h"
#include "ntddtape.h"
#include "ntddscsi.h"
#include "ntddvol.h"
#include "specstrings.h"
#include "cdromp.h"
#include <initguid.h>
#include <storswtr.h>
Go to the source code of this file.
Classes | |
struct | _ERROR_RECOVERY_DATA |
struct | _CDROM_DRIVER_EXTENSION |
struct | _CDROM_MMC_EXTENSION |
struct | _CDROM_SCRATCH_READ_WRITE_CONTEXT |
struct | _CDROM_SCRATCH_CONTEXT |
struct | _CDROM_IOCTL_CONTEXT |
struct | _CDROM_READ_WRITE_CONTEXT |
struct | _CDROM_DATA |
struct | _CDROM_POWER_OPTIONS |
struct | _CDROM_POWER_CONTEXT |
struct | _CDROM_DEVICE_EXTENSION |
struct | _CDROM_REQUEST_CONTEXT |
struct | _COMPLETION_CONTEXT |
#define CDROM_HACK_INVALID_FLAGS (~CDROM_HACK_VALID_FLAGS) |
#define CDROM_INTERPRET_SENSE_INFO2_MAXIMUM_HISTORY_COUNT 30000 |
#define CDROM_NON_MMC_VENDOR_SPECIFIC_PROFILE (L"NonMmcVendorSpecificProfile") |
#define CDROM_TYPE_ONE_GET_CONFIG_NAME (L"NoTypeOneGetConfig") |
#define DEBUG_COMP_ID DPFLTR_CDROM_ID |
#define EXCLUSIVE_OWNER | ( | _CdData, | |
_FileObject | |||
) | (_CdData->ExclusiveOwner == _FileObject) |
#define FREE_POOL | ( | _PoolPtr | ) |
#define IOCTL_MCN_SYNC_FAKE_IOCTL IOCTL_DISK_UPDATE_DRIVE_SIZE |
#define IS_SCSIOP_READ | ( | opCode | ) |
#define IS_SCSIOP_READWRITE | ( | opCode | ) | (IS_SCSIOP_READ(opCode) || IS_SCSIOP_WRITE(opCode)) |
#define IS_SCSIOP_WRITE | ( | opCode | ) |
#define SECONDS_TO_100NS_UNITS | ( | x | ) | (((LONGLONG)x) * UNIT_100NS_PER_SECOND) |
#define WPP_CONTROL_GUIDS WPP_CONTROL_GUIDS_NORMAL_FLAGS(WPP_GUID_CDROM) |
#define WPP_GUID_CDROM (A4196372, C3C4, 42d5, 87BF, 7EDB2E9BCC27) |
typedef struct _CDROM_DATA CDROM_DATA |
typedef struct _CDROM_DATA * PCDROM_DATA |
typedef struct _CDROM_IOCTL_CONTEXT * PCDROM_IOCTL_CONTEXT |
typedef struct _CDROM_MMC_EXTENSION * PCDROM_MMC_EXTENSION |
typedef struct _CDROM_POWER_CONTEXT * PCDROM_POWER_CONTEXT |
typedef struct _CDROM_POWER_OPTIONS * PCDROM_POWER_OPTIONS |
typedef struct _COMPLETION_CONTEXT * PCOMPLETION_CONTEXT |
typedef struct _ERROR_RECOVERY_DATA * PERROR_RECOVERY_DATA |
typedef SYNC_HANDLER* PSYNC_HANDLER |
Enumerator | |
---|---|
PowerDownDeviceInitial | |
PowerDownDeviceLocked | |
PowerDownDeviceQuiesced | |
PowerDownDeviceFlushed | |
PowerDownDeviceStopped | |
PowerDownDeviceOff | |
PowerDownDeviceUnlocked |
Enumerator | |
---|---|
PowerUpDeviceInitial | |
PowerUpDeviceLocked | |
PowerUpDeviceOn | |
PowerUpDeviceStarted | |
PowerUpDeviceUnlocked |
Definition at line 419 of file cdrom.h.
_In_reads_bytes_ | ( | Length | ) |
_IRQL_requires_max_ | ( | APC_LEVEL | ) |
Definition at line 37 of file cddata.c.
_IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
_IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Definition at line 923 of file Messaging.c.
FORCEINLINE _Ret_range_ | ( | 0 | , |
MAXIMUM_RETRY_FOR_SINGLE_IO_IN_100NS_UNITS | |||
) |
C_ASSERT | ( | (MAXULONG - sizeof(SRB_HISTORY))/30000 >=sizeof(SRB_HISTORY_ITEM) | ) |
FORCEINLINE ULONG CountOfSetBitsUChar | ( | UCHAR | _X | ) |
Definition at line 1500 of file cdrom.h.
Referenced by ClasspInitializeGesn(), and ClasspInterpretGesnData().
FORCEINLINE ULONG CountOfSetBitsULong | ( | ULONG | _X | ) |
FORCEINLINE ULONG CountOfSetBitsULong32 | ( | ULONG32 | _X | ) |
FORCEINLINE ULONG CountOfSetBitsULong64 | ( | ULONG64 | _X | ) |
FORCEINLINE ULONG CountOfSetBitsUlongPtr | ( | ULONG_PTR | _X | ) |
NTSTATUS DeviceErrorHandlerForHitachiGD2000 | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_In_ PSCSI_REQUEST_BLOCK | Srb, | ||
_Inout_ PNTSTATUS | Status, | ||
_Inout_ PBOOLEAN | Retry | ||
) |
Definition at line 361 of file sense.c.
NTSTATUS DeviceErrorHandlerForMmc | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_In_ PSCSI_REQUEST_BLOCK | Srb, | ||
_Inout_ PNTSTATUS | Status, | ||
_Inout_ PBOOLEAN | Retry | ||
) |
Definition at line 87 of file sense.c.
Definition at line 4180 of file cdrom.c.
Referenced by IoctlWorkItemRoutine(), ReadWriteWorkItemRoutine(), and SequentialQueueEvtIoReadWrite().
VOID DevicePerfIncrementErrorCount | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 1378 of file common.c.
Referenced by SenseInfoInterpretBySrbStatus().
Definition at line 1179 of file common.c.
Referenced by DeviceAsynchronousCompletion(), DeviceReleaseQueueCompletion(), and RequestSenseInfoInterpret().
VOID DeviceSendIoctlAsynchronously | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_In_ ULONG | IoControlCode, | ||
_In_ PDEVICE_OBJECT | TargetDeviceObject | ||
) |
Definition at line 1030 of file common.c.
Referenced by DeviceEvtD0Entry().
VOID DeviceSendNotification | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_In_ const GUID * | Guid, | ||
_In_ ULONG | ExtraDataSize, | ||
_In_opt_ PVOID | ExtraData | ||
) |
Definition at line 799 of file common.c.
Referenced by DeviceInternalSetMediaChangeState(), SenseInfoInterpretByAdditionalSenseCode(), and SenseInfoInterpretForZPODD().
Definition at line 877 of file common.c.
Referenced by DeviceErrorHandlerForHitachiGD2000(), and SenseInfoInterpretByAdditionalSenseCode().
VOID DeviceSetMediaChangeStateEx | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_In_ MEDIA_CHANGE_DETECTION_STATE | NewState, | ||
_Inout_opt_ PMEDIA_CHANGE_DETECTION_STATE | OldState | ||
) |
Definition at line 751 of file autorun.c.
Referenced by DeviceEvtSelfManagedIoInit(), and SenseInfoInterpretByAdditionalSenseCode().
NTSTATUS DeviceZPODDGetPowerupReason | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_Out_ PSTORAGE_IDLE_POWERUP_REASON | PowerupReason | ||
) |
Definition at line 608 of file zpodd.c.
Referenced by DeviceEvtD0Entry().
FORCEINLINE VOID FREE_PORT_ALLOCATED_SENSE_BUFFER | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_In_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 839 of file cdrom.h.
Referenced by ClassAsynchronousCompletion(), ClassIoComplete(), ClassIoCompleteAssociated(), and DeviceAsynchronousCompletion().
FORCEINLINE BOOLEAN IsVolumeMounted | ( | _In_ PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 1514 of file cdrom.h.
Referenced by SenseInfoInterpretByAdditionalSenseCode(), and SenseInfoInterpretBySenseKey().
FORCEINLINE BOOLEAN PORT_ALLOCATED_SENSE | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_In_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 826 of file cdrom.h.
Referenced by ClassAsynchronousCompletion(), ClassIoComplete(), ClassIoCompleteAssociated(), and DeviceAsynchronousCompletion().
Definition at line 111 of file common.c.
Referenced by _IRQL_requires_max_(), DeviceReleaseQueueCompletion(), and ScratchBuffer_BeginUseX().
VOID RequestCompletion | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_In_ WDFREQUEST | Request, | ||
_In_ NTSTATUS | Status, | ||
_In_ ULONG_PTR | Information | ||
) |
Definition at line 3439 of file common.c.
Referenced by CreateQueueEvtIoDefault(), DeviceEvtIoInCallerContext(), ReadWriteWorkItemRoutine(), RequestDispatchProcessDirectly(), RequestDispatchSpecialIoctls(), RequestDispatchSyncWithSequentialQueue(), RequestDispatchToSequentialQueue(), RequestDispatchUnknownRequests(), RequestHandleQueryPropertyDeviceUniqueId(), RequestHandleQueryPropertyWriteCache(), RequestHandleReadWrite(), RequestProcessInternalDeviceControl(), RequestSynchronizeProcessWithSerialQueue(), ScratchBuffer_ReadWriteCompletionRoutine(), ScratchBuffer_ReadWriteEvtRequestCancel(), ScratchBuffer_ReadWriteTimerRoutine(), SequentialQueueEvtCanceledOnQueue(), SequentialQueueEvtIoDeviceControl(), and SequentialQueueEvtIoReadWrite().
NTSTATUS RequestDuidGetDeviceIdProperty | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_In_ WDFREQUEST | Request, | ||
_In_ WDF_REQUEST_PARAMETERS | RequestParameters, | ||
_Out_ size_t * | DataLength | ||
) |
Definition at line 2797 of file common.c.
Referenced by RequestHandleQueryPropertyDeviceUniqueId().
NTSTATUS RequestDuidGetDeviceProperty | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_In_ WDFREQUEST | Request, | ||
_In_ WDF_REQUEST_PARAMETERS | RequestParameters, | ||
_Out_ size_t * | DataLength | ||
) |
Definition at line 2888 of file common.c.
Referenced by RequestHandleQueryPropertyDeviceUniqueId().
FORCEINLINE UCHAR RequestGetCurrentStackLocationFlags | ( | _In_ WDFREQUEST | Request | ) |
Definition at line 1554 of file cdrom.h.
Referenced by RequestDispatchProcessDirectly(), RequestDispatchSpecialIoctls(), RequestDispatchSyncWithSequentialQueue(), RequestDispatchToSequentialQueue(), and RequestIsRealtimeStreaming().
NTSTATUS RequestIsIoctlBlockedByExclusiveAccess | ( | _In_ WDFREQUEST | Request, |
_Out_ PBOOLEAN | IsBlocked | ||
) |
Definition at line 4058 of file cdrom.c.
Referenced by DeviceEvtIoInCallerContext(), RequestSynchronizeProcessWithSerialQueue(), and SequentialQueueEvtIoDeviceControl().
VOID RequestProcessInternalDeviceControl | ( | _In_ WDFREQUEST | Request, |
_In_ PCDROM_DEVICE_EXTENSION | DeviceExtension | ||
) |
Definition at line 3154 of file cdrom.c.
Referenced by DeviceEvtIoInCallerContext().
NTSTATUS RequestSend | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_In_ WDFREQUEST | Request, | ||
_In_ WDFIOTARGET | IoTarget, | ||
_In_ ULONG | Flags, | ||
_Out_opt_ PBOOLEAN | RequestSent | ||
) |
Definition at line 3793 of file common.c.
Referenced by _IRQL_requires_max_(), DeviceReleaseQueue(), DeviceSendStartUnit(), RequestProcessInternalDeviceControl(), and ScratchBuffer_SendSrb().
BOOLEAN RequestSenseInfoInterpret | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_In_ WDFREQUEST | Request, | ||
_In_ PSCSI_REQUEST_BLOCK | Srb, | ||
_In_ ULONG | RetriedCount, | ||
_Out_ NTSTATUS * | Status, | ||
_Out_opt_ _Deref_out_range_(0, MAXIMUM_RETRY_FOR_SINGLE_IO_IN_100NS_UNITS) LONGLONG * | RetryIntervalIn100ns | ||
) |
Definition at line 2467 of file sense.c.
Referenced by _IRQL_requires_max_(), and RequestSenseInfoInterpretForScratchBuffer().
BOOLEAN RequestSenseInfoInterpretForScratchBuffer | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
_In_ ULONG | RetriedCount, | ||
_Out_ NTSTATUS * | Status, | ||
_Out_ _Deref_out_range_(0, MAXIMUM_RETRY_FOR_SINGLE_IO_IN_100NS_UNITS) LONGLONG * | RetryIntervalIn100ns | ||
) |
Definition at line 2564 of file sense.c.
Referenced by RequestIssueShutdownFlush(), and ScratchBuffer_ReadWriteCompletionRoutine().
NTSTATUS RequestSetContextFields | ( | _In_ WDFREQUEST | Request, |
_In_ PSYNC_HANDLER | Handler | ||
) |
Definition at line 2748 of file common.c.
Referenced by RequestDispatchSpecialIoctls(), RequestDispatchSyncWithSequentialQueue(), and RequestDispatchUnknownRequests().
Definition at line 64 of file common.c.
Referenced by DeviceEvtIoInCallerContext().
Definition at line 79 of file common.c.
Referenced by RequestSend().
VOID RequestSetupMcnSyncIrp | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 2749 of file autorun.c.
Referenced by RequestDispatchSpecialIoctls(), and RequestSetupMcnSyncIrp().
NTSTATUS RequestSynchronizeProcessWithSerialQueue | ( | _In_ WDFDEVICE | Device, |
_In_ WDFREQUEST | Request | ||
) |
Definition at line 3893 of file cdrom.c.
Referenced by RequestDispatchSpecialIoctls(), RequestDispatchSyncWithSequentialQueue(), and RequestDispatchUnknownRequests().
VOID NTAPI SequentialQueueEvtIoReadWrite | ( | _In_ WDFQUEUE | Queue, |
_In_ WDFREQUEST | Request, | ||
_In_ size_t | Length | ||
) |
Definition at line 3215 of file cdrom.c.
Referenced by DriverEvtDeviceAdd().
Definition at line 1569 of file cdrom.h.
Referenced by DeviceScratchSyncCache(), RequestHandleQueryPropertyWriteCache(), and RequestIssueShutdownFlush().
FORCEINLINE BOOLEAN ValidChar | ( | UCHAR | Ch | ) |
_In_ PSCSI_REQUEST_BLOCK _In_opt_ PVOID BufferAddress |
Definition at line 990 of file cdrom.h.
Referenced by _Success_(), ClassSendSrbSynchronous(), DECLARE_INTERFACE_(), SatisfyPacketRecvRequest(), SendComplete(), and TryToSatisfyRecvRequestFromBuffer().
|
extern |
EVT_WDF_IO_QUEUE_IO_DEFAULT CreateQueueEvtIoDefault |
Definition at line 886 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
_Must_inspect_result_ _In_ ULONGLONG _In_ PUNICODE_STRING _Out_ PUNICODE_STRING _Out_ PUNICODE_STRING _Inout_ PULONG DataLength |
Definition at line 1443 of file cdrom.h.
Referenced by _IRQL_requires_max_(), FxRegKey::_VerifyMultiSzString(), AcpiExWriteDataToField(), AcpiExWriteSerialBus(), AcpiRegQueryValue(), AddUDPHeaderIPv4(), ApphelpCacheParse(), BiConvertRegistryDataToElement(), CdAddInitialAllocation(), CmpFreeValueData(), CmSetValueKey(), compat_FsRtlValidateReparsePointBuffer(), CsrClientCallServer(), DECLARE_INTERFACE_(), DECLSPEC_UUID(), CWebService::DoRequest(), DrvEvaluateGtmObject(), EnumerateValueTest(), EvalGetPackageCount(), FltpReadRegistryValue(), FormatOutput(), FsRtlAddToTunnelCache(), FsRtlFindInTunnelCache(), FsRtlNotifyCompleteIrp(), FsRtlNotifyCompleteIrpList(), FsRtlNotifyFilterReportChange(), FsRtlNotifyUpdateBuffer(), FsRtlValidateReparsePointBuffer(), HandleDataIntersection(), HandlePhysicalConnection(), HwReadWriteData(), IKsControl_fnKsEvent(), IKsControl_fnKsMethod(), IKsControl_fnKsProperty(), IniCacheAddKeyAorW(), KdReceivePacket(), CInputPin::KsEvent(), CKsNode::KsEvent(), COutputPin::KsEvent(), CKsProxy::KsEvent(), KsFastMethodHandler(), KsFastPropertyHandler(), CInputPin::KsMethod(), CKsNode::KsMethod(), COutputPin::KsMethod(), CKsProxy::KsMethod(), KspCacheAddData(), KspHandleDataIntersection(), CInputPin::KsProperty(), CKsNode::KsProperty(), COutputPin::KsProperty(), CKsProxy::KsProperty(), LsapRegEnumerateValue(), LsapRegQueryValue(), LsapRegSetValue(), LsarEnumerateAccounts(), main(), NpQueryClientProcess(), NpReadDataQueue(), ProcessorSetFriendlyName(), RegEnumValueA(), RegQueryValueExA(), RepGetValueData(), RequestDuidGetDeviceIdProperty(), RequestDuidGetDeviceProperty(), RequestHandleGetDeviceNumber(), RequestHandleGetHotPlugInfo(), RequestHandleGetInquiryData(), RequestHandleGetMediaTypeEx(), RequestHandleMountQueryDeviceName(), RequestHandleMountQuerySuggestedLinkName(), RequestHandleMountQueryUniqueId(), RequestHandleQueryPropertyRetrieveCachedData(), RequestHandleSetHotPlugInfo(), RequestValidateAacsBindingNonce(), RequestValidateAacsEndSession(), RequestValidateAacsGetCertificate(), RequestValidateAacsGetChallengeKey(), RequestValidateAacsReadMediaId(), RequestValidateAacsReadMediaKeyBlock(), RequestValidateAacsReadSerialNumber(), RequestValidateAacsReadVolumeId(), RequestValidateAacsSendCertificate(), RequestValidateAacsSendChallengeKey(), RequestValidateAacsStartSession(), RequestValidateDvdEndSession(), RequestValidateDvdReadKey(), RequestValidateDvdReadStructure(), RequestValidateDvdSendKey(), RequestValidateDvdStartSession(), RequestValidateEnableStreaming(), RequestValidateExclusiveAccess(), RequestValidateGetConfiguration(), RequestValidateGetLastSession(), RequestValidateGetPerformance(), RequestValidatePersistentReserve(), RequestValidateRawRead(), RequestValidateReadQChannel(), RequestValidateReadToc(), RequestValidateReadTocEx(), RequestValidateSendOpcInformation(), RequestValidateSetSpeed(), RtlpNtQueryValueKey(), RtlpNtSetValueKey(), SampGetMembersInAlias(), SampRegEnumerateValue(), SampRegQueryValue(), SampRegSetValue(), SamrEnumerateAliasesInDomain(), SamrEnumerateDomainsInSamServer(), SamrEnumerateGroupsInDomain(), SamrEnumerateUsersInDomain(), SamrGetAliasMembership(), SamrLookupIdsInDomain(), SamrLookupNamesInDomain(), ScmCheckDriver(), ScmGetDriverStatus(), SepRegQueryHelper(), SmLookupSubsystem(), SmQueryInformation(), SmSendMsgToSm(), START_TEST(), test1(), test2(), test3(), test6(), test9(), UDPv4ChecksumCalculate(), UpdateMftMirror(), USBD_GetPdoRegistryParameter(), WriteMidiUartMulti(), WTSSetUserConfigA(), and WTSSetUserConfigW().
EVT_WDF_REQUEST_COMPLETION_ROUTINE DeviceAsynchronousCompletion |
Definition at line 1045 of file cdrom.h.
Referenced by DeviceSendStartUnit().
EVT_WDF_OBJECT_CONTEXT_CLEANUP DeviceEvtCleanup |
Definition at line 868 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
EVT_WDF_DEVICE_D0_ENTRY DeviceEvtD0Entry |
Definition at line 878 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
EVT_WDF_DEVICE_D0_EXIT DeviceEvtD0Exit |
Definition at line 880 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
EVT_WDF_FILE_CLOSE DeviceEvtFileClose |
Definition at line 870 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
EVT_WDF_IO_IN_CALLER_CONTEXT DeviceEvtIoInCallerContext |
Definition at line 872 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
EVT_WDF_DEVICE_SELF_MANAGED_IO_CLEANUP DeviceEvtSelfManagedIoCleanup |
Definition at line 876 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
EVT_WDF_DEVICE_SELF_MANAGED_IO_INIT DeviceEvtSelfManagedIoInit |
Definition at line 874 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
EVT_WDF_DEVICE_SURPRISE_REMOVAL DeviceEvtSurpriseRemoval |
Definition at line 882 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
_In_ CDROM_SCAN_FOR_SPECIAL_INFO DeviceList[] |
EVT_WDF_REQUEST_COMPLETION_ROUTINE DeviceReleaseQueueCompletion |
Definition at line 1052 of file cdrom.h.
Referenced by DeviceReleaseQueue().
EVT_WDF_WORKITEM DeviceRestoreDefaultSpeed |
Definition at line 1180 of file cdrom.h.
Referenced by DeviceErrorHandlerForMmc().
EVT_WDF_OBJECT_CONTEXT_CLEANUP DriverEvtCleanup |
Definition at line 864 of file cdrom.h.
Referenced by DriverEntry().
EVT_WDF_DRIVER_DEVICE_ADD DriverEvtDeviceAdd |
Definition at line 862 of file cdrom.h.
Referenced by DriverEntry().
Definition at line 1076 of file cdrom.h.
Referenced by AddFeature(), DiskPerformSmartCommand(), msi_get_loaded_feature(), and USBPORT_RootHubClassCommand().
_In_ WDFFILEOBJECT FileObject |
_Inout_ PFILE_OBJECT_CONTEXT FileObjectContext |
Definition at line 1211 of file cdrom.h.
Referenced by _IRQL_requires_max_().
_In_ CLASSPNP_SCAN_FOR_SPECIAL_INFO _In_ PCLASS_SCAN_FOR_SPECIAL_HANDLER Function |
Definition at line 1155 of file cdrom.h.
Referenced by _Struct_size_bytes_(), AcpiEvAddressSpaceDispatch(), AcpiEvDataTableRegionSetup(), AcpiEvDefaultRegionSetup(), AcpiEvExecuteRegMethod(), AcpiEvExecuteRegMethods(), AcpiEvIoSpaceRegionSetup(), AcpiEvPciConfigRegionSetup(), AcpiEvSystemMemoryRegionSetup(), AcpiExAccessRegion(), AcpiExDataTableSpaceHandler(), AcpiExPciConfigSpaceHandler(), AcpiExReadSerialBus(), AcpiExSystemIoSpaceHandler(), AcpiExSystemMemorySpaceHandler(), AcpiExWriteSerialBus(), AcpiOsExecute(), AcpiOsSignal(), AfdCancelHandler(), AfdCleanupSocket(), BaseCreateThreadPoolThread(), BindIoCompletionCallback(), BiosPs2Service(), BlArchCpuId(), BlArchIsCpuIdFunctionSupported(), CmRegisterCallback(), DGifSlurp(), DiskWmiFunctionControl(), ExAllocateCallBack(), ExDoCallBack(), KeIpiGenericCall(), LdrpGetShimEngineFunction(), LeaveIrpUntilLater(), QueueUserModeIrp(), QueueUserWorkItem(), RtlFindExportedRoutineByName(), RtlpFindExportedRoutineByName(), RtlpStartThread(), RtlQueueWorkItem(), SeiDbgPrint(), FxUsbPipeRequestContext::SetInfo(), SetupDiSetClassInstallParamsW(), TRIO_ARGS3(), USBH_PdoUrbFilter(), USBH_SyncGetStatus(), USBH_Transact(), USBPORT_HandleSubmitURB(), WaveHeaderOperation(), and WINTRUST_WriteProviderToReg().
Definition at line 982 of file cdrom.h.
Referenced by HalpGetChipHacks(), HalpInitializePciBus(), PciBuildHackTable(), PciCanDisableDecodes(), PciGetFunctionLimits(), PciGetHackFlags(), PcipIsSameDevice(), PciScanBus(), and PciSkipThisFunction().
_Inout_ PFILE_OBJECT_CONTEXT _In_ BOOLEAN IgnorePreviousMediaChanges |
EVT_WDF_WORKITEM IoctlWorkItemRoutine |
Definition at line 1616 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
Definition at line 1427 of file cdrom.h.
Referenced by ChannelIsActive(), and MiniportHalt().
_In_ WDFREQUEST _In_ MEDIA_LOCK_TYPE LockType |
Definition at line 1335 of file cdrom.h.
Referenced by ClasspEjectionControl(), MI_IS_LOCKED_VA(), MI_LOCK_VA(), MI_UNLOCK_VA(), RtlLockMemoryStreamRegion(), and RtlUnlockMemoryStreamRegion().
_In_opt_ WDFREQUEST OriginalRequest |
Definition at line 993 of file cdrom.h.
Referenced by _Struct_size_bytes_(), InterpretSenseInfoWithoutHistory(), ScratchBuffer_SetupReadWriteSrb(), SrbGetOriginalRequest(), SrbSetOriginalRequest(), and USBSTOR_SendRequest().
Definition at line 1317 of file cdrom.h.
Referenced by ClassFindModePage(), and Scsi2Atapi().
Definition at line 1318 of file cdrom.h.
Referenced by ClassModeSenseEx(), ClasspModeSense(), DiskGetModePage(), and SetupModeSenseTransferPacket().
Definition at line 1326 of file cdrom.h.
Referenced by ClassFindModePage(), ClassModeSense(), ClassModeSenseEx(), ClasspModeSense(), DiskGetModePage(), and SetupModeSenseTransferPacket().
Definition at line 961 of file cdrom.h.
Referenced by _IRQL_requires_max_(), CsrParseServerCommandLine(), FsRtlGetTunnelParameterValue(), and VideoPortGetRegistryParameters().
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ PNDIS_STRING _In_ PNDIS_CONFIGURATION_PARAMETER ParameterValue |
Definition at line 962 of file cdrom.h.
Referenced by _IRQL_requires_max_(), CsrParseServerCommandLine(), CsrSrvCreateSharedSection(), NdisCloseConfiguration(), NdisReadConfiguration(), NdisReadNetworkAddress(), NdisWriteConfiguration(), ODBC32_SQLBindParam(), and ODBC32_SQLSetParam().
_In_ PSTORAGE_PROPERTY_ID PropertyId |
Definition at line 932 of file cdrom.h.
Referenced by DECLARE_INTERFACE_(), FindFastPropertyHandler(), FindPropertyHandler(), GetFilterNodeProperty(), IAssemblyNameImpl_GetProperty(), IAssemblyNameImpl_SetProperty(), KsGetMultiplePinFactoryItems(), MMixerGetFilterTopologyProperty(), MMixerSetGetControlDetails(), and CKsProxy::PerformClockProperty().
_In_ PREAD_CAPACITY_DATA ReadCapacityBuffer |
Definition at line 1102 of file cdrom.h.
Referenced by DiskOpen(), and SetupDriveCapacityTransferPacket().
EVT_WDF_WORKITEM ReadWriteWorkItemRoutine |
Definition at line 1618 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
pID Release |
Definition at line 919 of file cdrom.h.
Referenced by AssignResources(), DECLARE_INTERFACE(), DECLARE_INTERFACE_(), DECLARE_INTERFACE_IID_(), InitThreadData(), IoVerifyVolume(), CKsInterfaceHandler::KsCompleteIo(), CKsInterfaceHandler::KsProcessMediaSamples(), MountMgrNextDriveLetterWorker(), nfs41_DevFcbXXXControlFile(), PropertyStorage_Release(), QuerySuggestedLinkName(), FxObject::ReleaseOverride(), RtlGetFullPathName_UstrEx(), FxDmaPacketTransaction::StageTransfer(), test_NdrDllGetClassObject(), test_SHPropStg_functions(), VfdPageCallback(), wmain(), and SEALED_::~RdpClient().
IO_COMPLETION_ROUTINE RequestAsynchronousIrpCompletion |
Definition at line 1257 of file cdrom.h.
Referenced by DeviceSendIoctlAsynchronously().
EVT_WDF_REQUEST_COMPLETION_ROUTINE RequestDummyCompletionRoutine |
Definition at line 1608 of file cdrom.h.
Referenced by RequestProcessInternalDeviceControl().
EVT_WDF_OBJECT_CONTEXT_CLEANUP RequestEvtCleanup |
Definition at line 906 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
Definition at line 1247 of file cdrom.h.
Referenced by _IRQL_requires_max_().
EVT_WDFDEVICE_WDM_IRP_PREPROCESS RequestProcessSetPower |
Definition at line 910 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
EVT_WDFDEVICE_WDM_IRP_PREPROCESS RequestProcessShutdownFlush |
Definition at line 908 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
return SectorsPerSecond |
EVT_WDF_IO_QUEUE_IO_CANCELED_ON_QUEUE SequentialQueueEvtCanceledOnQueue |
Definition at line 902 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
EVT_WDF_IO_QUEUE_IO_DEVICE_CONTROL SequentialQueueEvtIoDeviceControl |
Definition at line 900 of file cdrom.h.
Referenced by DriverEvtDeviceAdd().
Definition at line 989 of file cdrom.h.
Referenced by _IRQL_requires_max_(), _Success_(), AddQueue(), AhciATAPICommand(), AhciCommandCompletionDpcRoutine(), AhciCompleteIssuedSrb(), AhciHwStartIo(), AhciProcessIO(), AhciProcessSrb(), Atapi2Scsi(), AtapiDmaDBPreSync(), AtapiDmaDBSync(), AtapiDmaPioSync(), AtapiDmaSetup(), AtapiDmaStart(), AtapiHwInitializeChanger(), AtapiInquiryCompletion(), AtapiInterrupt__(), AtapiSendCommand(), AtapiStartIo(), AtapiStartIo__(), AtapiVirtToPhysAddr_(), BT958HwStartIO(), BT958WmiSrb(), BuildMechanismStatusSrb(), BuildRequestSenseSrb(), BusLogic_QueueCommand(), BusLogic_SendBusDeviceReset(), ClassDeviceGetLBProvisioningResources(), ClassDeviceHwFirmwareActivateProcess(), ClassDeviceHwFirmwareDownloadProcess(), ClassFreeOrReuseSrb(), ClassGetLBProvisioningLogPage(), ClassGetLBProvisioningResources(), ClassInterpretSenseInfo(), ClasspAccessAlignmentProperty(), ClasspBuildRequestEx(), ClasspConvertToScsiRequestBlock(), ClasspDeviceGetBlockDeviceCharacteristicsVPDPage(), ClasspDeviceGetBlockLimitsVPDPage(), ClasspDeviceGetLBAStatus(), ClasspDeviceGetLBAStatusWorker(), ClasspDeviceGetLBProvisioningVPDPage(), ClasspDeviceLBProvisioningProperty(), ClasspDeviceMediaTypeProperty(), ClasspDeviceSeekPenaltyProperty(), ClasspDeviceTrimProcess(), ClasspDeviceTrimProperty(), ClasspIsThinProvisioningError(), ClasspMcnControl(), ClasspMediaChangeDetectionCompletion(), ClasspPersistentReserve(), ClasspWriteCacheProperty(), ClassReadCapacity16(), ClassSendSrbSynchronous(), CreateStorageRequestBlock(), DbgGetAdditionalSenseCodeQualifierStr(), DbgGetAdditionalSenseCodeStr(), DbgGetScsiOpStr(), DbgGetSenseCodeStr(), DbgGetSrbStatusStr(), DeviceErrorHandlerForHitachiGD2000(), DeviceErrorHandlerForMmc(), DeviceInquiryRequest(), DeviceProcessDsmTrimRequest(), DeviceReportLuns(), DeviceRequestCapacity(), DeviceRequestComplete(), DeviceRequestReadWrite(), DeviceRequestSense(), DiskFdoProcessError(), DiskIoctlVerifyThread(), DiskOpen(), DiskRead(), FdoSendInquiry(), FREE_PORT_ALLOCATED_SENSE_BUFFER(), GetLBAStatus(), GetSrbExtension(), IdeBuildSenseBuffer(), IdeReadWrite(), IdeSendCommand(), IdeSendSmartCommand(), IdeVerify(), InitializeStorageRequestBlock(), InquiryCompletion(), InterpretSenseInfoWithoutHistory(), IsRequestValid(), MapError(), MiniportStartIo(), pInitializeStorageRequestBlock(), PORT_ALLOCATED_SENSE(), PortSendInquiry(), RemoveQueue(), RequestSenseInfoInterpret(), RetryRequest(), Scsi2Atapi(), ScsiFlopProcessError(), ScsiPortDispatchScsi(), ScsiPortGetPhysicalAddress(), ScsiPortNotification(), ScsiPortStartIo(), ScsiPortStartPacket(), SenseInfoInterpret(), SenseInfoInterpretByAdditionalSenseCode(), SenseInfoInterpretBySrbStatus(), SenseInfoInterpretForZPODD(), SenseInfoInterpretRefineByScsiCommand(), SenseInfoLogError(), SpiAdapterControl(), SpiAllocateSrbStructures(), SpiCompleteRequest(), SpiGetNextRequestFromLun(), SpiHandleAttachRelease(), SpiProcessCompletedRequest(), SpiSaveInterruptData(), SpiScanAdapter(), SpiSendRequestSense(), SpiSendSynchronousSrb(), SpiSenseCompletionRoutine(), SrbAssignSrbFlags(), SrbClearSrbFlags(), SrbGetAddress(), SrbGetCdb(), SrbGetCdbLength(), SrbGetDataBuffer(), SrbGetDataTransferLength(), SrbGetLun(), SrbGetMiniportContext(), SrbGetNextSrb(), SrbGetOriginalRequest(), SrbGetPathId(), SrbGetPathTargetLun(), SrbGetPortContext(), SrbGetPrimarySrbExData(), SrbGetQueueTag(), SrbGetRequestAttribute(), SrbGetScsiStatus(), SrbGetSenseInfoBuffer(), SrbGetSenseInfoBufferLength(), SrbGetSrbExDataByIndex(), SrbGetSrbExDataByType(), SrbGetSrbFlags(), SrbGetSrbFunction(), SrbGetSrbLength(), SrbGetSrbStatus(), SrbGetSystemStatus(), SrbGetTargetId(), SrbGetTimeOutValue(), SrbSetCdbLength(), SrbSetDataBuffer(), SrbSetDataTransferLength(), SrbSetNextSrb(), SrbSetOriginalRequest(), SrbSetPortContext(), SrbSetQueueSortKey(), SrbSetQueueTag(), SrbSetRequestAttribute(), SrbSetScsiStatus(), SrbSetSenseInfoBuffer(), SrbSetSenseInfoBufferLength(), SrbSetSrbFlags(), SrbSetSrbLength(), SrbSetSrbStatus(), SrbSetSystemStatus(), SrbSetTimeOutValue(), SrbZeroSrb(), StorPortGetOriginalMdl(), StorPortGetPhysicalAddress(), StorPortGetStartIoPerfParams(), StorPortGetSystemAddress(), StorPortNotification(), UniataAhciBeginTransaction(), UniataAhciEndTransaction(), UniataAhciSendPIOCommand(), UniataAhciSendPIOCommandDirect(), UniataNeedQueueing(), UniataQueueRequest(), UniataRemoveRequest(), USBSTOR_SendInternalCdb(), and USBSTOR_SrbStatusToNtStatus().
Definition at line 960 of file cdrom.h.
Referenced by _IRQL_requires_max_(), and EnumDeviceKeys().
Definition at line 953 of file cdrom.h.
Referenced by ClasspMyStringMatches(), ExpCreateSystemRootLink(), and IopReassignSystemRoot().
Definition at line 1327 of file cdrom.h.
Referenced by ClassFindModePage().
Definition at line 1362 of file cdrom.h.
Referenced by ClasspPrepareMcnIrp().
Definition at line 992 of file cdrom.h.
Referenced by _Success_(), ClasspBuildDeviceMdl(), ClassSendSrbSynchronous(), HalBuildScatterGatherList(), HalGetScatterGatherList(), HalpCopyBufferMap(), IoFlushAdapterBuffers(), IoMapTransfer(), NdisCompleteDmaTransfer(), NdisMCompleteDmaTransfer(), NdisMSetupDmaTransfer(), NdisMStartBufferPhysicalMapping(), NdisSetupDmaTransfer(), ReadWritePassive(), SpiAdapterControl(), StorPortBuildScatterGatherList(), StorPortPutScatterGatherList(), USBPORT_CompleteTransfer(), USBPORT_MapTransfer(), VideoPortCompleteDma(), and VideoPortStartDma().