InitializeCriticalSectionEx method

int InitializeCriticalSectionEx(
  1. Pointer<PRTL_CRITICAL_SECTION> lpCriticalSection,
  2. int dwSpinCount,
  3. int Flags
)

Implementation

int InitializeCriticalSectionEx(
  ffi.Pointer<PRTL_CRITICAL_SECTION> lpCriticalSection,
  int dwSpinCount,
  int Flags,
) {
  return (_InitializeCriticalSectionEx ??= _dylib.lookupFunction<
      _c_InitializeCriticalSectionEx,
      _dart_InitializeCriticalSectionEx>('InitializeCriticalSectionEx'))(
    lpCriticalSection,
    dwSpinCount,
    Flags,
  );
}