in the context sample (part of the windows driver samples repo) -- the usage of ERESOURCE for locking is demonstrated
I was wondering , how is that ? they use ExAcquireResourceExclusiveLite (callable at APC_LEVEL >=) in post opetrations (DISPATCH_LEVEL >= ) ...