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

Syntax

DWORD MprAdminInitializeDll();

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header mprapi.h

See also

MprAdminTerminateDll

RAS Administration DLL

RAS Administration Functions

Remote Access Service Administration Reference