LogonUserW method

int LogonUserW(
  1. Pointer<Uint16> lpszUsername,
  2. Pointer<Uint16> lpszDomain,
  3. Pointer<Uint16> lpszPassword,
  4. int dwLogonType,
  5. int dwLogonProvider,
  6. Pointer<Pointer<Void>> phToken,
)

Implementation

int LogonUserW(
  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,
) {
  return (_LogonUserW ??=
      _dylib.lookupFunction<_c_LogonUserW, _dart_LogonUserW>('LogonUserW'))(
    lpszUsername,
    lpszDomain,
    lpszPassword,
    dwLogonType,
    dwLogonProvider,
    phToken,
  );
}