LookupAccountSidW method

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

Implementation

int LookupAccountSidW(
  ffi.Pointer<ffi.Uint16> lpSystemName,
  ffi.Pointer<ffi.Void> Sid,
  ffi.Pointer<ffi.Uint16> Name,
  ffi.Pointer<ffi.Uint64> cchName,
  ffi.Pointer<ffi.Uint16> ReferencedDomainName,
  ffi.Pointer<ffi.Uint64> cchReferencedDomainName,
  ffi.Pointer<ffi.Int32> peUse,
) {
  return (_LookupAccountSidW ??=
      _dylib.lookupFunction<_c_LookupAccountSidW, _dart_LookupAccountSidW>(
          'LookupAccountSidW'))(
    lpSystemName,
    Sid,
    Name,
    cchName,
    ReferencedDomainName,
    cchReferencedDomainName,
    peUse,
  );
}