45 DPRINT1(
"PciCallDownIrpStack ...\n");
84 Status = PoCallDriver(DeviceExtension->AttachedDeviceObject,
Irp);
111 DPRINT1(
"PCI: Dispatch IRP\n");
166 if (MaxMinor != 0xFFFF)
172 Table = &TableArray[MaxMinor + 1];
181 DispatchStyle =
Table->DispatchStyle;
182 DispatchFunction =
Table->DispatchFunction;
202 Status = DispatchFunction(
Irp, IoStackLocation, DeviceExtension);
203 switch (DispatchStyle)
270 DPRINT1(
"WARNING: PCI received unsupported IRP!\n");
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
#define NT_SUCCESS(StatCode)
BOOLEAN NTAPI PciDebugIrpDispatchDisplay(IN PIO_STACK_LOCATION IoStackLocation, IN PPCI_FDO_EXTENSION DeviceExtension, IN USHORT MaxMinor)
NTSTATUS NTAPI PciIrpNotSupported(IN PIRP Irp, IN PIO_STACK_LOCATION IoStackLocation, IN PPCI_FDO_EXTENSION DeviceExtension)
NTSTATUS NTAPI PciIrpInvalidDeviceRequest(IN PIRP Irp, IN PIO_STACK_LOCATION IoStackLocation, IN PPCI_FDO_EXTENSION DeviceExtension)
IO_COMPLETION_ROUTINE PciSetEventCompletion
NTSTATUS NTAPI PciCallDownIrpStack(IN PPCI_FDO_EXTENSION DeviceExtension, IN PIRP Irp)
NTSTATUS NTAPI PciPassIrpFromFdoToPdo(IN PPCI_FDO_EXTENSION DeviceExtension, IN PIRP Irp)
enum _PCI_DISPATCH_STYLE PCI_DISPATCH_STYLE
NTSTATUS(NTAPI * PCI_DISPATCH_FUNCTION)(IN PIRP Irp, IN PIO_STACK_LOCATION IoStackLocation, IN PVOID DeviceExtension)
DRIVER_DISPATCH PciDispatchIrp
struct _PCI_FDO_EXTENSION * PPCI_FDO_EXTENSION
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
#define KeInitializeEvent(pEvt, foo, foo2)
#define KeSetEvent(pEvt, foo, foo2)
NTSYSAPI void WINAPI DbgBreakPoint(void)
#define IoSetCompletionRoutine(_Irp, _CompletionRoutine, _Context, _InvokeOnSuccess, _InvokeOnError, _InvokeOnCancel)
#define UNREFERENCED_PARAMETER(P)
#define IoSkipCurrentIrpStackLocation(Irp)
#define IoCopyCurrentIrpStackLocationToNext(Irp)
#define IoCompleteRequest
VOID NTAPI PoStartNextPowerIrp(IN PIRP Irp)
#define STATUS_NOT_SUPPORTED
#define STATUS_MORE_PROCESSING_REQUIRED
struct _PCI_MJ_DISPATCH_TABLE * IrpDispatchTable
ULONG PnpIrpMaximumMinorFunction
PCI_DISPATCH_FUNCTION SystemControlIrpDispatchFunction
PPCI_MN_DISPATCH_TABLE PowerIrpDispatchTable
PCI_DISPATCH_STYLE OtherIrpDispatchStyle
PCI_DISPATCH_FUNCTION OtherIrpDispatchFunction
ULONG PowerIrpMaximumMinorFunction
PPCI_MN_DISPATCH_TABLE PnpIrpDispatchTable
PCI_DISPATCH_STYLE SystemControlIrpDispatchStyle
#define STATUS_INVALID_DEVICE_REQUEST
#define STATUS_NO_SUCH_DEVICE
_In_ PDEVICE_OBJECT DeviceObject
#define IRP_MJ_SYSTEM_CONTROL