ExIsResourceAcquiredExclusiveLite function (wdm.h)

The ExIsResourceAcquiredExclusiveLite routine returns whether the current thread has exclusive access to a given resource.

Syntax

BOOLEAN ExIsResourceAcquiredExclusiveLite(
  [in] PERESOURCE Resource
);

Parameters

[in] Resource

A pointer to the resource to be queried.

Return value

ExIsResourceAcquiredExclusiveLite returns TRUE if the caller already has exclusive access to the given 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

ExAcquireResourceExclusiveLite

ExIsResourceAcquiredSharedLite