1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// WARNING: this file is auto-generated by xtask gen and may be overwritten
use *;
/// `%hs`
pub const NOTIFICATION : ErrorCode = from_constant; // ERROR_SERVICE_NOTIFICATION
/// The service did not respond to the start or control request in a timely fashion.
pub const REQUEST_TIMEOUT : ErrorCode = from_constant; // ERROR_SERVICE_REQUEST_TIMEOUT
/// A thread could not be created for the service.
pub const NO_THREAD : ErrorCode = from_constant; // ERROR_SERVICE_NO_THREAD
/// The service database is locked.
pub const DATABASE_LOCKED : ErrorCode = from_constant; // ERROR_SERVICE_DATABASE_LOCKED
/// An instance of the service is already running.
pub const ALREADY_RUNNING : ErrorCode = from_constant; // ERROR_SERVICE_ALREADY_RUNNING
/// The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
pub const DISABLED : ErrorCode = from_constant; // ERROR_SERVICE_DISABLED
/// The specified service does not exist as an installed service.
pub const DOES_NOT_EXIST : ErrorCode = from_constant; // ERROR_SERVICE_DOES_NOT_EXIST
/// The service cannot accept control messages at this time.
pub const CANNOT_ACCEPT_CTRL : ErrorCode = from_constant; // ERROR_SERVICE_CANNOT_ACCEPT_CTRL
/// The service has not been started.
pub const NOT_ACTIVE : ErrorCode = from_constant; // ERROR_SERVICE_NOT_ACTIVE
/// The service has returned a service-specific error code.
pub const SPECIFIC_ERROR : ErrorCode = from_constant; // ERROR_SERVICE_SPECIFIC_ERROR
/// The dependency service or group failed to start.
pub const DEPENDENCY_FAIL : ErrorCode = from_constant; // ERROR_SERVICE_DEPENDENCY_FAIL
/// The service did not start due to a logon failure.
pub const LOGON_FAILED : ErrorCode = from_constant; // ERROR_SERVICE_LOGON_FAILED
/// After starting, the service hung in a start-pending state.
pub const START_HANG : ErrorCode = from_constant; // ERROR_SERVICE_START_HANG
/// The specified service has been marked for deletion.
pub const MARKED_FOR_DELETE : ErrorCode = from_constant; // ERROR_SERVICE_MARKED_FOR_DELETE
/// The specified service already exists.
pub const EXISTS : ErrorCode = from_constant; // ERROR_SERVICE_EXISTS
/// The dependency service does not exist or has been marked for deletion.
pub const DEPENDENCY_DELETED : ErrorCode = from_constant; // ERROR_SERVICE_DEPENDENCY_DELETED
/// No attempts to start the service have been made since the last boot.
pub const NEVER_STARTED : ErrorCode = from_constant; // ERROR_SERVICE_NEVER_STARTED
/// The executable program that this service is configured to run in does not implement the service.
pub const NOT_IN_EXE : ErrorCode = from_constant; // ERROR_SERVICE_NOT_IN_EXE
/// The specified service does not exist.
pub const NOT_FOUND : ErrorCode = from_constant; // ERROR_SERVICE_NOT_FOUND
/// The service notification client is lagging too far behind the current state of services in the machine.
pub const NOTIFY_CLIENT_LAGGING : ErrorCode = from_constant; // ERROR_SERVICE_NOTIFY_CLIENT_LAGGING
/// The package installation failed because a version of the service exists outside of APPX packaging. Please contact your software vendor.
pub const EXISTS_AS_NON_PACKAGED_SERVICE : ErrorCode = from_constant; // ERROR_SERVICE_EXISTS_AS_NON_PACKAGED_SERVICE
pub const IS_PAUSED : ErrorCode = from_constant; // ERROR_SERVICE_IS_PAUSED
/// The WinRM service cannot process the request. The Channel Binding Token Hardening Level (CbtHardeningLevel) value is invalid.
/// The valid values are "None", "Relaxed" and "Strict". Change the CbtHardeningLevel value and try again.
pub const CBT_HARDENING_INVALID : HResultError = from_constant; // ERROR_SERVICE_CBT_HARDENING_INVALID