SuperuserPluginWindowsBindings class final

Bindings for src/superuser_plugin_windows.h.

Regenerate bindings with dart run ffigen --config ffigen.yaml.

Constructors

SuperuserPluginWindowsBindings(DynamicLibrary dynamicLibrary)
The symbols are looked up in dynamicLibrary.
SuperuserPluginWindowsBindings.fromLookup(Pointer<T> lookup<T extends NativeType>(String symbolName))
The symbols are looked up with lookup.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

flush_cstr(Pointer<Char> str) → void
Free allocated memory of string.
flush_cstr_array(Pointer<Pointer<Char>> str_array, int length) → void
Wipe all data in 2D allocated memory of string.
get_associated_groups(Pointer<Pointer<Pointer<Char>>> groups, Pointer<DWORD> length) int
Obtain user's associated group in local system.
get_current_username(Pointer<Pointer<Char>> result) int
Obtain name of user.
is_admin_user(Pointer<Bool> result) int
Verify user who execute program has admin right.
is_elevated(Pointer<Bool> result) int
Determine this program is executed with admin.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited