SERVICE_INFO_2

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;
 

Members

svci2_name
A Unicode string containing the name of the network service to monitor.
svci2_status
Specifies the status of the connection.
svci2_code
The return code returned if the designated service fails to install properly.
svci2_pid
Specifies the service process identification.
svci2_text
Specifies text describing the service.
svci2_specific_error
Specifies the error returned if the designated service fails to install properly or if an error occurs during service.
svci2_display_name
Specifies the name of the display type for the net service.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in lmsvc.h.

See Also

Networking (Net) Overview, Net Structures, NetServiceEnum, NetServiceGetInfo, NetServiceInstall