setCredentials method

int setCredentials(
  1. Pointer<Utf16> userName,
  2. Pointer<Utf16> password,
  3. int flags
)

Implementation

int setCredentials(
        Pointer<Utf16> userName, Pointer<Utf16> password, int flags) =>
    (ptr.ref.vtable + 8)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Pointer<Utf16> userName,
                        Pointer<Utf16> password, Int32 flags)>>>()
        .value
        .asFunction<
            int Function(
                Pointer,
                Pointer<Utf16> userName,
                Pointer<Utf16> password,
                int flags)>()(ptr.ref.lpVtbl, userName, password, flags);