SERVICE_SHARED_DIRECTORY_TYPE enumeration (winsvc.h)

Specifies the type of a per-service shared state directory.

Syntax

typedef enum SERVICE_SHARED_DIRECTORY_TYPE {
  ServiceSharedDirectoryPersistentState = 0
} ;

Constants

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

Remarks

All per-service state directory types have a lifetime that is scoped to the lifetime of the service installation. Once the service is removed by calling DeleteService the state directories are 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

GetSharedServiceDirectory