Expand Minimize

ExReleaseResourceLite routine

The ExReleaseResourceLite routine releases a specified executive resource owned by the current thread.

Syntax


VOID ExReleaseResourceLite(
  _Inout_  PERESOURCE Resource
);

Parameters

Resource [in, out]

A pointer to an executive resource owned by the current thread.

Return value

None

Remarks

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.

Requirements

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

<= DISPATCH_LEVEL

DDI compliance rules

ExclusiveResourceAccess, WithinCriticalRegion, HwStorPortProhibitedDDIs, WithinCriticalRegion(storport)

See also

ExAcquireResourceExclusiveLite
ExAcquireResourceSharedLite
ExAcquireSharedStarveExclusive
ExAcquireSharedWaitForExclusive
ExGetCurrentResourceThread
ExInitializeResourceLite
ExReinitializeResourceLite
ExReleaseResourceLite

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft