2.2.13 ENUM_SERVICE_STATUS_PROCESSW

The ENUM_SERVICE_STATUS_PROCESSW structure contains information used by the REnumServicesStatusExW method to return the name of a service in an SCM database. The structure also returns information about the service. String values are stored in Unicode.

 typedef struct _ENUM_SERVICE_STATUS_PROCESSW {
   LPWSTR lpServiceName;
   LPWSTR lpDisplayName;
   SERVICE_STATUS_PROCESS ServiceStatusProcess;
 } ENUM_SERVICE_STATUS_PROCESSW,
  *LPENUM_SERVICE_STATUS_PROCESSW;

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 contains the display name of the service.

ServiceStatusProcess: A SERVICE_STATUS_PROCESS (section 2.2.49) structure that contains status information for the lpServiceName service.