WaitForSingleObject method

int WaitForSingleObject(
  1. Pointer<Void> hHandle,
  2. int dwMilliseconds
)

Implementation

int WaitForSingleObject(
  ffi.Pointer<ffi.Void> hHandle,
  int dwMilliseconds,
) {
  return (_WaitForSingleObject ??= _dylib.lookupFunction<
      _c_WaitForSingleObject,
      _dart_WaitForSingleObject>('WaitForSingleObject'))(
    hHandle,
    dwMilliseconds,
  );
}