[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
)
  Windows NT:  Use version 5.0 and later.
  Windows:  Unsupported.
  Windows CE:  Unsupported.
  Header: Declared in mprapi.h.
  Import Library: Link with  mprapi.lib.