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 Microsoft Platform SDK.
Requirements
| Client | Requires Windows Vista, Windows XP, or Windows 2000. |
| Server | Requires Windows Server 2008, Windows Server 2003, or Windows 2000 Server. |
|---|
| Header | Declared in 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: 9/4/2008