Prev Next

SERVICE_INFO_2 info  Overview  Group

The SERVICE_INFO_2 structure describes the attributes of LAN Manager services.

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.

See Also

NetServiceEnum, NetServiceGetInfo, NetServiceInstall