Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MprAdminInitializeDll callback function

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.


DWORD APIENTRY MprAdminInitializeDll(void);


This callback function 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.


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).


Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]



See also

Remote Access Service Administration Reference
RAS Administration Functions
RAS Administration DLL



Community Additions

© 2015 Microsoft