setCredentials method
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);