[][src]Module windows_service::service

Structs

Service

A struct that represents a system service.

ServiceAccess

Flags describing the access permissions when working with services

ServiceAction

Represents an action that the service control manager can perform.

ServiceConfig

A struct that describes the service.

ServiceControlAccept

Flags describing accepted types of service control events.

ServiceFailureActions

A struct that describes the action that should be performed on the system service crash.

ServiceInfo

A struct that describes the service.

ServiceStatus

Service status.

ServiceType

Enum describing the types of Windows services.

SessionChangeParam

Struct describing the SessionChange event

SessionNotification

Struct converted from winuser::WTSSESSION_NOTIFICATION

Enums

AwayModeState

Enum indicates the current away mode state as the Data member of GUID_SYSTEM_AWAYMODE notification

BatterySaverState

Enum indicates the battery saver state as the Data member of GUID_POWER_SAVING_STATUS notification

DisplayState

Enum indicates the current monitor's display state as the Data member of GUID_CONSOLE_DISPLAY_STATE notification

HardwareProfileChangeParam

Enum describing the event type of HardwareProfileChange

MonitorState

Enum indicates the current monitor state as the Data member of GUID_MONITOR_POWER_ON notification

ParseRawError
PowerBroadcastSetting

Struct converted from winuser::POWERBROADCAST_SETTING

PowerEventParam

Enum describing the PowerEvent event

PowerSchemePersonality

Enum indicates the power scheme personality as the Data member of GUID_POWERSCHEME_PERSONALITY notification

PowerSource

Enum indicates the current power source as the Data member of GUID_ACDC_POWER_SOURCE notification

ServiceActionType

Enum describing the types of actions that the service control manager can perform.

ServiceControl

Enum describing the service control operations.

ServiceDependency

Service dependency descriptor

ServiceErrorControl

Error handling strategy for service failures.

ServiceExitCode

Service exit code abstraction.

ServiceFailureResetPeriod

A enum that representats the reset period for the failure counter.

ServiceSidType

This controls how the service SID is added to the service process token. https://docs.microsoft.com/en-us/windows/win32/api/winsvc/ns-winsvc-service_sid_info

ServiceStartType

Enum describing the start options for windows services.

ServiceState

Service state returned as a part of ServiceStatus.

SessionChangeReason

Enum describing the reason of a SessionChange event

UserStatus

Enum indicates the combined status of user presence across all local and remote sessions on the system as the Data member of GUID_GLOBAL_USER_PRESENCE notification