LogonUserExW method
int
LogonUserExW(
- Pointer<
Uint16> lpszUsername, - Pointer<
Uint16> lpszDomain, - Pointer<
Uint16> lpszPassword, - int dwLogonType,
- int dwLogonProvider,
- Pointer<
Pointer< phToken,Void> > - Pointer<
Pointer< ppLogonSid,Void> > - Pointer<
Pointer< ppProfileBuffer,Void> > - Pointer<
Uint64> pdwProfileLength, - Pointer<
PQUOTA_LIMITS> pQuotaLimits,
Implementation
int LogonUserExW(
ffi.Pointer<ffi.Uint16> lpszUsername,
ffi.Pointer<ffi.Uint16> lpszDomain,
ffi.Pointer<ffi.Uint16> lpszPassword,
int dwLogonType,
int dwLogonProvider,
ffi.Pointer<ffi.Pointer<ffi.Void>> phToken,
ffi.Pointer<ffi.Pointer<ffi.Void>> ppLogonSid,
ffi.Pointer<ffi.Pointer<ffi.Void>> ppProfileBuffer,
ffi.Pointer<ffi.Uint64> pdwProfileLength,
ffi.Pointer<PQUOTA_LIMITS> pQuotaLimits,
) {
return (_LogonUserExW ??= _dylib
.lookupFunction<_c_LogonUserExW, _dart_LogonUserExW>('LogonUserExW'))(
lpszUsername,
lpszDomain,
lpszPassword,
dwLogonType,
dwLogonProvider,
phToken,
ppLogonSid,
ppProfileBuffer,
pdwProfileLength,
pQuotaLimits,
);
}