TransactNamedPipe method

int TransactNamedPipe(
  1. Pointer<Void> hNamedPipe,
  2. Pointer<Void> lpInBuffer,
  3. int nInBufferSize,
  4. Pointer<Void> lpOutBuffer,
  5. int nOutBufferSize,
  6. Pointer<Uint64> lpBytesRead,
  7. Pointer<LPOVERLAPPED> lpOverlapped,
)

Implementation

int TransactNamedPipe(
  ffi.Pointer<ffi.Void> hNamedPipe,
  ffi.Pointer<ffi.Void> lpInBuffer,
  int nInBufferSize,
  ffi.Pointer<ffi.Void> lpOutBuffer,
  int nOutBufferSize,
  ffi.Pointer<ffi.Uint64> lpBytesRead,
  ffi.Pointer<LPOVERLAPPED> lpOverlapped,
) {
  return (_TransactNamedPipe ??=
      _dylib.lookupFunction<_c_TransactNamedPipe, _dart_TransactNamedPipe>(
          'TransactNamedPipe'))(
    hNamedPipe,
    lpInBuffer,
    nInBufferSize,
    lpOutBuffer,
    nOutBufferSize,
    lpBytesRead,
    lpOverlapped,
  );
}