SleepConditionVariableSRW method

int SleepConditionVariableSRW(
  1. Pointer<PRTL_CONDITION_VARIABLE> ConditionVariable,
  2. Pointer<PRTL_SRWLOCK> SRWLock,
  3. int dwMilliseconds,
  4. int Flags,
)

Implementation

int SleepConditionVariableSRW(
  ffi.Pointer<PRTL_CONDITION_VARIABLE> ConditionVariable,
  ffi.Pointer<PRTL_SRWLOCK> SRWLock,
  int dwMilliseconds,
  int Flags,
) {
  return (_SleepConditionVariableSRW ??= _dylib.lookupFunction<
      _c_SleepConditionVariableSRW,
      _dart_SleepConditionVariableSRW>('SleepConditionVariableSRW'))(
    ConditionVariable,
    SRWLock,
    dwMilliseconds,
    Flags,
  );
}