ExConvertExclusiveToSharedLite function (wdm.h)

The ExConvertExclusiveToSharedLite routine converts a given resource from acquired for exclusive access to acquired for shared access.

Syntax

void ExConvertExclusiveToSharedLite(
  [in, out] PERESOURCE Resource
);

Parameters

[in, out] Resource

A pointer to the resource for which the access should be converted.

Return value

None

Remarks

The caller must have exclusive access to the given resource. During this conversion, the current thread and any other threads waiting for shared access to the resource are given shared access.

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 <= APC_LEVEL
DDI compliance rules HwStorPortProhibitedDDIs(storport), IrqlExApcLte3(wdm)

See also

ExIsResourceAcquiredExclusiveLite