LogonUserExA method

int LogonUserExA(
  1. Pointer<Int8> lpszUsername,
  2. Pointer<Int8> lpszDomain,
  3. Pointer<Int8> lpszPassword,
  4. int dwLogonType,
  5. int dwLogonProvider,
  6. Pointer<Pointer<Void>> phToken,
  7. Pointer<Pointer<Void>> ppLogonSid,
  8. Pointer<Pointer<Void>> ppProfileBuffer,
  9. Pointer<Uint64> pdwProfileLength,
  10. Pointer<QUOTA_LIMITS> pQuotaLimits,
)

Implementation

int LogonUserExA(
  ffi.Pointer<ffi.Int8> lpszUsername,
  ffi.Pointer<ffi.Int8> lpszDomain,
  ffi.Pointer<ffi.Int8> 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<QUOTA_LIMITS> pQuotaLimits,
) {
  return _LogonUserExA(
    lpszUsername,
    lpszDomain,
    lpszPassword,
    dwLogonType,
    dwLogonProvider,
    phToken,
    ppLogonSid,
    ppProfileBuffer,
    pdwProfileLength,
    pQuotaLimits,
  );
}