BOOLEAN
ExIsResourceAcquiredExclusiveLite(
IN PERESOURCE Resource
);
ExIsResourceAcquiredExclusiveLite returns whether the current thread has exclusive access to a given resource.
ExIsResourceAcquiredExclusiveLite returns TRUE if the caller already has exclusive access to the given resource.
Callers of ExIsResourceAcquiredExclusiveLite must be running at IRQL <= DISPATCH_LEVEL.
ExAcquireResourceExclusiveLite, ExIsResourceAcquiredSharedLite, ExTryToAcquireResourceExclusiveLite