From: Pierre Schweitzer Date: Thu, 6 Dec 2018 21:24:47 +0000 (+0100) Subject: [DHCPSVC] Properly stub DhcpRequestParams() X-Git-Tag: 0.4.12-dev~26 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=f57b1d02d4e9f274f517c2eea2133cc202373eb9 [DHCPSVC] Properly stub DhcpRequestParams() This will avoid crash upon Google Chrome start. CORE-15422 --- diff --git a/base/services/dhcpcsvc/dhcpcsvc.c b/base/services/dhcpcsvc/dhcpcsvc.c index bfd3dbf6a56..e1f131c6c50 100644 --- a/base/services/dhcpcsvc/dhcpcsvc.c +++ b/base/services/dhcpcsvc/dhcpcsvc.c @@ -255,6 +255,21 @@ DhcpNotifyConfigChange(LPWSTR ServerName, return 0; } +DWORD APIENTRY +DhcpRequestParams(DWORD Flags, + PVOID Reserved, + LPWSTR AdapterName, + LPDHCPCAPI_CLASSID ClassId, + DHCPCAPI_PARAMS_ARRAY SendParams, + DHCPCAPI_PARAMS_ARRAY RecdParams, + LPBYTE Buffer, + LPDWORD pSize, + LPWSTR RequestIdStr) +{ + UNIMPLEMENTED; + return 0; +} + /*! * Get DHCP info for an adapter * diff --git a/base/services/dhcpcsvc/dhcpcsvc.spec b/base/services/dhcpcsvc/dhcpcsvc.spec index b9f95712bb4..277184ebcda 100644 --- a/base/services/dhcpcsvc/dhcpcsvc.spec +++ b/base/services/dhcpcsvc/dhcpcsvc.spec @@ -32,7 +32,7 @@ @ stdcall DhcpRenewIpAddressLease(long) @ stub DhcpRenewIpAddressLeaseEx @ stub DhcpRequestOptions -@ stub DhcpRequestParams +@ stdcall DhcpRequestParams(long ptr ptr ptr long ptr long ptr ptr ptr ptr) @ stdcall DhcpStaticRefreshParams(long long long) @ stub DhcpUndoRequestParams @ stub McastApiCleanup