83#define FDO_FROM_PDO(pdoData) \
84 ((PFDO_DEVICE_DATA) (pdoData)->ParentFdo->DeviceExtension)
86#define INITIALIZE_PNP_STATE(_Data_) \
87 (_Data_).DevicePnPState = NotStarted;\
88 (_Data_).PreviousPnPState = NotStarted;
90#define SET_NEW_PNP_STATE(_Data_, _state_) \
91 (_Data_).PreviousPnPState = (_Data_).DevicePnPState;\
92 (_Data_).DevicePnPState = (_state_);
94#define RESTORE_PREVIOUS_PNP_STATE(_Data_) \
95 (_Data_).DevicePnPState = (_Data_).PreviousPnPState;\
NTSTATUS Bus_DestroyPdo(PDEVICE_OBJECT Device, PPDO_DEVICE_DATA PdoData)
NTSTATUS Bus_FDO_Power(PFDO_DEVICE_DATA FdoData, PIRP Irp)
NTSTATUS Bus_PDO_PnP(PDEVICE_OBJECT DeviceObject, PIRP Irp, PIO_STACK_LOCATION IrpStack, PPDO_DEVICE_DATA DeviceData)
struct _COMMON_DEVICE_DATA * PCOMMON_DEVICE_DATA
NTSTATUS Bus_PDO_Power(PPDO_DEVICE_DATA PdoData, PIRP Irp)
VOID Bus_InterfaceReference(PVOID Context)
NTSTATUS Bus_PDO_QueryResources(PPDO_DEVICE_DATA DeviceData, PIRP Irp)
NTSTATUS NTAPI Bus_CreateClose(PDEVICE_OBJECT DeviceObject, PIRP Irp)
PCHAR DbgSystemPowerString(SYSTEM_POWER_STATE Type)
PCHAR DbgDeviceRelationString(DEVICE_RELATION_TYPE Type)
enum _DEVICE_PNP_STATE DEVICE_PNP_STATE
VOID Bus_InitializePdo(PDEVICE_OBJECT Pdo, PFDO_DEVICE_DATA FdoData)
NTSTATUS Bus_PDO_QueryDeviceRelations(PPDO_DEVICE_DATA DeviceData, PIRP Irp)
NTSTATUS NTAPI Bus_PDO_EvalMethod(_In_ PPDO_DEVICE_DATA DeviceData, _Inout_ PIRP Irp)
PCHAR DbgDeviceIDString(BUS_QUERY_ID_TYPE Type)
PCHAR PnPMinorFunctionString(UCHAR MinorFunction)
void Bus_RemoveFdo(PFDO_DEVICE_DATA FdoData)
PCHAR PowerMinorFunctionString(UCHAR MinorFunction)
BOOLEAN Bus_IsSafetyLockEnabled(PVOID Context)
struct _EVAL_WORKITEM_DATA * PEVAL_WORKITEM_DATA
NTSTATUS Bus_PDO_QueryDeviceText(PPDO_DEVICE_DATA DeviceData, PIRP Irp)
BOOLEAN Bus_GetCrispinessLevel(PVOID Context, PUCHAR Level)
NTSTATUS Bus_PDO_QueryDeviceId(PPDO_DEVICE_DATA DeviceData, PIRP Irp)
NTSTATUS Bus_PDO_QueryInterface(PPDO_DEVICE_DATA DeviceData, PIRP Irp)
UNICODE_STRING ProcessorHardwareIds
VOID Bus_DriverUnload(PDRIVER_OBJECT DriverObject)
VOID Bus_InterfaceDereference(PVOID Context)
struct _FDO_DEVICE_DATA * PFDO_DEVICE_DATA
NTSTATUS Bus_FDO_PnP(PDEVICE_OBJECT DeviceObject, PIRP Irp, PIO_STACK_LOCATION IrpStack, PFDO_DEVICE_DATA DeviceData)
BOOLEAN Bus_SetCrispinessLevel(PVOID Context, UCHAR Level)
struct _FDO_DEVICE_DATA FDO_DEVICE_DATA
WORKER_THREAD_ROUTINE Bus_PDO_EvalMethodWorker
NTSTATUS Bus_SendIrpSynchronously(PDEVICE_OBJECT DeviceObject, PIRP Irp)
NTSTATUS NTAPI Bus_Power(PDEVICE_OBJECT DeviceObject, PIRP Irp)
struct _PDO_DEVICE_DATA PDO_DEVICE_DATA
NTSTATUS NTAPI Bus_PnP(PDEVICE_OBJECT DeviceObject, PIRP Irp)
PCHAR DbgDevicePowerString(DEVICE_POWER_STATE Type)
struct _EVAL_WORKITEM_DATA EVAL_WORKITEM_DATA
NTSTATUS Bus_PDO_QueryResourceRequirements(PPDO_DEVICE_DATA DeviceData, PIRP Irp)
NTSTATUS Bus_PDO_QueryDeviceCaps(PPDO_DEVICE_DATA DeviceData, PIRP Irp)
NTSTATUS ACPIEnumerateDevices(PFDO_DEVICE_DATA DeviceExtension)
LPWSTR ProcessorNameString
NTSTATUS Bus_PDO_QueryBusInformation(PPDO_DEVICE_DATA DeviceData, PIRP Irp)
NTSTATUS Bus_GetDeviceCapabilities(PDEVICE_OBJECT DeviceObject, PDEVICE_CAPABILITIES DeviceCapabilities)
NTSTATUS NTAPI Bus_CompletionRoutine(PDEVICE_OBJECT DeviceObject, PIRP Irp, PVOID Context)
NTSTATUS Bus_StartFdo(PFDO_DEVICE_DATA FdoData, PIRP Irp)
struct _PDO_DEVICE_DATA * PPDO_DEVICE_DATA
struct _COMMON_DEVICE_DATA COMMON_DEVICE_DATA
enum _DEVICE_POWER_STATE DEVICE_POWER_STATE
enum _SYSTEM_POWER_STATE SYSTEM_POWER_STATE
SYSTEM_POWER_STATE SystemPowerState
DEVICE_POWER_STATE DevicePowerState
DEVICE_PNP_STATE DevicePnPState
DEVICE_PNP_STATE PreviousPnPState
WORK_QUEUE_ITEM WorkQueueItem
PPDO_DEVICE_DATA DeviceData
COMMON_DEVICE_DATA Common
PDEVICE_OBJECT NextLowerDriver
PDEVICE_OBJECT UnderlyingPDO
UNICODE_STRING InterfaceName
COMMON_DEVICE_DATA Common
_Must_inspect_result_ _In_ WDFDEVICE Device
_In_ PDEVICE_OBJECT DeviceObject
_In_ UCHAR _In_ UCHAR MinorFunction
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT Pdo
#define DeviceCapabilities
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
enum _BUS_QUERY_ID_TYPE BUS_QUERY_ID_TYPE
enum _DEVICE_RELATION_TYPE DEVICE_RELATION_TYPE