LookupPrivilegeNameA method

int LookupPrivilegeNameA(
  1. Pointer<Int8> lpSystemName,
  2. Pointer<PLUID> lpLuid,
  3. Pointer<Int8> lpName,
  4. Pointer<Uint64> cchName,
)

Implementation

int LookupPrivilegeNameA(
  ffi.Pointer<ffi.Int8> lpSystemName,
  ffi.Pointer<PLUID> lpLuid,
  ffi.Pointer<ffi.Int8> lpName,
  ffi.Pointer<ffi.Uint64> cchName,
) {
  return (_LookupPrivilegeNameA ??= _dylib.lookupFunction<
      _c_LookupPrivilegeNameA,
      _dart_LookupPrivilegeNameA>('LookupPrivilegeNameA'))(
    lpSystemName,
    lpLuid,
    lpName,
    cchName,
  );
}