Platform SDK: DirectX

DirectPlaySessionData.SetFlags

The DirectPlaySessionData.SetFlags method sets the flags for a session.

object.SetFlags(val As CONST_DPSESSIONFLAGS)

Parameters

object
Object expression that resolves to a DirectPlaySessionData object.
val
Flags from the CONST_DPSESSIONFLAGS enumeration describing the session.

Error Codes

If the method fails, an error is raised and Err.Number will be set.