17 lines
166 B
C
17 lines
166 B
C
|
|
#include <wdm.h>
|
|
|
|
BOOLEAN
|
|
IsIrqlGreaterThanDispatch(
|
|
VOID
|
|
)
|
|
|
|
{
|
|
#if DBG
|
|
return (KeGetCurrentIrql() > DISPATCH_LEVEL);
|
|
#else
|
|
return FALSE;
|
|
#endif
|
|
|
|
}
|