LogonUserExA method
int
LogonUserExA(
- Pointer<Int8> lpszUsername,
- Pointer<Int8> lpszDomain,
- Pointer<Int8> lpszPassword,
- int dwLogonType,
- int dwLogonProvider,
- Pointer<Pointer<Void>> phToken,
- Pointer<Pointer<Void>> ppLogonSid,
- Pointer<Pointer<Void>> ppProfileBuffer,
- Pointer<Uint64> pdwProfileLength,
- 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,
);
}