This reduces the time of, e. g, GetUdpStatisticsEx() here from ~10ms to ~0.5ms (because that very costly pid resolution ends being unnecessary used even in udp_num_addrs().
Should in theory help https://bugs.winehq.org/show_bug.cgi?id=51704 (assuming the attribution solely to GetUdpStatisticsEx() function is correct), but I didn't check that with the game.