SERVICE_SHARED_REGISTRY_STATE_TYPE enumeration (winsvc.h)

Specifies a state type for a shared service registry key.

Syntax

typedef enum SERVICE_SHARED_REGISTRY_STATE_TYPE {
  ServiceSharedRegistryPersistentState = 0
} ;

Constants

 
ServiceSharedRegistryPersistentState
Value: 0
Mutable, persistent service state. This state is readable and writeable by the service and by local administrators. This state persists across reboots and OS updates.

Remarks

All per-service registry state types have a lifetime that is scoped to the lifetime of the service installation. Once the service is removed by calling DeleteService the registry state is deleted too.

Requirements

Requirement Value
Minimum supported client Windows 10, version 20H2 (10.0; Build 19042)
Minimum supported server Windows Server, version 20H2 (10.0; Build 19042)
Header winsvc.h

See also

GetSharedServiceRegistryStateKey