The SERVICE_INFO_1 structure contains name, status, service code, and identifcation number of a network service.
typedef struct _SERVICE_INFO_1 {
LPWSTR svci1_name;
DWORD svci1_status;
DWORD svci1_code;
DWORD svci1_pid;
} SERVICE_INFO_1, *PSERVICE_INFO_1, * LPSERVICE_INFO_1;
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