PROCESS_INFORMATION class base struct

Contains information about a newly created process and its primary thread.

It is used with the CreateProcess, CreateProcessAsUser, CreateProcessWithLogonW, or CreateProcessWithTokenW function.

To learn more, see learn.microsoft.com/windows/win32/api/processthreadsapi/ns-processthreadsapi-process_information.

Inheritance
Implemented types
Available extensions

Constructors

PROCESS_INFORMATION()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
dwProcessId ↔ int
A value that can be used to identify a process.
getter/setter pair
dwThreadId ↔ int
A value that can be used to identify a thread.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
hProcess ↔ HANDLE
A handle to the newly created process.
getter/setter pair
hThread ↔ HANDLE
A handle to the primary thread of the newly created process.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNative({Allocator allocator = adaptiveCalloc}) → Pointer<PROCESS_INFORMATION>
Allocates native memory and copies the contents of this struct into it.
toString() → String
A string representation of this object.
inherited

Operators

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