CreateFiber method

Pointer<Void> CreateFiber(
  1. int dwStackSize,
  2. Pointer<NativeFunction<LPFIBER_START_ROUTINE>> lpStartAddress,
  3. Pointer<Void> lpParameter
)

Implementation

ffi.Pointer<ffi.Void> CreateFiber(
  int dwStackSize,
  ffi.Pointer<ffi.NativeFunction<LPFIBER_START_ROUTINE>> lpStartAddress,
  ffi.Pointer<ffi.Void> lpParameter,
) {
  return (_CreateFiber ??= _dylib
      .lookupFunction<_c_CreateFiber, _dart_CreateFiber>('CreateFiber'))(
    dwStackSize,
    lpStartAddress,
    lpParameter,
  );
}