DirectX SDK
DirectPlaySessionData.SetUser4
See
DirectPlaySessionData.SetUser(n)
.