ReactOS 0.4.16-dev-290-g89a3b8f
mxum.h File Reference
#include <windows.h>
#include <devpropdef.h>
#include <winioctl.h>
#include "wdmdefs.h"
#include <limits.h>
#include <driverspecs.h>
#include "ErrToStatus.h"
#include "MxDriverObjectUm.h"
#include "MxDeviceObjectUm.h"
#include "MxFileObjectUm.h"
#include "MxGeneralUm.h"
#include "MxLockUm.h"
#include "MxPagedLockUm.h"
#include "MxEventUm.h"
#include "MxMemoryUm.h"
#include "MxTimerUm.h"
#include "MxWorkItemUm.h"
Include dependency graph for mxum.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UMDF_USING_NTSTATUS
 
#define FX_PLUGPLAY_REGKEY_DEVICEMAP   0x8
 

Typedefs

typedef VOID TIMER_CALLBACK_ROUTINE(__in PKDPC Reserved1, __in_opt PVOID Context, __in_opt PVOID Reserved2, __in_opt PVOID Reserved3)
 
typedef PVOID PEX_TIMER
 
typedef VOID TIMER_CALLBACK_ROUTINE_EX(__in PEX_TIMER Reserved1, __in_opt PVOID Context)
 
typedef TIMER_CALLBACK_ROUTINE MdDeferredRoutineType
 
typedef TIMER_CALLBACK_ROUTINEMdDeferredRoutine
 
typedef TIMER_CALLBACK_ROUTINE_EX MdExtCallbackType
 
typedef TIMER_CALLBACK_ROUTINE_EXMdExtCallback
 
typedef IWudfDevice * MdDeviceObject
 
typedef IWudfIrp * MdIrp
 
typedef LPCSTR MxFuncName
 
typedef PVOID MxThread
 
typedef PVOID MdEThread
 
typedef PWUDF_IO_REMOVE_LOCK MdRemoveLock
 
typedef PVOID MdInterrupt
 
typedef struct _STACK_DEVICE_CAPABILITIESPSTACK_DEVICE_CAPABILITIES
 
typedef UINT64 WUDF_INTERFACE_CONTEXT
 
typedef enum _WDF_REQUEST_TYPE WDF_REQUEST_TYPE
 
typedef struct _WDF_INTERRUPT_INFOPWDF_INTERRUPT_INFO
 
typedef enum _WDF_INTERRUPT_POLICY WDF_INTERRUPT_POLICY
 
typedef enum _WDF_INTERRUPT_PRIORITY WDF_INTERRUPT_PRIORITY
 
typedef struct _WDF_OBJECT_ATTRIBUTESPWDF_OBJECT_ATTRIBUTES
 
typedef enum _WDF_DEVICE_IO_BUFFER_RETRIEVAL WDF_DEVICE_IO_BUFFER_RETRIEVAL
 
typedef struct _WDF_REQUEST_PARAMETERSPWDF_REQUEST_PARAMETERS
 
typedef enum _WDF_EVENT_TYPE WDF_EVENT_TYPE
 
typedef enum _WDF_FILE_INFORMATION_CLASS WDF_FILE_INFORMATION_CLASS
 
typedef WDF_FILE_INFORMATION_CLASSPWDF_FILE_INFORMATION_CLASS
 
typedef NTSTATUS WUDF_IO_COMPLETION_ROUTINE(__in MdDeviceObject DeviceObject, __in MdIrp Irp, __in PVOID Context)
 
typedef WUDF_IO_COMPLETION_ROUTINEPWUDF_IO_COMPLETION_ROUTINE
 
typedef VOID WUDF_DRIVER_CANCEL(__in MdDeviceObject DeviceObject, __in MdIrp Irp)
 
typedef WUDF_DRIVER_CANCELPWUDF_DRIVER_CANCEL
 
typedef WUDF_IO_COMPLETION_ROUTINE MdCompletionRoutineType
 
typedef WUDF_IO_COMPLETION_ROUTINEMdCompletionRoutine
 
typedef WUDF_DRIVER_CANCEL MdCancelRoutineType
 
