SERVICE_TRIGGER_INFO class base struct

Contains trigger event information for a service.

This structure is used by the ChangeServiceConfig2 and QueryServiceConfig2 functions.

To learn more, see learn.microsoft.com/windows/win32/api/winsvc/ns-winsvc-service_trigger_info.

Inheritance
Implemented types
Available extensions

Constructors

SERVICE_TRIGGER_INFO()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
cTriggers int
The number of triggers in the array of SERVICE_TRIGGER structures pointed to by the pTriggers member.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pTriggers Pointer<SERVICE_TRIGGER>
A pointer to an array of SERVICE_TRIGGER structures that specify the trigger events for the service.
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<SERVICE_TRIGGER_INFO>
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