WNetAddConnection2W method

int WNetAddConnection2W(
  1. Pointer<LPNETRESOURCEW> lpNetResource,
  2. Pointer<Uint16> lpPassword,
  3. Pointer<Uint16> lpUserName,
  4. int dwFlags,
)

Implementation

int WNetAddConnection2W(
  ffi.Pointer<LPNETRESOURCEW> lpNetResource,
  ffi.Pointer<ffi.Uint16> lpPassword,
  ffi.Pointer<ffi.Uint16> lpUserName,
  int dwFlags,
) {
  return (_WNetAddConnection2W ??= _dylib.lookupFunction<
      _c_WNetAddConnection2W,
      _dart_WNetAddConnection2W>('WNetAddConnection2W'))(
    lpNetResource,
    lpPassword,
    lpUserName,
    dwFlags,
  );
}