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