Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DHCP Server API is a collection of functions that can be implemented by a third-party DLL. The first function in a third-party DLL that must be implemented is the following:
Developers of a third-party DLL designed to take advantage of the DHCP Server API use the DhcpServerCalloutEntry function to register for notification of certain events. This is achieved through filling out a structure with pointers to corresponding functions implemented in their third-party DLL. The structure that is passed to Microsoft DHCP Server as part of the DhcpServerCalloutEntry function is the following:
Third-party DLLs register notification requests by filling corresponding members of DHCP_CALLOUT_TABLE with entry points to corresponding functions implemented in their third-party DLL. If a third-party DLL does not require notification for a given event, that member of DHCP_CALLOUT_TABLE can be set to NULL, and the corresponding DHCP Server API function need not be implemented.
The list of DHCP Server API functions that can be implemented by a third-party DLL, and therefore, the events in Microsoft DHCP Server that can trigger an event notification and corresponding function call, are the following:
- DhcpAddressDelHook
- DhcpAddressOfferHook
- DhcpControlHook
- DhcpDeleteClientHook
- DhcpHandleOptionsHook
- DhcpNewPktHook
- DhcpPktDropHook
- DhcpPktSendHook