25{
29
30
31
32
34
35
36
37
39 {
40 DPRINT1(
"USBSTOR_AddDevice: Failed to create FDO Status %x\n",
Status);
42 }
43
44
45
46
49
50
51
52
54
55
56
57
62
63
64
65
67
68
69
70
71 if (!DeviceExtension->LowerDeviceObject)
72 {
73
74
75
77
79 }
80
81
82
83
85
86
87
88
90
91
92
93
94
96}
PDEVICE_OBJECT PhysicalDeviceObject
#define FILE_DEVICE_SECURE_OPEN
#define STATUS_DEVICE_REMOVED
#define NT_SUCCESS(StatCode)
struct _FDO_DEVICE_EXTENSION * PFDO_DEVICE_EXTENSION
VOID NTAPI USBSTOR_TimerRoutine(PDEVICE_OBJECT DeviceObject, PVOID Context)
NTSTATUS NTAPI IoInitializeTimer(IN PDEVICE_OBJECT DeviceObject, IN PIO_TIMER_ROUTINE TimerRoutine, IN PVOID Context)
#define FILE_AUTOGENERATED_DEVICE_NAME
PDEVICE_OBJECT NTAPI IoAttachDeviceToDeviceStack(IN PDEVICE_OBJECT SourceDevice, IN PDEVICE_OBJECT TargetDevice)
NTSTATUS NTAPI IoCreateDevice(IN PDRIVER_OBJECT DriverObject, IN ULONG DeviceExtensionSize, IN PUNICODE_STRING DeviceName, IN DEVICE_TYPE DeviceType, IN ULONG DeviceCharacteristics, IN BOOLEAN Exclusive, OUT PDEVICE_OBJECT *DeviceObject)
VOID NTAPI IoDeleteDevice(IN PDEVICE_OBJECT DeviceObject)
#define FILE_DEVICE_BUS_EXTENDER
COMMON_DEVICE_EXTENSION Common
#define RtlZeroMemory(Destination, Length)
_In_ PDEVICE_OBJECT DeviceObject