|
ServiceStatusProcess Fields |
The ServiceStatusProcess type exposes the following members.
Fields | Name | Description |
---|
| CheckPoint |
The check-point value that the service increments periodically to report its progress
during a lengthy start, stop, pause, or continue operation. For example, the service should
increment this value as it completes each step of its initialization when it is starting
up. The user interface program that invoked the operation on the service uses this value to
track the progress of the service during a lengthy operation. This value is not valid and
should be zero when the service does not have a start, stop, pause, or continue operation
pending.
|
| ControlsAccepted |
The control codes the service accepts and processes in its handler function
(see Handler and HandlerEx).
|
| CurrentState |
The current state of the service related to .
|
| ProcessId |
The process identifier of the service.
|
| ServiceFlags |
The service flags related to .
|
| ServiceSpecificExitCode |
The service-specific error code that the service returns when an error occurs while the
service is starting or stopping.
|
| ServiceType |
The type of service related to .
|
| WaitHint |
The estimated time required for a pending start, stop, pause, or continue operation, in
milliseconds. Before the specified amount of time has elapsed, the service should make its
next call to the function with either an
incremented value or a change in
. If the amount of time specified by
passes, and has not been
incremented or has not changed, the service control manager
or service control program can assume that an error has occurred and the service should be
stopped. However, if the service shares a process with other services, the service control
manager cannot terminate the service application because it would have to terminate the
other services sharing the process as well.
|
| Win32ExitCode |
The error code that the service uses to report an error that occurs when it is starting or
stopping.
|
TopSee Also