QueueUserWorkItem method

int QueueUserWorkItem(
  1. Pointer<NativeFunction<LPTHREAD_START_ROUTINE>> Function_1,
  2. Pointer<Void> Context,
  3. int Flags
)

Implementation

int QueueUserWorkItem(
  ffi.Pointer<ffi.NativeFunction<LPTHREAD_START_ROUTINE>> Function_1,
  ffi.Pointer<ffi.Void> Context,
  int Flags,
) {
  return (_QueueUserWorkItem ??=
      _dylib.lookupFunction<_c_QueueUserWorkItem, _dart_QueueUserWorkItem>(
          'QueueUserWorkItem'))(
    Function_1,
    Context,
    Flags,
  );
}