265{
270
271 DPRINT(
"ProcessorPnp()\n");
272
274
276 {
278 DPRINT(
" IRP_MN_START_DEVICE received\n");
279
280
283
285 {
288 {
292 }
293 }
294 break;
295
297 DPRINT(
" IRP_MN_QUERY_REMOVE_DEVICE\n");
299
301 DPRINT(
" IRP_MN_REMOVE_DEVICE received\n");
303
305 DPRINT(
" IRP_MN_CANCEL_REMOVE_DEVICE\n");
307
309 DPRINT(
" IRP_MN_STOP_DEVICE received\n");
311
313 DPRINT(
" IRP_MN_QUERY_STOP_DEVICE received\n");
315
317 DPRINT(
" IRP_MN_CANCEL_STOP_DEVICE\n");
319
321 DPRINT(
" IRP_MN_QUERY_DEVICE_RELATIONS\n");
322
324 {
326 DPRINT(
" IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / BusRelations\n");
328 break;
329
331 DPRINT(
" IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / RemovalRelations\n");
333
334 default:
335 DPRINT(
" IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / Unknown type 0x%lx\n",
338 }
339 break;
340
342 DPRINT(
" IRP_MN_SURPRISE_REMOVAL received\n");
344
346 DPRINT(
" IRP_MN_FILTER_RESOURCE_REQUIREMENTS\n");
348
349 default:
352 }
353
357
359}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
_In_ PIO_STACK_LOCATION IrpSp
static NTSTATUS ProcessorStartDevice(IN PDEVICE_OBJECT DeviceObject, IN PCM_RESOURCE_LIST ResourceList, IN PCM_RESOURCE_LIST ResourceListTranslated)
DRIVER_DISPATCH ForwardIrpAndForget
#define IRP_MN_SURPRISE_REMOVAL
#define IoCompleteRequest
BOOLEAN NTAPI IoForwardIrpSynchronously(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
#define STATUS_NOT_SUPPORTED
struct _IO_STACK_LOCATION::@3974::@4011 StartDevice
struct _IO_STACK_LOCATION::@3974::@3999 QueryDeviceRelations
union _IO_STACK_LOCATION::@1575 Parameters
#define STATUS_UNSUCCESSFUL
_In_ WDFREQUEST _In_ NTSTATUS _In_ ULONG_PTR Information
#define IRP_MN_CANCEL_STOP_DEVICE
#define IRP_MN_START_DEVICE
#define IRP_MN_REMOVE_DEVICE
#define IRP_MN_FILTER_RESOURCE_REQUIREMENTS
#define IRP_MN_QUERY_DEVICE_RELATIONS
#define IRP_MN_QUERY_STOP_DEVICE
#define IRP_MN_CANCEL_REMOVE_DEVICE
#define IRP_MN_STOP_DEVICE
#define IRP_MN_QUERY_REMOVE_DEVICE