ExIsResourceAcquiredSharedLite - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

ULONG ExIsResourceAcquiredSharedLite(
  [in] PERESOURCE Resource
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-exisresourceacquiredsharedlite)

ExIsResourceAcquiredSharedLite function

Description

The ExIsResourceAcquiredSharedLite routine returns whether the current thread has access (either shared or exclusive) to a given resource.

Parameters

Resource [in]

A pointer to the resource to be queried.

Return value

ExIsResourceAcquiredSharedLite returns the number of times the caller has acquired the given resource for shared or exclusive access.

Remarks

The system considers exclusive access to be a subset of shared access. Therefore, a thread that has exclusive access to a resource also has shared access to the resource.

See also

ExAcquireResourceSharedLite

ExAcquireSharedStarveExclusive

ExAcquireSharedWaitForExclusive

ExIsResourceAcquiredExclusiveLite