Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Client.SetSPCaps

Sets the capabilities for the specified service provider.

SetSPCaps(guidSP As String, _
    spCaps As DPN_SP_CAPS, _
    [lFlags As Long])

Parts

guidSP
String specifying the GUID of the service provider you want to set information about.
spCaps
DPN_SP_CAPS type to set the information about the specified service provider.
lFlags
Reserved. Must be 0.

Error Codes

If the method fails, Err.Number can be set to one of the following values.

DPNERR_INVALIDOBJECT
DPNERR_INVALIDPOINTER
DPNERR_INVALIDPARAM
DPNERR_UNINITIALIZED

Remarks

A successful call to DirectPlay8Client.RegisterMessageHandler must be made before this method can be called.