[DHCPCSVC] Implement DhcpAcquireParameters and DhcpReleaseParameters

TODO: The AdapterName parameter should be a unicode string. Fix this later.
This commit is contained in:
Eric Kohl 2025-04-21 14:45:51 +02:00
parent f135cab83e
commit 4514e748f0
8 changed files with 198 additions and 15 deletions

View file

@ -5,6 +5,16 @@
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,
@ -23,11 +33,6 @@ DhcpNotifyConfigChange(LPWSTR ServerName,
DWORD IpAddress,
DWORD SubnetMask,
int DhcpAction);
DWORD APIENTRY DhcpRosGetAdapterInfo( DWORD AdapterIndex,
PBOOL DhcpEnabled,
PDWORD DhcpServer,
time_t *LeaseObtained,
time_t *LeaseExpires );
#ifdef __cplusplus
}