MprAdminInitializeDllEx function (mprapi.h)
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 and call the callback functions. This serves as a placeholder for the callback functions.
Syntax
DWORD MprAdminInitializeDllEx(
PMPRAPI_ADMIN_DLL_CALLBACKS pAdminCallbacks
);
Parameters
pAdminCallbacks
A pointer to a MPRAPI_ADMIN_DLL_CALLBACKS structure that contains the function pointers of the callbacks being registered.
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | mprapi.h |