WNetGetLastErrorA method

int WNetGetLastErrorA(
  1. Pointer<Uint64> lpError,
  2. Pointer<Int8> lpErrorBuf,
  3. int nErrorBufSize,
  4. Pointer<Int8> lpNameBuf,
  5. int nNameBufSize,
)

Implementation

int WNetGetLastErrorA(
  ffi.Pointer<ffi.Uint64> lpError,
  ffi.Pointer<ffi.Int8> lpErrorBuf,
  int nErrorBufSize,
  ffi.Pointer<ffi.Int8> lpNameBuf,
  int nNameBufSize,
) {
  return (_WNetGetLastErrorA ??=
      _dylib.lookupFunction<_c_WNetGetLastErrorA, _dart_WNetGetLastErrorA>(
          'WNetGetLastErrorA'))(
    lpError,
    lpErrorBuf,
    nErrorBufSize,
    lpNameBuf,
    nNameBufSize,
  );
}