WNetAddConnection2A method

int WNetAddConnection2A(
  1. Pointer<LPNETRESOURCEA> lpNetResource,
  2. Pointer<Int8> lpPassword,
  3. Pointer<Int8> lpUserName,
  4. int dwFlags,
)

Implementation

int WNetAddConnection2A(
  ffi.Pointer<LPNETRESOURCEA> lpNetResource,
  ffi.Pointer<ffi.Int8> lpPassword,
  ffi.Pointer<ffi.Int8> lpUserName,
  int dwFlags,
) {
  return (_WNetAddConnection2A ??= _dylib.lookupFunction<
      _c_WNetAddConnection2A,
      _dart_WNetAddConnection2A>('WNetAddConnection2A'))(
    lpNetResource,
    lpPassword,
    lpUserName,
    dwFlags,
  );
}