2.2.11 ENUM_SERVICE_STATUSW
The ENUM_SERVICE_STATUSW structure defines the name and status of a service in an SCM database and returns information about the service. String values are stored in Unicode.
-
typedef struct _ENUM_SERVICE_STATUSW { LPWSTR lpServiceName; LPWSTR lpDisplayName; SERVICE_STATUS ServiceStatus; } ENUM_SERVICE_STATUSW, *LPENUM_SERVICE_STATUSW;
lpServiceName: A pointer to a null-terminated string that names a service in an SCM database.
-
The forward slash, back slash, comma, and space characters are illegal in service names.
lpDisplayName: A pointer to a null-terminated string that user interface programs use to identify the service.
ServiceStatus: A SERVICE_STATUS (section 2.2.47) structure that contains status information.