WNetAddConnection4A method

int WNetAddConnection4A(
  1. Pointer<HWND__> hwndOwner,
  2. Pointer<LPNETRESOURCEA> lpNetResource,
  3. Pointer<Void> pAuthBuffer,
  4. int cbAuthBuffer,
  5. int dwFlags,
  6. Pointer<Uint8> lpUseOptions,
  7. int cbUseOptions,
)

Implementation

int WNetAddConnection4A(
  ffi.Pointer<HWND__> hwndOwner,
  ffi.Pointer<LPNETRESOURCEA> lpNetResource,
  ffi.Pointer<ffi.Void> pAuthBuffer,
  int cbAuthBuffer,
  int dwFlags,
  ffi.Pointer<ffi.Uint8> lpUseOptions,
  int cbUseOptions,
) {
  return (_WNetAddConnection4A ??= _dylib.lookupFunction<
      _c_WNetAddConnection4A,
      _dart_WNetAddConnection4A>('WNetAddConnection4A'))(
    hwndOwner,
    lpNetResource,
    pAuthBuffer,
    cbAuthBuffer,
    dwFlags,
    lpUseOptions,
    cbUseOptions,
  );
}