ExIsResourceAcquiredExclusiveLite

BOOLEAN
ExIsResourceAcquiredExclusiveLite(

IN PERESOURCE Resource
);

ExIsResourceAcquiredExclusiveLite returns whether the current thread has exclusive access to a given resource.

Parameters

Resource

Points to the resource to be queried.

Return Value

ExIsResourceAcquiredExclusiveLite returns TRUE if the caller already has exclusive access to the given resource.

Comments

Callers of ExIsResourceAcquiredExclusiveLite must be running at IRQL <= DISPATCH_LEVEL.

See Also

ExAcquireResourceExclusiveLite, ExIsResourceAcquiredSharedLite, ExTryToAcquireResourceExclusiveLite