CreateFiberEx method

Pointer<Void> CreateFiberEx(
  1. int dwStackCommitSize,
  2. int dwStackReserveSize,
  3. int dwFlags,
  4. Pointer<NativeFunction<LPFIBER_START_ROUTINE>> lpStartAddress,
  5. Pointer<Void> lpParameter,
)

Implementation

ffi.Pointer<ffi.Void> CreateFiberEx(
  int dwStackCommitSize,
  int dwStackReserveSize,
  int dwFlags,
  ffi.Pointer<ffi.NativeFunction<LPFIBER_START_ROUTINE>> lpStartAddress,
  ffi.Pointer<ffi.Void> lpParameter,
) {
  return (_CreateFiberEx ??=
      _dylib.lookupFunction<_c_CreateFiberEx, _dart_CreateFiberEx>(
          'CreateFiberEx'))(
    dwStackCommitSize,
    dwStackReserveSize,
    dwFlags,
    lpStartAddress,
    lpParameter,
  );
}