| Microsoft DirectX 8.1 (Visual Basic) |
Sets the capabilities for the session.
SetCaps(caps As DPN_CAPS, lFlags As Long)
If the method fails, Err.Number can be set to one of the following values.
| DPNERR_INVALIDOBJECT |
| DPNERR_INVALIDPOINTER |
| DPNERR_INVALIDPARAM |
| DPNERR_UNINITIALIZED |
A successful call to DirectPlay8Server.RegisterMessageHandler must be made before this method can be called.