typedef WUDF_DRIVER_CANCELMdCancelRoutine
 
typedef __in UCHAR MinorFunction
 
typedef __in UCHAR __in POWER_STATE PowerState
 
typedef __in UCHAR __in POWER_STATE __in_opt PVOID Context
 
typedef __in UCHAR __in POWER_STATE __in_opt PVOID __in PIO_STATUS_BLOCK IoStatus
 
typedef REQUEST_POWER_COMPLETE * PREQUEST_POWER_COMPLETE
 
typedef REQUEST_POWER_COMPLETE MdRequestPowerCompleteType
 
typedef REQUEST_POWER_COMPLETE * MdRequestPowerComplete
 
typedef enum _WDF_DEVICE_IO_TYPE WDF_DEVICE_IO_TYPE
 
typedef struct _DRIVER_OBJECT_UMPDRIVER_OBJECT_UM
 
typedef 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)
 
typedef DRIVER_ADD_DEVICE_UMPFN_DRIVER_ADD_DEVICE_UM
 
typedef VOID DRIVER_DISPATCH_UM(_In_ IWudfDevice *DeviceObject, _In_ IWudfIrp *Irp, _In_opt_ IUnknown *Context)
 
typedef DRIVER_DISPATCH_UMPFN_DRIVER_DISPATCH_UM
 
typedef VOID DRIVER_UNLOAD_UM(_In_ PDRIVER_OBJECT_UM DriverObject)
 
typedef DRIVER_UNLOAD_UMPFN_DRIVER_UNLOAD_UM
 

Functions

typedef __drv_functionClass (REQUEST_POWER_COMPLETE) __drv_sameIRQL VOID REQUEST_POWER_COMPLETE(__in MdDeviceObject DeviceObject
 

Macro Definition Documentation

◆ FX_PLUGPLAY_REGKEY_DEVICEMAP

#define FX_PLUGPLAY_REGKEY_DEVICEMAP   0x8

Definition at line 48 of file mxum.h.

◆ UMDF_USING_NTSTATUS

#define UMDF_USING_NTSTATUS

Definition at line 29 of file mxum.h.

Typedef Documentation

◆ Context

Definition at line 157 of file mxum.h.

◆ DRIVER_ADD_DEVICE_UM

typedef 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)

Definition at line 172 of file mxum.h.

◆ DRIVER_DISPATCH_UM

typedef VOID DRIVER_DISPATCH_UM(_In_ IWudfDevice *DeviceObject, _In_ IWudfIrp *Irp, _In_opt_ IUnknown *Context)

Definition at line 187 of file mxum.h.

◆ DRIVER_UNLOAD_UM

typedef VOID DRIVER_UNLOAD_UM(_In_ PDRIVER_OBJECT_UM DriverObject)

Definition at line 197 of file mxum.h.

◆ IoStatus

◆ MdCancelRoutine

Definition at line 143 of file mxum.h.

◆ MdCancelRoutineType

Definition at line 143 of file mxum.h.

◆ MdCompletionRoutine

Definition at line 142 of file mxum.h.

◆ MdCompletionRoutineType

Definition at line 142 of file mxum.h.

◆ MdDeferredRoutine

Definition at line 76 of file mxum.h.

◆ MdDeferredRoutineType

Definition at line 76 of file mxum.h.

◆ MdDeviceObject

typedef IWudfDevice* MdDeviceObject

Definition at line 102 of file mxum.h.

◆ MdEThread

typedef PVOID MdEThread

Definition at line 106 of file mxum.h.

◆ MdExtCallback

Definition at line 77 of file mxum.h.

◆ MdExtCallbackType

Definition at line 77 of file mxum.h.

◆ MdInterrupt

typedef PVOID MdInterrupt

Definition at line 108 of file mxum.h.

◆ MdIrp

typedef IWudfIrp* MdIrp

Definition at line 103 of file mxum.h.

◆ MdRemoveLock

typedef PWUDF_IO_REMOVE_LOCK MdRemoveLock

Definition at line 107 of file mxum.h.

◆ MdRequestPowerComplete

