LookupAccountNameA method

int LookupAccountNameA(
  1. Pointer<Int8> lpSystemName,
  2. Pointer<Int8> lpAccountName,
  3. Pointer<Void> Sid,
  4. Pointer<Uint64> cbSid,
  5. Pointer<Int8> ReferencedDomainName,
  6. Pointer<Uint64> cchReferencedDomainName,
  7. Pointer<Int32> peUse,
)

Implementation

int LookupAccountNameA(
  ffi.Pointer<ffi.Int8> lpSystemName,
  ffi.Pointer<ffi.Int8> lpAccountName,
  ffi.Pointer<ffi.Void> Sid,
  ffi.Pointer<ffi.Uint64> cbSid,
  ffi.Pointer<ffi.Int8> ReferencedDomainName,
  ffi.Pointer<ffi.Uint64> cchReferencedDomainName,
  ffi.Pointer<ffi.Int32> peUse,
) {
  return (_LookupAccountNameA ??=
      _dylib.lookupFunction<_c_LookupAccountNameA, _dart_LookupAccountNameA>(
          'LookupAccountNameA'))(
    lpSystemName,
    lpAccountName,
    Sid,
    cbSid,
    ReferencedDomainName,
    cchReferencedDomainName,
    peUse,
  );
}