| Microsoft DirectX 8.1 (Visual Basic) |
Sets the capabilities for the specified service provider.
SetSPCaps(guidSP As String, spCaps As DPN_SP_CAPS)
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 DirectPlay8Peer.RegisterMessageHandler must be made before this method can be called.