How To Correctly Use Callout RRAS APIs in DLLs (198730)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • Microsoft Windows NT Server 4.0
    • Microsoft Windows NT Workstation 4.0
    • the operating system: Microsoft Windows 2000

This article was previously published under Q198730

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.

REFERENCES

A skeleton sample that demonstrates the Callout APIs is available in the Platform SDK in the \Samples\NetDS\RRAS\callout folder.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbDSWNET2003Swept kbAPI kbhowto kbnetwork KB198730