SetCriticalSectionSpinCount method

int SetCriticalSectionSpinCount(
  1. Pointer<PRTL_CRITICAL_SECTION> lpCriticalSection,
  2. int dwSpinCount
)

Implementation

int SetCriticalSectionSpinCount(
  ffi.Pointer<PRTL_CRITICAL_SECTION> lpCriticalSection,
  int dwSpinCount,
) {
  return (_SetCriticalSectionSpinCount ??= _dylib.lookupFunction<
      _c_SetCriticalSectionSpinCount,
      _dart_SetCriticalSectionSpinCount>('SetCriticalSectionSpinCount'))(
    lpCriticalSection,
    dwSpinCount,
  );
}