Skip to content

Latest commit

 

History

History
78 lines (46 loc) · 2.1 KB

sc-event-type.md

File metadata and controls

78 lines (46 loc) · 2.1 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Indicates a type of service status change for monitoring and reporting.
7508526c-02ce-4ac2-8616-491390a4afad
SC_EVENT_TYPE enumeration (Winsvcp.h)
reference
05/31/2018
APIRef
kbSyntax
SC_EVENT_TYPE
HeaderDef
Winsvcp.h

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