NAME

RtlInitializeCriticalSectionEx  (NTDLL.@)

SYNOPSIS

 NTSTATUS RtlInitializeCriticalSectionEx
 (
  RTL_CRITICAL_SECTION* crit,
  ULONG                 spincount,
  ULONG                 flags
 )

DESCRIPTION

Initialises a new critical section with a given spin count and flags.

PARAMS

crit [Out] Critical section to initialise.
spincount [In] Number of times to spin upon contention.
flags [In] RTL_CRITICAL_SECTION_FLAG_ flags from winnt.h.

RETURNS

STATUS_SUCCESS.

NOTES

Available on Vista or later.

SEE

RtlInitializeCriticalSection, RtlDeleteCriticalSection, RtlEnterCriticalSection, RtlLeaveCriticalSection, RtlTryEnterCriticalSection, RtlSetCriticalSectionSpinCount

IMPLEMENTATION

Defined in "winternl.h".

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

Debug channel "ntdll".


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