ExGetCurrentResourceThread routine

The ExGetCurrentResourceThread routine identifies the current thread for a subsequent call to ExReleaseResourceForThreadLite.

Syntax

ERESOURCE_THREAD ExGetCurrentResourceThread(void);

Parameters

This routine has no parameters.

Return value

ExGetCurrentResourceThread returns the thread ID of the current thread.

Requirements

Target platform

Desktop

Version

Available starting with Windows 2000.

Header

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

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

<= DISPATCH_LEVEL

See also

ExIsResourceAcquiredExclusiveLite

ExIsResourceAcquiredSharedLite

ExReleaseResourceForThreadLite

 

 

Send comments about this topic to Microsoft