NAME

RtlTryEnterCriticalSection  (NTDLL.@)

SYNOPSIS

 BOOL RtlTryEnterCriticalSection
 (
  RTL_CRITICAL_SECTION* crit
 )

DESCRIPTION

Tries to enter a critical section without waiting.

PARAMS

crit [In/Out] Critical section to enter.

RETURNS

Success: TRUE. The critical section is held by the caller.

Failure: FALSE. The critical section is currently held by another thread.

SEE

RtlInitializeCriticalSectionEx, RtlInitializeCriticalSection, RtlInitializeCriticalSectionAndSpinCount, RtlDeleteCriticalSection, RtlEnterCriticalSection, RtlLeaveCriticalSection, RtlSetCriticalSectionSpinCount

IMPLEMENTATION

Declared in "winternl.h". https://source.winehq.org/source/include/winternl.h

Implemented in "dlls/ntdll/critsection.c". https://source.winehq.org/source/dlls/ntdll/critsection.c

Debug channel "ntdll".


Copyright © 2020 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2020.