28#ifndef UMDF_USING_NTSTATUS
29#define UMDF_USING_NTSTATUS
39#ifdef UMDF_INFRASTRUCTURE
48#define FX_PLUGPLAY_REGKEY_DEVICEMAP 0x8
82struct IFxMessageDispatch;
89struct IWudfDeviceStack;
90struct IWudfDeviceStack2;
91struct IWudfTargetCallbackDeviceChange;
92struct IWudfIoDispatcher;
93struct IWudfRemoteDispatcher;
118typedef enum RdWmiPowerAction;
153REQUEST_POWER_COMPLETE (
175 _In_ IWudfDeviceStack * DevStack,
206#ifdef UMDF_INFRASTRUCTURE
219typedef ALLOCATE_FUNCTION *PALLOCATE_FUNCTION;
227typedef FREE_FUNCTION *PFREE_FUNCTION;
235#include "ErrToStatus.h"
237#include "MxDriverObjectUm.h"
238#include "MxDeviceObjectUm.h"
239#include "MxFileObjectUm.h"
240#include "MxGeneralUm.h"
242#include "MxPagedLockUm.h"
243#include "MxEventUm.h"
244#include "MxMemoryUm.h"
245#include "MxTimerUm.h"
246#include "MxWorkItemUm.h"
unsigned long long UINT64
#define _IRQL_requires_same_
#define __drv_freesMem(kind)
#define __drv_functionClass(x)
enum _WDF_FILE_INFORMATION_CLASS WDF_FILE_INFORMATION_CLASS
WDF_FILE_INFORMATION_CLASS * PWDF_FILE_INFORMATION_CLASS
PWUDF_IO_REMOVE_LOCK MdRemoveLock
WUDF_DRIVER_CANCEL * PWUDF_DRIVER_CANCEL
enum _WDF_REQUEST_TYPE WDF_REQUEST_TYPE
REQUEST_POWER_COMPLETE * PREQUEST_POWER_COMPLETE
DRIVER_ADD_DEVICE_UM * PFN_DRIVER_ADD_DEVICE_UM
struct _STACK_DEVICE_CAPABILITIES * PSTACK_DEVICE_CAPABILITIES
enum _WDF_INTERRUPT_PRIORITY WDF_INTERRUPT_PRIORITY
IWudfDevice * MdDeviceObject
VOID TIMER_CALLBACK_ROUTINE_EX(__in PEX_TIMER Reserved1, __in_opt PVOID Context)
DRIVER_DISPATCH_UM * PFN_DRIVER_DISPATCH_UM
NTSTATUS WUDF_IO_COMPLETION_ROUTINE(__in MdDeviceObject DeviceObject, __in MdIrp Irp, __in PVOID Context)
struct _DRIVER_OBJECT_UM * PDRIVER_OBJECT_UM
WUDF_DRIVER_CANCEL * MdCancelRoutine
REQUEST_POWER_COMPLETE MdRequestPowerCompleteType
struct _WDF_REQUEST_PARAMETERS * PWDF_REQUEST_PARAMETERS
TIMER_CALLBACK_ROUTINE_EX MdExtCallbackType
enum _WDF_INTERRUPT_POLICY WDF_INTERRUPT_POLICY
struct _WDF_OBJECT_ATTRIBUTES * PWDF_OBJECT_ATTRIBUTES
TIMER_CALLBACK_ROUTINE_EX * MdExtCallback
NTSTATUS DRIVER_ADD_DEVICE_UM(_In_ PDRIVER_OBJECT_UM DriverObject, _In_ PVOID Context, _In_ IWudfDeviceStack *DevStack, _In_ LPCWSTR KernelDeviceName, _In_opt_ HKEY hPdoKey, _In_ LPCWSTR pwszServiceName, _In_ LPCWSTR pwszDevInstanceID, _In_ ULONG ulDriverID)
WUDF_IO_COMPLETION_ROUTINE * PWUDF_IO_COMPLETION_ROUTINE
DRIVER_UNLOAD_UM * PFN_DRIVER_UNLOAD_UM
TIMER_CALLBACK_ROUTINE * MdDeferredRoutine
VOID TIMER_CALLBACK_ROUTINE(__in PKDPC Reserved1, __in_opt PVOID Context, __in_opt PVOID Reserved2, __in_opt PVOID Reserved3)
REQUEST_POWER_COMPLETE * MdRequestPowerComplete
enum _WDF_DEVICE_IO_BUFFER_RETRIEVAL WDF_DEVICE_IO_BUFFER_RETRIEVAL
enum _WDF_DEVICE_IO_TYPE WDF_DEVICE_IO_TYPE
VOID DRIVER_DISPATCH_UM(_In_ IWudfDevice *DeviceObject, _In_ IWudfIrp *Irp, _In_opt_ IUnknown *Context)
VOID WUDF_DRIVER_CANCEL(__in MdDeviceObject DeviceObject, __in MdIrp Irp)
WUDF_IO_COMPLETION_ROUTINE * MdCompletionRoutine
WUDF_IO_COMPLETION_ROUTINE MdCompletionRoutineType
UINT64 WUDF_INTERFACE_CONTEXT
enum _WDF_EVENT_TYPE WDF_EVENT_TYPE
struct _WDF_INTERRUPT_INFO * PWDF_INTERRUPT_INFO
WUDF_DRIVER_CANCEL MdCancelRoutineType
__in UCHAR __in POWER_STATE __in_opt PVOID __in PIO_STATUS_BLOCK IoStatus
VOID DRIVER_UNLOAD_UM(_In_ PDRIVER_OBJECT_UM DriverObject)
TIMER_CALLBACK_ROUTINE MdDeferredRoutineType
#define _Function_class_(n)
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_STATE PowerState
_In_ UCHAR _In_ UCHAR MinorFunction
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
struct _EX_TIMER * PEX_TIMER
struct _IO_REMOVE_LOCK * PIO_REMOVE_LOCK
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS _Inout_ PLARGE_INTEGER NumberOfBytes