ReactOS 0.4.15-dev-7788-g1ad9096
mxgeneralkm.h File Reference
#include "mxgeneral.h"
#include <ntstrsafe.h>
Include dependency graph for mxgeneralkm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAKE_MX_FUNC_NAME(x)   L##x
 

Typedefs

typedef LPCWSTR MxFuncName
 
typedef PKTHREAD MxThread
 
typedef PETHREAD MdEThread
 
typedef PDEVICE_OBJECT MdDeviceObject
 
typedef PDRIVER_OBJECT MdDriverObject
 
typedef PFILE_OBJECT MdFileObject
 
typedef PIO_REMOVE_LOCK MdRemoveLock
 
typedef PCALLBACK_OBJECT MdCallbackObject
 
typedef CALLBACK_FUNCTION MdCallbackFunctionType
 
typedef CALLBACK_FUNCTIONMdCallbackFunction
 
typedef PKINTERRUPT MdInterrupt
 
typedef KSERVICE_ROUTINE MdInterruptServiceRoutineType
 
typedef KSERVICE_ROUTINE * MdInterruptServiceRoutine
 
typedef KSYNCHRONIZE_ROUTINE MdInterruptSynchronizeRoutineType
 
typedef KSYNCHRONIZE_ROUTINE * MdInterruptSynchronizeRoutine
 

Functions

 __drv_maxIRQL (HIGH_LEVEL) __drv_raisesIRQL(NewIrql) __inline VOID Mx
 
 _Acquires_lock_ (_Global_critical_region_) __inline VOID Mx
 
 _Releases_lock_ (_Global_critical_region_) __inline VOID Mx
 
 _Releases_lock_ (_Global_cancel_spin_lock_) __drv_requiresIRQL(DISPATCH_LEVEL) __inline VOID Mx
 

Macro Definition Documentation

◆ MAKE_MX_FUNC_NAME

#define MAKE_MX_FUNC_NAME (   x)    L##x

Definition at line 26 of file mxgeneralkm.h.

Typedef Documentation

◆ MdCallbackFunction

Definition at line 35 of file mxgeneralkm.h.

◆ MdCallbackFunctionType

Definition at line 35 of file mxgeneralkm.h.

◆ MdCallbackObject

Definition at line 34 of file mxgeneralkm.h.

◆ MdDeviceObject

Definition at line 30 of file mxgeneralkm.h.

◆ MdDriverObject

Definition at line 31 of file mxgeneralkm.h.

◆ MdEThread

Definition at line 29 of file mxgeneralkm.h.

◆ MdFileObject

Definition at line 32 of file mxgeneralkm.h.

◆ MdInterrupt

Definition at line 36 of file mxgeneralkm.h.

◆ MdInterruptServiceRoutine

typedef KSERVICE_ROUTINE * MdInterruptServiceRoutine

Definition at line 37 of file mxgeneralkm.h.

◆ MdInterruptServiceRoutineType

typedef KSERVICE_ROUTINE MdInterruptServiceRoutineType

Definition at line 37 of file mxgeneralkm.h.

◆ MdInterruptSynchronizeRoutine

typedef KSYNCHRONIZE_ROUTINE * MdInterruptSynchronizeRoutine

Definition at line 38 of file mxgeneralkm.h.

◆ MdInterruptSynchronizeRoutineType

typedef KSYNCHRONIZE_ROUTINE MdInterruptSynchronizeRoutineType

Definition at line 38 of file mxgeneralkm.h.

◆ MdRemoveLock

Definition at line 33 of file mxgeneralkm.h.

◆ MxFuncName

Definition at line 27 of file mxgeneralkm.h.

◆ MxThread

typedef PKTHREAD MxThread

Definition at line 28 of file mxgeneralkm.h.

Function Documentation

◆ __drv_maxIRQL()

__drv_maxIRQL ( HIGH_LEVEL  )

Definition at line 92 of file mxgeneralkm.h.

100{
102}
#define KeRaiseIrql(irql, oldIrql)
Definition: env_spec_w32.h:597
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _In_ _IRQL_restores_ KIRQL NewIrql
Definition: ke.h:114
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
Definition: kefuncs.h:778

◆ _Acquires_lock_()

_Acquires_lock_ ( _Global_critical_region_  )

Definition at line 189 of file mxgeneralkm.h.

194{
196}
#define KeEnterCriticalRegion()
Definition: ke_x.h:88

◆ _Releases_lock_() [1/2]

_Releases_lock_ ( _Global_cancel_spin_lock_  )

Definition at line 305 of file mxgeneralkm.h.

312{
314}
_Out_ PKIRQL Irql
Definition: csq.h:179
VOID NTAPI IoReleaseCancelSpinLock(IN KIRQL Irql)
Definition: util.c:150

◆ _Releases_lock_() [2/2]

_Releases_lock_ ( _Global_critical_region_  )

Definition at line 198 of file mxgeneralkm.h.

203{
205}
#define KeLeaveCriticalRegion()
Definition: ke_x.h:119