[DHCPSVC] Properly stub DhcpRequestParams()

This will avoid crash upon Google Chrome start.

CORE-15422
This commit is contained in:
Pierre Schweitzer 2018-12-06 22:24:47 +01:00
parent cb8429d76a
commit f57b1d02d4
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 16 additions and 1 deletions

View file

@ -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
*

View file

@ -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