[NETCFGX][REACTOS] Add a second unknown method to the ITcpipProperties interface

This method is called by the 'interface ip set address' command from WinXP ifmon.dll.
This commit is contained in:
Eric Kohl
2026-06-07 10:19:56 +02:00
parent c59ce34030
commit e2d6e875f9
2 changed files with 25 additions and 0 deletions
+23
View File
@@ -4635,12 +4635,35 @@ done:
return hr;
}
HRESULT
WINAPI
ITcpipProperties_fnUnknown2(
ITcpipProperties *iface,
GUID *pAdapterName,
PTCPIP_PROPERTIES pProperties)
{
HRESULT hr = S_OK;
ERR("ITcpipProperties_fnUnknown2(%s %p)\n", wine_dbgstr_guid(pAdapterName), pProperties);
if (pProperties)
{
ERR("pProperties->dwDhcp %lu\n", pProperties->dwDhcp);
ERR("pProperties->pszIpAddress %S\n", pProperties->pszIpAddress);
ERR("pProperties->pszSubnetMask %S\n", pProperties->pszSubnetMask);
ERR("pProperties->pszParameters %S\n", pProperties->pszParameters);
}
return hr;
}
static const ITcpipPropertiesVtbl vt_TcpipProperties =
{
ITcpipProperties_fnQueryInterface,
ITcpipProperties_fnAddRef,
ITcpipProperties_fnRelease,
ITcpipProperties_fnUnknown1,
ITcpipProperties_fnUnknown2,
};
HRESULT