Partager via


2.2.12 ENUM_SERVICE_STATUS_PROCESSA

The ENUM_SERVICE_STATUS_PROCESSA structure contains information used by the REnumServicesStatusExA 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 ANSI.

 typedef struct _ENUM_SERVICE_STATUS_PROCESSA {
   LPSTR lpServiceName;
   LPSTR lpDisplayName;
   SERVICE_STATUS_PROCESS ServiceStatusProcess;
 } ENUM_SERVICE_STATUS_PROCESSA,
  *LPENUM_SERVICE_STATUS_PROCESSA;

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.