25static CODE_SEG(
"PAGE") DRIVER_DISPATCH_PAGED IsaStubCreateClose;
47static CODE_SEG(
"PAGE") DRIVER_DISPATCH_PAGED IsaStubForward;
66static CODE_SEG(
"PAGE") DRIVER_DISPATCH_PAGED IsaStubPnp;
82 DPRINT(
"%s(%p, %p) Minor - %X\n",
110 if (!DeviceRelations)
116 DeviceRelations->
Count = 0;
196 return PoCallDriver(FdoExt->
Ldo,
Irp);
199static CODE_SEG(
"PAGE") DRIVER_ADD_DEVICE IsaStubAddDevice;
230 FdoExt =
Fdo->DeviceExtension;
244 Fdo->Flags &= ~DO_DEVICE_INITIALIZING;
249static CODE_SEG(
"PAGE") DRIVER_UNLOAD IsaStubUnload;
280 DriverObject->DriverExtension->AddDevice = IsaStubAddDevice;
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
#define _Dispatch_type_(a)
PDEVICE_OBJECT PhysicalDeviceObject
#define FILE_DEVICE_SECURE_OPEN
#define STATUS_NOT_SUPPORTED
#define STATUS_DEVICE_REMOVED
#define NT_SUCCESS(StatCode)
DRIVER_INITIALIZE DriverEntry
NTSTATUS IsaFdoQueryInterface(_In_ PISAPNP_FDO_EXTENSION FdoExt, _In_ PIO_STACK_LOCATION IrpSp)
_In_ PIO_STACK_LOCATION IrpSp
VOID CompleteIrp(IN PIRP Irp, IN NTSTATUS Status, IN ULONG_PTR Information)
#define ExAllocatePoolWithTag(hernya, size, tag)
#define UNREFERENCED_PARAMETER(P)
#define IRP_MN_SURPRISE_REMOVAL
#define IoSkipCurrentIrpStackLocation(Irp)
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 IoDetachDevice(IN PDEVICE_OBJECT TargetDevice)
VOID NTAPI IoDeleteDevice(IN PDEVICE_OBJECT DeviceObject)
#define IoCompleteRequest
BOOLEAN NTAPI IoForwardIrpSynchronously(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
VOID NTAPI PoStartNextPowerIrp(IN PIRP Irp)
#define FILE_DEVICE_BUS_EXTENDER
#define IRP_MJ_DEVICE_CONTROL
struct _IO_STACK_LOCATION::@3974::@3999 QueryDeviceRelations
union _IO_STACK_LOCATION::@1575 Parameters
ISAPNP_SIGNATURE Signature
PDRIVER_OBJECT DriverObject
ISAPNP_COMMON_EXTENSION Common
#define FIELD_OFFSET(t, f)
#define RtlZeroMemory(Destination, Length)
#define STATUS_UNSUCCESSFUL
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
_Must_inspect_result_ _In_ WDFDEVICE Fdo
#define IRP_MN_CANCEL_STOP_DEVICE
#define IRP_MN_QUERY_PNP_DEVICE_STATE
#define PNP_DEVICE_NOT_DISABLEABLE
#define IRP_MN_QUERY_INTERFACE
DRIVER_DISPATCH DRIVER_DISPATCH_RAISED
#define IRP_MN_START_DEVICE
#define IRP_MN_REMOVE_DEVICE
#define IRP_MN_QUERY_DEVICE_RELATIONS
#define IRP_MN_QUERY_STOP_DEVICE
#define IRP_MJ_SYSTEM_CONTROL
#define IRP_MN_CANCEL_REMOVE_DEVICE
#define IRP_MN_STOP_DEVICE
#define IRP_MN_QUERY_REMOVE_DEVICE