SC_EVENT_TYPE enumeration

Indicates a type of service status change for monitoring and reporting.

Syntax

typedef enum _SC_EVENT_TYPE { 
  SC_EVENT_DATABASE_CHANGE  = 0,
  SC_EVENT_PROPERTY_CHANGE  = 1,
  SC_EVENT_STATUS_CHANGE    = 2
} SC_EVENT_TYPE, *PSC_EVENT_TYPE;

Constants

SC_EVENT_DATABASE_CHANGE

A service has been added or deleted. The hService parameter of the SubscribeServiceChangeNotifications function must be a handle to the SCM.

SC_EVENT_PROPERTY_CHANGE

One or more of service properties have been updated. The hService parameter of the SubscribeServiceChangeNotifications function must be a handle to the service.

SC_EVENT_STATUS_CHANGE

The status of a service has changed. The hService parameter of the SubscribeServiceChangeNotifications function must be a handle to the service.

Requirements

Requirement Value
Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Header
Winsvcp.h