共用方式為


ExConvertExclusiveToSharedLite routine

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

Syntax

VOID ExConvertExclusiveToSharedLite(
  _Inout_ PERESOURCE Resource
);

Parameters

  • Resource [in, out]
    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

Target platform

Universal

Version

Available starting with Windows 2000.

Header

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

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

<= APC_LEVEL

DDI compliance rules

IrqlExApcLte3, HwStorPortProhibitedDDIs

See also

ExIsResourceAcquiredExclusiveLite

 

 

Send comments about this topic to Microsoft