MprAdminIsServiceRunning

[This is preliminary documentation and subject to change.]

The MprAdminIsServiceRunning function checks if the Routing and Remote Access Service is running on a specified machine. If not, none of the MprAdminXXX calls will succeed.

BOOL MprAdminIsServiceRunning(
  LPWSTR lpwsServerName    // name of machine to query
)

Parameters

lpwsServerName
Pointer to a Unicode string containing the name of the server to query.

Return Values

TRUE
The service is running on the specified server.
FALSE
The service is not running on the specified server.

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in mprapi.h.
  Import Library: Link with mprapi.lib.