ExGetCurrentResourceThread

ERESOURCE_THREAD
    ExGetCurrentResourceThread(
    );

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

Return Value

ExGetCurrentResourceThread returns the thread ID of the current thread.

Comments

Callers of ExGetCurrentResourceThread must be running at IRQL <= DISPATCH_LEVEL.

See Also

ExIsResourceAcquiredExclusiveLite, ExIsResourceAcquiredSharedLite, ExReleaseResourceForThreadLite