The MprAdminIsServiceRunning function checks whetherRRAS is running on a specified machine. If not, none of the router administration function calls will succeed.
BOOL MprAdminIsServiceRunning( LPWSTR lpwsServerName // name of machine to query );
The return value is one of the following boolean values.
Value | Meaning |
---|---|
TRUE | The service is running on the specified server. |
FALSE | The service is not running on the specified server. |
Windows NT/2000: Requires Windows 2000. Available as a redistributable for Windows NT 4.0.
Header: Declared in Mprapi.h.
Library: Use Mprapi.lib.
Router Management Reference, Router Administration Functions