Skip to content

Latest commit

 

History

History
79 lines (56 loc) · 2.39 KB

nf-wdm-exisresourceacquiredsharedlite.md

File metadata and controls

79 lines (56 loc) · 2.39 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:wdm.ExIsResourceAcquiredSharedLite
ExIsResourceAcquiredSharedLite function (wdm.h)
The ExIsResourceAcquiredSharedLite routine returns whether the current thread has access (either shared or exclusive) to a given resource.
kernel\exisresourceacquiredsharedlite.htm
kernel
04/30/2018
ExIsResourceAcquiredSharedLite function
ExIsResourceAcquiredLite, ExIsResourceAcquiredSharedLite, ExIsResourceAcquiredSharedLite routine [Kernel-Mode Driver Architecture], k102_e1ae158d-fd02-4962-813f-7bd87943f033.xml, kernel.exisresourceacquiredsharedlite, wdm/ExIsResourceAcquiredSharedLite
wdm.h
Wdm.h, Ntddk.h, Ntifs.h
Universal
Available starting with Windows 2000.
HwStorPortProhibitedDDIs
NtosKrnl.lib
NtosKrnl.exe
<= DISPATCH_LEVEL
Windows
ExIsResourceAcquiredSharedLite
wdm/ExIsResourceAcquiredSharedLite
APIRef
kbSyntax
DllExport
NtosKrnl.exe
ExIsResourceAcquiredSharedLite

ExIsResourceAcquiredSharedLite function

-description

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

-parameters

-param Resource [in]

A pointer to the resource to be queried.

-returns

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