set-service-error-condition-afsd-20031207
authorJeffrey Altman <jaltman@grand.central.org>
Mon, 8 Dec 2003 04:01:20 +0000 (04:01 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 8 Dec 2003 04:01:20 +0000 (04:01 +0000)
commit705241efee4119b0f5c089771e5384a8a0dc9d66
tree96c2f8375be0dcf2f56e6e29791ce36ce05c3dbe
parent8bdaee9e18359b3fb62ac19f26ee9a01fdb2195e
set-service-error-condition-afsd-20031207

TICKET 2619

If the service crashes unexpectedly (eg, when the network adapter list
changes) we should return an error code so that system policy can be
used to determine if the service should be automatically restarted.
When there is an error GlobalStatus gets set to a non-zero value.
If GlobalStatus is set, we will return ERROR_EXCEPTION_IN_SERVICE
to the Service Manager.
src/WINNT/afsd/afsd_service.c