35 DPRINT(
"IoGetDmaAdapter called\n");
63 Stack.Parameters.QueryInterface.InterfaceType =
64 &GUID_BUS_INTERFACE_STANDARD;
78 if (Adapter)
return Adapter;
PDEVICE_OBJECT PhysicalDeviceObject
#define NT_SUCCESS(StatCode)
enum _INTERFACE_TYPE INTERFACE_TYPE
static OUT PIO_STATUS_BLOCK IoStatusBlock
NTSTATUS NTAPI IopInitiatePnpIrp(IN PDEVICE_OBJECT DeviceObject, IN PIO_STATUS_BLOCK IoStatusBlock, IN UCHAR MinorFunction, IN PIO_STACK_LOCATION Stack)
PDMA_ADAPTER NTAPI IoGetDmaAdapter(IN PDEVICE_OBJECT PhysicalDeviceObject, IN PDEVICE_DESCRIPTION DeviceDescription, IN OUT PULONG NumberOfMapRegisters)
NTSTATUS NTAPI IoGetDeviceProperty(IN PDEVICE_OBJECT DeviceObject, IN DEVICE_REGISTRY_PROPERTY DeviceProperty, IN ULONG BufferLength, OUT PVOID PropertyBuffer, OUT PULONG ResultLength)
struct _INTERFACE * PINTERFACE
PINTERFACE_DEREFERENCE InterfaceDereference
PGET_DMA_ADAPTER GetDmaAdapter
INTERFACE_TYPE InterfaceType
#define RtlCopyMemory(Destination, Source, Length)
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING DeviceDescription
_In_ WDFREQUEST _In_ PIO_STACK_LOCATION Stack
_Out_ PULONG NumberOfMapRegisters
#define IRP_MN_QUERY_INTERFACE
@ DevicePropertyLegacyBusType
struct _BUS_INTERFACE_STANDARD BUS_INTERFACE_STANDARD