Win32Process class
Suspend or resume processes on Microsoft Windows.
Pass in the process id number when instantiating this object,
then call the suspend()
or resume()
methods.
Returns true if successful, false if the call failed.
Example
final process = Win32Process([pid]);
final result = process.suspend();
if (result != true) {
// Handle error.
}
Constructors
- Win32Process(int pid)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resume(
) → bool - Returns true if the process was successfully resumed, returns false if it failed.
-
suspend(
) → bool - Returns true if the process was successfully suspended, returns false if it failed.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited