Microsoft KB Archive/198730

{|
 * width="100%"|

HOWTO: Correctly Use Callout RRAS APIs in DLLs

 * }

Q198730

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), on platform(s):
 * Microsoft Windows NT Server version 4.0
 * Microsoft Windows NT Workstation version 4.0
 * the operating system: Microsoft Windows 2000

-

SUMMARY
This article demonstrates how to use the following RRAS APIs, called "Callout APIs," in custom DLLs:


 * MprAdminAcceptNewConnection
 * MprAdminConnectionHangupNotification
 * MprAdminAcceptNewLink
 * MprAdminLinkHangupNotification
 * MprAdminGetIpAddressForUser
 * MprAdminReleaseIpAddress

MORE INFORMATION
The custom DLLs must contain at least stubs for all of the APIs listed in the SUMMARY section of this article so that the DLLs are loaded correctly. This is necessary even if you plan to use the functionality of only some of these APIs.

If the custom DLLs do not contain stubs, the following error occurs:

Cannot load the 3rd party administrative DLL component.