DirectX SDK
DirectPlaySessionData.GetUser2
See
DirectPlaySessionData.GetUser(n)
.