ExIsResourceAcquiredSharedLite function (wdm.h)
The ExIsResourceAcquiredSharedLite routine returns whether the current thread has access (either shared or exclusive) to a given resource.
Syntax
ULONG ExIsResourceAcquiredSharedLite(
[in] PERESOURCE Resource
);
Parameters
[in] Resource
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | <= DISPATCH_LEVEL |
DDI compliance rules | HwStorPortProhibitedDDIs(storport) |
See also
ExAcquireSharedStarveExclusive
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for