Rediger

Del via


Function Comparison: Windows 2000 vs. RRAS Redistributable

The RAS API is distributed as a feature of Windows 2000 and later operating systems and is available as a redistributable for Windows NT 4.0 with Service Pack 3 (SP3) and earlier. RAS provides the same functionality in both of these forms but the naming convention that is used is different for the reference elements in each version of the RAS API.

The RAS functions for Windows NT 4.0 with SP3 and earlier typically begin with the "RasAdmin" prefix. The analogous functions for Routing and Remote Access Service (RRAS) begin with the "MprAdmin" prefix. For example, RAS provides a function called RasAdminPortGetInfo. The analogous function in RRAS is called MprAdminPortGetInfo. As a similar example, RAS provides the callback function RasAdminGetIpAddressForUser. RRAS provides a similar callback function called MprAdminGetIpAddressForUser. Exceptions to this rule are RasAdminPortClearStatistics, which under RRAS is MprAdminPortClearStats, and RasAdminFreeBuffer, which under RRAS is MprAdminBufferFree.

The following table lists the Windows NT 4.0 SP3 RAS functions and the corresponding RRAS functions.

Windows NT 4.0 RAS RRAS
RasAdminAcceptNewConnection MprAdminAcceptNewConnection
RasAdminConnectionHangupNotification MprAdminConnectionHangupNotification
RasAdminFreeBuffer MprAdminBufferFree
RasAdminGetErrorString MprAdminGetErrorString
RasAdminGetIpAddressForUser MprAdminGetIpAddressForUser
RasAdminPortClearStatistics MprAdminPortClearStats
RasAdminPortDisconnect MprAdminPortDisconnect
RasAdminPortEnum MprAdminPortEnum
RasAdminPortGetInfo MprAdminPortGetInfo
RasAdminReleaseIpAddress MprAdminReleaseIpAddress
RasAdminUserGetInfo MprAdminUserGetInfo
RasAdminUserSetInfo MprAdminUserSetInfo

 

Although the RRAS functions are similar to their Windows NT 4.0 with SP3 and earlier RAS counterparts in functionality, RRAS functions often take a different set of parameters. See the reference page for a particular function for complete information on that function's parameter list.

The RRAS redistributable for Windows NT 4.0 with SP3 and earlier adds the following functions, which have no RAS counterparts:

MprAdminAcceptNewLink

MprAdminConnectionClearStats

MprAdminConnectionEnum

MprAdminConnectionGetInfo

MprAdminGetPDCServer

MprAdminIsServiceRunning

MprAdminLinkHangupNotification

MprAdminPortReset

MprAdminServerConnect

MprAdminServerDisconnect

In addition to the preceding functions, Windows 2000 and later operating systems add the following functions:

MprAdminSendUserMessage

MprAdminAcceptNewConnection2

MprAdminConnectionHangupNotification2