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