ExIsResourceAcquiredSharedLite

USHORT
ExIsResourceAcquiredSharedLite(

IN PERESOURCE Resource
);

ExIsResourceAcquiredSharedLite returns whether the current thread has shared access to a given resource.

Parameters

Resource

Points to the resource to be queried.

Return Value

ExIsResourceAcquiredSharedLite returns the number of times the caller has acquired shared access to the given resource.

Comments

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

See Also

ExAcquireResourceSharedLite, ExAcquireSharedStarveExclusive, ExAcquireSharedWaitForExclusive, ExIsResourceAcquiredExclusiveLite