ReactOS 0.4.15-dev-8632-gbc8c7d1
|
#include "iphlpapi_private.h"
Go to the source code of this file.
Functions | |
DWORD APIENTRY | DhcpRosGetAdapterInfo (DWORD AdapterIndex, PBOOL DhcpEnabled, PDWORD DhcpServer, time_t *LeaseObtained, time_t *LeaseExpires) |
DWORD | getDhcpInfoForAdapter (DWORD AdapterIndex, PBOOL DhcpEnabled, PDWORD DhcpServer, time_t *LeaseObtained, time_t *LeaseExpires) |
DWORD APIENTRY DhcpRosGetAdapterInfo | ( | DWORD | AdapterIndex, |
PBOOL | DhcpEnabled, | ||
PDWORD | DhcpServer, | ||
time_t * | LeaseObtained, | ||
time_t * | LeaseExpires | ||
) |
Get DHCP info for an adapter
[in] | AdapterIndex | Index of the adapter (iphlpapi-style) for which info is requested |
[out] | DhcpEnabled | Returns whether DHCP is enabled for the adapter |
[out] | DhcpServer | Returns DHCP server IP address (255.255.255.255 if no server reached yet), in network byte order |
[out] | LeaseObtained | Returns time at which the lease was obtained |
[out] | LeaseExpires | Returns time at which the lease will expire |
Definition at line 300 of file dhcpcsvc.c.
Referenced by getDhcpInfoForAdapter().
DWORD getDhcpInfoForAdapter | ( | DWORD | AdapterIndex, |
PBOOL | DhcpEnabled, | ||
PDWORD | DhcpServer, | ||
time_t * | LeaseObtained, | ||
time_t * | LeaseExpires | ||
) |
Definition at line 17 of file dhcp_reactos.c.
Referenced by GetAdaptersInfo().