Platform SDK: Network Management |
The DhcpCApiInitialize function must be the first function call made by users of DHCP, it prepares the system for all other DHCP function calls. Other DHCP functions should only be called if the DhcpCApiInitialize function executes successfully.
DWORD APIENTRY DhcpCApiInitialize( OUT DWORD *pdwVersion );
Returns ERROR_SUCCESS upon successful completion.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dhcpcsdk.h.
Library: Use Dhcpcsvc.lib.