typedef REQUEST_POWER_COMPLETE * MdRequestPowerComplete

Definition at line 162 of file mxum.h.

◆ MdRequestPowerCompleteType

typedef REQUEST_POWER_COMPLETE MdRequestPowerCompleteType

Definition at line 162 of file mxum.h.

◆ MinorFunction

Definition at line 155 of file mxum.h.

◆ MxFuncName

typedef LPCSTR MxFuncName

Definition at line 104 of file mxum.h.

◆ MxThread

typedef PVOID MxThread

Definition at line 105 of file mxum.h.

◆ PDRIVER_OBJECT_UM

Definition at line 165 of file mxum.h.

◆ PEX_TIMER

typedef PVOID PEX_TIMER

Definition at line 67 of file mxum.h.

◆ PFN_DRIVER_ADD_DEVICE_UM

Definition at line 183 of file mxum.h.

◆ PFN_DRIVER_DISPATCH_UM

Definition at line 193 of file mxum.h.

◆ PFN_DRIVER_UNLOAD_UM

Definition at line 201 of file mxum.h.

◆ PowerState

Definition at line 156 of file mxum.h.

◆ PREQUEST_POWER_COMPLETE

typedef REQUEST_POWER_COMPLETE* PREQUEST_POWER_COMPLETE

Definition at line 161 of file mxum.h.

◆ PSTACK_DEVICE_CAPABILITIES

◆ PWDF_FILE_INFORMATION_CLASS

Definition at line 122 of file mxum.h.

◆ PWDF_INTERRUPT_INFO

Definition at line 113 of file mxum.h.

◆ PWDF_OBJECT_ATTRIBUTES

Definition at line 116 of file mxum.h.

◆ PWDF_REQUEST_PARAMETERS

Definition at line 119 of file mxum.h.

◆ PWUDF_DRIVER_CANCEL

Definition at line 141 of file mxum.h.

◆ PWUDF_IO_COMPLETION_ROUTINE

Definition at line 132 of file mxum.h.

◆ TIMER_CALLBACK_ROUTINE

Definition at line 60 of file mxum.h.

◆ TIMER_CALLBACK_ROUTINE_EX

typedef VOID TIMER_CALLBACK_ROUTINE_EX(__in PEX_TIMER Reserved1, __in_opt PVOID Context)

Definition at line 71 of file mxum.h.

◆ WDF_DEVICE_IO_BUFFER_RETRIEVAL

typedef enum _WDF_DEVICE_IO_BUFFER_RETRIEVAL WDF_DEVICE_IO_BUFFER_RETRIEVAL

Definition at line 117 of file mxum.h.

◆ WDF_DEVICE_IO_TYPE

Definition at line 164 of file mxum.h.

◆ WDF_EVENT_TYPE

typedef enum _WDF_EVENT_TYPE WDF_EVENT_TYPE

Definition at line 120 of file mxum.h.

◆ WDF_FILE_INFORMATION_CLASS

typedef enum _WDF_FILE_INFORMATION_CLASS WDF_FILE_INFORMATION_CLASS

Definition at line 121 of file mxum.h.

◆ WDF_INTERRUPT_POLICY

Definition at line 114 of file mxum.h.

◆ WDF_INTERRUPT_PRIORITY

Definition at line 115 of file mxum.h.

◆ WDF_REQUEST_TYPE

Definition at line 112 of file mxum.h.

◆ WUDF_DRIVER_CANCEL

typedef VOID WUDF_DRIVER_CANCEL(__in MdDeviceObject DeviceObject, __in MdIrp Irp)

Definition at line 136 of file mxum.h.

◆ WUDF_INTERFACE_CONTEXT

Definition at line 111 of file mxum.h.

◆ WUDF_IO_COMPLETION_ROUTINE

typedef NTSTATUS WUDF_IO_COMPLETION_ROUTINE(__in MdDeviceObject DeviceObject, __in MdIrp Irp, __in PVOID Context)

Definition at line 126 of file mxum.h.

Function Documentation

◆ __drv_functionClass()

typedef __drv_functionClass ( REQUEST_POWER_COMPLETE  )