SuperuserPluginWindowsBindings class final

Bindings for src/superuser_plugin_windows.h.

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

Constructors

SuperuserPluginWindowsBindings.new(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_string(Pointer<Char> str) → void
Flush string from dynamic allocated function.
get_current_username(Pointer<Pointer<Char>> result) int
Obtain name of user.
is_admin_user() bool
Verify user who execute program has admin right.
is_elevated() bool
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