LookupAccountSidA method

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

Implementation

int LookupAccountSidA(
  ffi.Pointer<ffi.Int8> lpSystemName,
  ffi.Pointer<ffi.Void> Sid,
  ffi.Pointer<ffi.Int8> Name,
  ffi.Pointer<ffi.Uint64> cchName,
  ffi.Pointer<ffi.Int8> ReferencedDomainName,
  ffi.Pointer<ffi.Uint64> cchReferencedDomainName,
  ffi.Pointer<ffi.Int32> peUse,
) {
  return (_LookupAccountSidA ??=
      _dylib.lookupFunction<_c_LookupAccountSidA, _dart_LookupAccountSidA>(
          'LookupAccountSidA'))(
    lpSystemName,
    Sid,
    Name,
    cchName,
    ReferencedDomainName,
    cchReferencedDomainName,
    peUse,
  );
}