Skip to content

Latest commit

 

History

History
88 lines (70 loc) · 4.22 KB

ns-winsvc-enum_service_status_processw.md

File metadata and controls

88 lines (70 loc) · 4.22 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:winsvc._ENUM_SERVICE_STATUS_PROCESSW
ENUM_SERVICE_STATUS_PROCESSW (winsvc.h)
Contains the name of a service in a service control manager database and information about the service. It is used by the EnumServicesStatusEx function. (Unicode)
*LPENUM_SERVICE_STATUS_PROCESSW
ENUM_SERVICE_STATUS_PROCESS
ENUM_SERVICE_STATUS_PROCESS structure
ENUM_SERVICE_STATUS_PROCESSA
ENUM_SERVICE_STATUS_PROCESSW
LPENUM_SERVICE_STATUS_PROCESS
LPENUM_SERVICE_STATUS_PROCESS structure pointer
_win32_enum_service_status_process_str
base.enum_service_status_process_str
winsvc/ENUM_SERVICE_STATUS_PROCESS
winsvc/ENUM_SERVICE_STATUS_PROCESSA
winsvc/ENUM_SERVICE_STATUS_PROCESSW
winsvc/LPENUM_SERVICE_STATUS_PROCESS
base\enum_service_status_process_str.htm
security
6a683cc8-c2ac-4093-aed7-33e6bdd02d79
12/05/2018
*LPENUM_SERVICE_STATUS_PROCESSW, ENUM_SERVICE_STATUS_PROCESS, ENUM_SERVICE_STATUS_PROCESS structure, ENUM_SERVICE_STATUS_PROCESSA, ENUM_SERVICE_STATUS_PROCESSW, LPENUM_SERVICE_STATUS_PROCESS, LPENUM_SERVICE_STATUS_PROCESS structure pointer, _win32_enum_service_status_process_str, base.enum_service_status_process_str, winsvc/ENUM_SERVICE_STATUS_PROCESS, winsvc/ENUM_SERVICE_STATUS_PROCESSA, winsvc/ENUM_SERVICE_STATUS_PROCESSW, winsvc/LPENUM_SERVICE_STATUS_PROCESS
winsvc.h
Windows.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
ENUM_SERVICE_STATUS_PROCESSW (Unicode) and ENUM_SERVICE_STATUS_PROCESSA (ANSI)
Windows
ENUM_SERVICE_STATUS_PROCESSW, *LPENUM_SERVICE_STATUS_PROCESSW
19H1
_ENUM_SERVICE_STATUS_PROCESSW
winsvc/_ENUM_SERVICE_STATUS_PROCESSW
LPENUM_SERVICE_STATUS_PROCESSW
winsvc/LPENUM_SERVICE_STATUS_PROCESSW
ENUM_SERVICE_STATUS_PROCESSW
winsvc/ENUM_SERVICE_STATUS_PROCESSW
c++
APIRef
kbSyntax
HeaderDef
Winsvc.h
ENUM_SERVICE_STATUS_PROCESS
ENUM_SERVICE_STATUS_PROCESSA
ENUM_SERVICE_STATUS_PROCESSW

ENUM_SERVICE_STATUS_PROCESSW structure

-description

Contains the name of a service in a service control manager database and information about the service. It is used by the EnumServicesStatusEx function.

-struct-fields

-field lpServiceName

The name of a service in the service control manager database. The maximum string length is 256 characters. The service control manager database preserves the case of the characters, but service name comparisons are always case insensitive. A slash (/), backslash (\), comma, and space are invalid service name characters.

-field lpDisplayName

A display name that can be used by service control programs, such as Services in Control Panel, to identify the service. This string has a maximum length of 256 characters. The case is preserved in the service control manager. Display name comparisons are always case-insensitive.

-field ServiceStatusProcess

A SERVICE_STATUS_PROCESS structure that contains status information for the lpServiceName service.

-see-also

EnumServicesStatusEx

SERVICE_STATUS_PROCESS

-remarks

Note

The winsvc.h header defines ENUM_SERVICE_STATUS_PROCESS as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.