ReactOS 0.4.17-dev-1281-g065abb3
DispatchLevelGuard Class Reference

#include <ucxutil.h>

Public Member Functions

 DispatchLevelGuard ()
 
 ~DispatchLevelGuard ()
 
 DispatchLevelGuard (const DispatchLevelGuard &)=delete
 
DispatchLevelGuard & operator= (const DispatchLevelGuard &)=delete
 

Private Attributes

KIRQL m_OldIrql
 

Detailed Description

Raises to DISPATCH_LEVEL for the lifetime of the guard.

Definition at line 60 of file ucxutil.h.

Constructor & Destructor Documentation

◆ DispatchLevelGuard() [1/2]

DispatchLevelGuard::DispatchLevelGuard ( )
inline

Definition at line 63 of file ucxutil.h.

64 {
66 }
#define KeRaiseIrql(irql, oldIrql)
Definition: env_spec_w32.h:597
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696

◆ ~DispatchLevelGuard()

DispatchLevelGuard::~DispatchLevelGuard ( )
inline

Definition at line 68 of file ucxutil.h.

69 {
71 }
#define KeLowerIrql(oldIrql)
Definition: env_spec_w32.h:602

◆ DispatchLevelGuard() [2/2]

DispatchLevelGuard::DispatchLevelGuard ( const DispatchLevelGuard &  )
delete

Member Function Documentation

◆ operator=()

DispatchLevelGuard & DispatchLevelGuard::operator= ( const DispatchLevelGuard &  )
delete

Member Data Documentation

◆ m_OldIrql

KIRQL DispatchLevelGuard::m_OldIrql
private

Definition at line 77 of file ucxutil.h.

Referenced by DispatchLevelGuard(), and ~DispatchLevelGuard().


The documentation for this class was generated from the following file: