43 if ((IoStackLocation->MajorFunction ==
IRP_MJ_PNP) &&
47 Irp->IoStatus.Information =
64 *IrpStack = *IoStackLocation;
99 .Parameters.StartDevice.AllocatedResources =
DeviceNode->ResourceList,
100 .Parameters.StartDevice.AllocatedResourcesTranslated =
DeviceNode->ResourceListTranslated
188 .Parameters.QueryDeviceRelations.Type =
Type
268 .Parameters.QueryDeviceText.DeviceTextType =
Type,
269 .Parameters.QueryDeviceText.LocaleId =
LocaleId
276 *DeviceText = (
PVOID)longText;
#define STATUS_NOT_SUPPORTED
#define NT_SUCCESS(StatCode)
#define PsGetCurrentThread()
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
#define KeInitializeEvent(pEvt, foo, foo2)
static OUT PIO_STATUS_BLOCK IoStatusBlock
@ DeviceNodeStartPostWork
@ DeviceNodeResourcesAssigned
@ DeviceNodeUninitialized
PDEVICE_OBJECT NTAPI IoGetAttachedDeviceReference(PDEVICE_OBJECT DeviceObject)
VOID NTAPI IoQueueThreadIrp(IN PIRP Irp)
PIRP NTAPI IoAllocateIrp(IN CCHAR StackSize, IN BOOLEAN ChargeQuota)
BOOLEAN NTAPI KeAreAllApcsDisabled(VOID)
NTSTATUS PiIrpQueryResources(_In_ PDEVICE_NODE DeviceNode, _Out_ PCM_RESOURCE_LIST *Resources)
NTSTATUS PiIrpStartDevice(_In_ PDEVICE_NODE DeviceNode)
NTSTATUS PiIrpQueryPnPDeviceState(_In_ PDEVICE_NODE DeviceNode, _Out_ PPNP_DEVICE_STATE DeviceState)
NTSTATUS PiIrpCancelStopDevice(_In_ PDEVICE_NODE DeviceNode)
NTSTATUS IopSynchronousCall(_In_ PDEVICE_OBJECT DeviceObject, _In_ PIO_STACK_LOCATION IoStackLocation, _Out_ PVOID *Information)
NTSTATUS PiIrpQueryResourceRequirements(_In_ PDEVICE_NODE DeviceNode, _Out_ PIO_RESOURCE_REQUIREMENTS_LIST *Resources)
NTSTATUS PiIrpQueryStopDevice(_In_ PDEVICE_NODE DeviceNode)
NTSTATUS PiIrpStopDevice(_In_ PDEVICE_NODE DeviceNode)
NTSTATUS PiIrpQueryDeviceText(_In_ PDEVICE_NODE DeviceNode, _In_ LCID LocaleId, _In_ DEVICE_TEXT_TYPE Type, _Out_ PWSTR *DeviceText)
NTSTATUS PiIrpQueryDeviceRelations(_In_ PDEVICE_NODE DeviceNode, _In_ DEVICE_RELATION_TYPE Type)
#define STATUS_INSUFFICIENT_RESOURCES
_In_ PDEVICE_OBJECT DeviceObject
_In_ WDFDEVICE _Out_ PWDF_DEVICE_STATE DeviceState
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING _In_ PCUNICODE_STRING _In_ LCID LocaleId
_In_ WDFREQUEST _In_ NTSTATUS _In_ ULONG_PTR Information
__drv_aliasesMem FORCEINLINE PIO_STACK_LOCATION IoGetNextIrpStackLocation(_In_ PIRP Irp)
#define IRP_MN_CANCEL_STOP_DEVICE
#define IRP_MN_QUERY_PNP_DEVICE_STATE
#define IRP_MN_START_DEVICE
#define IRP_MN_QUERY_RESOURCE_REQUIREMENTS
#define IRP_MN_FILTER_RESOURCE_REQUIREMENTS
#define IRP_MN_QUERY_DEVICE_RELATIONS
#define IRP_MN_QUERY_STOP_DEVICE
#define IRP_MN_QUERY_DEVICE_TEXT
#define IRP_MN_QUERY_RESOURCES
#define IRP_MN_STOP_DEVICE
enum _DEVICE_TEXT_TYPE DEVICE_TEXT_TYPE
ULONG * PPNP_DEVICE_STATE
enum _DEVICE_RELATION_TYPE DEVICE_RELATION_TYPE
#define ObDereferenceObject