reactos/sdk/include/psdk/dhcpcapi.h
Eric Kohl 4514e748f0 [DHCPCSVC] Implement DhcpAcquireParameters and DhcpReleaseParameters
TODO: The AdapterName parameter should be a unicode string. Fix this later.
2025-04-21 14:45:51 +02:00

41 lines
1.1 KiB
C

#ifndef _DHCPCAPI_H
#define _DHCPCAPI_H
#ifdef __cplusplus
extern "C" {
#endif
DWORD
APIENTRY
DhcpAcquireParameters(
_In_ PSTR AdapterName);
DWORD
APIENTRY
DhcpReleaseParameters(
_In_ PSTR AdapterName);
DWORD APIENTRY DhcpLeaseIpAddress( DWORD AdapterIndex );
DWORD APIENTRY DhcpQueryHWInfo( DWORD AdapterIndex,
PDWORD MediaType,
PDWORD Mtu,
PDWORD Speed );
DWORD APIENTRY DhcpReleaseIpAddressLease( DWORD AdapterIndex );
DWORD APIENTRY DhcpRenewIpAddressLease( DWORD AdapterIndex );
DWORD APIENTRY DhcpStaticRefreshParams( DWORD AdapterIndex,
DWORD Address,
DWORD Netmask );
DWORD APIENTRY
DhcpNotifyConfigChange(LPWSTR ServerName,
LPWSTR AdapterName,
BOOL NewIpAddress,
DWORD IpIndex,
DWORD IpAddress,
DWORD SubnetMask,
int DhcpAction);
#ifdef __cplusplus
}
#endif
#endif/*_DHCPCAPI_H*/