Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Address.AddComponentString

Adds a component of type String to the address. If the component is part of the address, then it is replaced by the new value in this call.

AddComponentString(sComponent As String, sValue As String)

Parts

sComponent
String that contains the key for the component.
sValue
String value to be added to the component.

Error Codes

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

DPNERR_INVALIDPARAM
DPNERR_NOTALLOWED