WNetUseConnection4A method

int WNetUseConnection4A(
  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,
  8. Pointer<Int8> lpAccessName,
  9. Pointer<Uint64> lpBufferSize,
  10. Pointer<Uint64> lpResult,
)

Implementation

int WNetUseConnection4A(
  ffi.Pointer<HWND__> hwndOwner,
  ffi.Pointer<LPNETRESOURCEA> lpNetResource,
  ffi.Pointer<ffi.Void> pAuthBuffer,
  int cbAuthBuffer,
  int dwFlags,
  ffi.Pointer<ffi.Uint8> lpUseOptions,
  int cbUseOptions,
  ffi.Pointer<ffi.Int8> lpAccessName,
  ffi.Pointer<ffi.Uint64> lpBufferSize,
  ffi.Pointer<ffi.Uint64> lpResult,
) {
  return (_WNetUseConnection4A ??= _dylib.lookupFunction<
      _c_WNetUseConnection4A,
      _dart_WNetUseConnection4A>('WNetUseConnection4A'))(
    hwndOwner,
    lpNetResource,
    pAuthBuffer,
    cbAuthBuffer,
    dwFlags,
    lpUseOptions,
    cbUseOptions,
    lpAccessName,
    lpBufferSize,
    lpResult,
  );
}