QUERY_SERVICE_CONFIG class base struct

Contains configuration information for an installed service.

It is used by the QueryServiceConfig function.

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

Inheritance
Implemented types
Available extensions

Constructors

QUERY_SERVICE_CONFIG()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
dwErrorControl SERVICE_ERROR
getter/setter pair
dwServiceType ENUM_SERVICE_TYPE
getter/setter pair
dwStartType SERVICE_START_TYPE
getter/setter pair
dwTagId int
A unique tag value for this service in the group specified by the lpLoadOrderGroup parameter.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lpBinaryPathName PWSTR
The fully qualified path to the service binary file.
getter/setter pair
lpDependencies PWSTR
A pointer to an array of null-separated names of services or load ordering groups that must start before this service.
getter/setter pair
lpDisplayName PWSTR
The display name to be used by service control programs to identify the service.
getter/setter pair
lpLoadOrderGroup PWSTR
The name of the load ordering group to which this service belongs.
getter/setter pair
lpServiceStartName PWSTR
If the service type is SERVICE_WIN32_OWN_PROCESS or SERVICE_WIN32_SHARE_PROCESS, this member is the name of the account that the service process will be logged on as when it runs.
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<QUERY_SERVICE_CONFIG>
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