LookupAccountNameW method

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

Implementation

int LookupAccountNameW(
  ffi.Pointer<ffi.Uint16> lpSystemName,
  ffi.Pointer<ffi.Uint16> lpAccountName,
  ffi.Pointer<ffi.Void> Sid,
  ffi.Pointer<ffi.Uint64> cbSid,
  ffi.Pointer<ffi.Uint16> ReferencedDomainName,
  ffi.Pointer<ffi.Uint64> cchReferencedDomainName,
  ffi.Pointer<ffi.Int32> peUse,
) {
  return (_LookupAccountNameW ??=
      _dylib.lookupFunction<_c_LookupAccountNameW, _dart_LookupAccountNameW>(
          'LookupAccountNameW'))(
    lpSystemName,
    lpAccountName,
    Sid,
    cbSid,
    ReferencedDomainName,
    cchReferencedDomainName,
    peUse,
  );
}