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

count_associated_groups_length(PDWORD length) int
Get length of associated groups for current user.
get_associated_groups(Pointer<Pointer<LPWSTR>> groups) int
Obtain user's associated group in local system.
get_current_username(Pointer<LPWSTR> 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