The ExIsResourceAcquiredSharedLite routine returns whether the current thread has access (either shared or exclusive) to a given resource.
ULONG ExIsResourceAcquiredSharedLite( PERESOURCE Resource );
A pointer to the resource to be queried.
ExIsResourceAcquiredSharedLite returns the number of times the caller has acquired the given resource for shared or exclusive access.
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.
|Minimum supported client||Available starting with Windows 2000.|
|Header||wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)|
|DDI compliance rules||HwStorPortProhibitedDDIs|