When the Routing and Remote Access Service (RRAS) starts, it calls the
MprAdminInitializeDll function that is exported by the administration DLL. Use this function to perform any required initialization for the DLL.
Syntax
DWORD APIENTRY MprAdminInitializeDll(void);
Parameters
This callback has no parameters.
Return Value
If the function succeeds, the return value is NO_ERROR.
If the function returns any value other than NO_ERROR, RRAS will fail to start.
Remarks
RAS supports multiple Administration DLLs. RAS calls the multiple implementations of MprAdminInitializeDll in the order in which the DLLs are listed in the
registry.
This function can return any of the error codes that are defined in the Winerror.h header file in the Platform Software Development Kit (SDK).
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Header | Mprapi.h |
See Also
- Remote Access Service Administration Reference
- RAS Administration Functions
- RAS Administration DLL
- MprAdminTerminateDll
Send comments about this topic to Microsoft
Build date: 11/19/2009