LookupPrivilegeDisplayNameW method

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

Implementation

int LookupPrivilegeDisplayNameW(
  ffi.Pointer<ffi.Uint16> lpSystemName,
  ffi.Pointer<ffi.Uint16> lpName,
  ffi.Pointer<ffi.Uint16> lpDisplayName,
  ffi.Pointer<ffi.Uint64> cchDisplayName,
  ffi.Pointer<ffi.Uint64> lpLanguageId,
) {
  return (_LookupPrivilegeDisplayNameW ??= _dylib.lookupFunction<
      _c_LookupPrivilegeDisplayNameW,
      _dart_LookupPrivilegeDisplayNameW>('LookupPrivilegeDisplayNameW'))(
    lpSystemName,
    lpName,
    lpDisplayName,
    cchDisplayName,
    lpLanguageId,
  );
}