ResultCode Enumeration (Microsoft.DirectX.DirectPlay)

Warning: This enum is deprecated. Deprecated components of Microsoft DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.

Result codes that can be returned via events. Deprecated.


Visual Basic Public Enum ResultCode
C# public enum ResultCode
C++ public enum class ResultCode
JScript public enum ResultCode


Member Value Description
ConnectionLost -2146074272
UserCancel -2146073008
TimedOut -2146073040
SessionFull -2146073072
PlayerNotReachable -2146073200
PlayerNotInGroup -2146073216
PlayerLost -2146073232
PlayerAlreadyInGroup -2146073248
NotReady -2146073280
NotHost -2146073296
NotAllowed -2146073312
NoResponse -2146073328
NoHostPlayer -2146073456
NoConnection -2146073472
HostTerminatedSession -2146074000
HostRejectedConnection -2146074016
DoesNotExist -2146074240
CannotCreatePlayer -2146074320
CannotCreateGroup -2146074336
CannotCancel -2146074352
Aborted -2146074576
Success 0

Enumeration Information

Namespace Microsoft.DirectX.DirectPlay
Assembly Microsoft.DirectX.DirectPlay (microsoft.directx.directplay.dll)
Strong Name Microsoft.DirectX.DirectPlay,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492