WNetAddConnection3W method

int WNetAddConnection3W(
  1. Pointer<HWND__> hwndOwner,
  2. Pointer<LPNETRESOURCEW> lpNetResource,
  3. Pointer<Uint16> lpPassword,
  4. Pointer<Uint16> lpUserName,
  5. int dwFlags,
)

Implementation

int WNetAddConnection3W(
  ffi.Pointer<HWND__> hwndOwner,
  ffi.Pointer<LPNETRESOURCEW> lpNetResource,
  ffi.Pointer<ffi.Uint16> lpPassword,
  ffi.Pointer<ffi.Uint16> lpUserName,
  int dwFlags,
) {
  return (_WNetAddConnection3W ??= _dylib.lookupFunction<
      _c_WNetAddConnection3W,
      _dart_WNetAddConnection3W>('WNetAddConnection3W'))(
    hwndOwner,
    lpNetResource,
    lpPassword,
    lpUserName,
    dwFlags,
  );
}