CreatePipe method

int CreatePipe(
  1. Pointer<Pointer<Void>> hReadPipe,
  2. Pointer<Pointer<Void>> hWritePipe,
  3. Pointer<LPSECURITY_ATTRIBUTES> lpPipeAttributes,
  4. int nSize,
)

Implementation

int CreatePipe(
  ffi.Pointer<ffi.Pointer<ffi.Void>> hReadPipe,
  ffi.Pointer<ffi.Pointer<ffi.Void>> hWritePipe,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpPipeAttributes,
  int nSize,
) {
  return (_CreatePipe ??=
      _dylib.lookupFunction<_c_CreatePipe, _dart_CreatePipe>('CreatePipe'))(
    hReadPipe,
    hWritePipe,
    lpPipeAttributes,
    nSize,
  );
}