The SERVICE_INFO_2 structure describes attributes of the network service.
typedef struct _SERVICE_INFO_2 {
LPWSTR svci2_name;
DWORD svci2_status;
DWORD svci2_code;
DWORD svci2_pid;
LPWSTR svci2_text;
DWORD svci2_specific_error;
LPWSTR svci2_display_name;
} SERVICE_INFO_2, *PSERVICE_INFO_2, * LPSERVICE_INFO_2;
Windows NT: Requires version 3.1 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in lmsvc.h.
Networking (Net) Overview, Net Structures, NetServiceEnum, NetServiceGetInfo, NetServiceInstall