LookupPrivilegeDisplayNameA method

int LookupPrivilegeDisplayNameA(
  1. Pointer<Int8> lpSystemName,
  2. Pointer<Int8> lpName,
  3. Pointer<Int8> lpDisplayName,
  4. Pointer<Uint64> cchDisplayName,
  5. Pointer<Uint64> lpLanguageId,
)

Implementation

int LookupPrivilegeDisplayNameA(
  ffi.Pointer<ffi.Int8> lpSystemName,
  ffi.Pointer<ffi.Int8> lpName,
  ffi.Pointer<ffi.Int8> lpDisplayName,
  ffi.Pointer<ffi.Uint64> cchDisplayName,
  ffi.Pointer<ffi.Uint64> lpLanguageId,
) {
  return (_LookupPrivilegeDisplayNameA ??= _dylib.lookupFunction<
      _c_LookupPrivilegeDisplayNameA,
      _dart_LookupPrivilegeDisplayNameA>('LookupPrivilegeDisplayNameA'))(
    lpSystemName,
    lpName,
    lpDisplayName,
    cchDisplayName,
    lpLanguageId,
  );
}