Question about ExAcquireResourceExclusiveLite

Hi,

Is it safe to do the following sequence at passive level :

KeEnterCriticalRegion()
ExAcquireResourceExclusiveLite (…)
ZwWritefile (…)
ExReleaseResourceForThreadLite (…)
KeLeaveCriticalRegionO

I look at the doc and the story about APC level and Kernel special apc
level doesn’t help
me a lot to get a clear answer.

Thanks for you help,


xxxxx@timespring.com