dplayx: Implemented wide version of EnumConnections
commit0421278838371dd987d6d9b7a4ada1347730f733
authorIsmael Barros <razielmine@gmail.com>
Thu, 17 Jul 2008 16:32:15 +0000 (17 19:32 +0300)
committerIsmael Barros <razielmine@gmail.com>
Mon, 31 Aug 2009 22:03:43 +0000 (1 00:03 +0200)
tree014159c223550f7b662d4ab325ccbef4d144148a
parent5299fb997ea50d8a2d44268cc67509221a8acb68
dplayx: Implemented wide version of EnumConnections

  Now both ANSI and wide versions of EnumConnections call an auxiliar
function with parameter bAnsi=(TRUE|FALSE).
  This approach is used instead of the traditional Wine approach because
in the middle of the function we need to call a callback function with
either ANSI or wide strings.
  The code of the auxiliar function is basically the code of the
previous ANSI version cleaned up, as the previous code implemented
Lobby Providers support with a copy/paste and a few changes.
  This patch fixes connection enumeration in GTA2.

  Changed DP_BuildSPCompoundAddr to be more generic, and renamed
it to DP_BuildCompoundAddr.
dlls/dplayx/dplay.c