ISMSERVERINFO

//

// Standard Server information structure.

//

typedef struct tagISMSERVERINFO

    DWORD dwSize;                                  // Structure size

    TCHAR atchServerName[ MAX_SERVERNAME_LEN + 1]; // Server name

    TCHAR atchComment[ MAX_COMMENT_LEN + 1 ];      // Server Comment

    int   nState;                                  // Service State

} ISMSERVERINFO, *PISMSERVERINFO;

 

The ISMSERVERINFO structure returns information about a specific computer. The nState member can specify INetServiceStarted, INetServiceStopped, INetServicePaused, or INetServiceUnknown. This last value should be used by all services that do not support controllable services.