SleepConditionVariableCS method

int SleepConditionVariableCS(
  1. Pointer<PRTL_CONDITION_VARIABLE> ConditionVariable,
  2. Pointer<PRTL_CRITICAL_SECTION> CriticalSection,
  3. int dwMilliseconds
)

Implementation

int SleepConditionVariableCS(
  ffi.Pointer<PRTL_CONDITION_VARIABLE> ConditionVariable,
  ffi.Pointer<PRTL_CRITICAL_SECTION> CriticalSection,
  int dwMilliseconds,
) {
  return (_SleepConditionVariableCS ??= _dylib.lookupFunction<
      _c_SleepConditionVariableCS,
      _dart_SleepConditionVariableCS>('SleepConditionVariableCS'))(
    ConditionVariable,
    CriticalSection,
    dwMilliseconds,
  );
}