Add definitions for session change notifications.
diff --git a/include/winsvc.h b/include/winsvc.h index 44e0528..0b43aaf 100644 --- a/include/winsvc.h +++ b/include/winsvc.h
@@ -52,6 +52,7 @@ #define SERVICE_CONTROL_DEVICEEVENT 0x0000000B #define SERVICE_CONTROL_HARDWAREPROFILECHANGE 0x0000000C #define SERVICE_CONTROL_POWEREVENT 0x0000000D +#define SERVICE_CONTROL_SESSIONCHANGE 0x0000000E /* Service State */ #define SERVICE_STOPPED 0x00000001 @@ -70,6 +71,7 @@ #define SERVICE_ACCEPT_NETBINDCHANGE 0x00000010 #define SERVICE_ACCEPT_HARDWAREPROFILECHANGE 0x00000020 #define SERVICE_ACCEPT_POWEREVENT 0x00000040 +#define SERVICE_ACCEPT_SESSIONCHANGE 0x00000080 /* Service Control Manager Object access types */ #define SC_MANAGER_CONNECT 0x0001