SERVICE_INFO_1

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;

Members

svci1_name

A Unicode string containing the name of the network service to monitor.

svci1_status

Specifies the status of the connection.

svci1_code

The return code returned if the designated service fails to install properly.

svci1_pid

Specifies the service process identification.

See Also

NetServiceEnum, NetServiceGetInfo