ExReleaseResourceLite function (wdm.h)
The ExReleaseResourceLite routine releases a specified executive resource owned by the current thread.
void ExReleaseResourceLite(
[in, out] PERESOURCE Resource
);
[in, out] Resource
A pointer to an executive resource owned by the current thread.
None
Normal kernel APC delivery must be disabled before calling this routine. Disable normal kernel APC delivery by calling KeEnterCriticalRegion. Delivery must remain disabled until the resource is released, at which point it can be reenabled by calling KeLeaveCriticalRegion. For more information, see Disabling APCs.
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 | ExclusiveResourceAccess(wdm), HwStorPortProhibitedDDIs(storport), WithinCriticalRegion(storport), WithinCriticalRegion(storport), WithinCriticalRegion(wdm) |
ExAcquireResourceExclusiveLite
ExAcquireSharedStarveExclusive