ISMQueryServerInfo

DWORD ISMQueryServerInfo(
LPCTSTR lpstrServerName,
ISMSERVERINFO *psi
);

Parameters

lpstrServerName

A double null-terminated list of servers.

ps

A pointer to a ISMSERVERINFO structure.

Return Values

The return value is a WIN32 error code.

Remarks

This function is called to provide information about the service in respect to a specific server, which may or may not be running the service. The calling program calls this function to determine if the specified host is running the service and, if so, the function then fills in the ISMSERVERINFO structure with the computer name, the comment, and the current state of the service. If the service is not running on the specified computer, this is reflected in the error return code. As with all ISM API calls, it is the responsibility of the calling program to fill in the dwSize member of the ISMSERVERINFO structure prior to calling the function, and it is the responsibility of the configuration DLL to provide version control based on this size element.