Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Address.AddComponentLong

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

AddComponentLong(sComponent As String, lValue As Long)

Parts

sComponent
String that contains the key for the component.
lValue
Long 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