Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Address.GetComponentString

Retrieves one of the integer components in the address URL string.

GetComponentString(sComponent As String) As String

Parts

sComponent
Name of the component to retrieve.

Return Values

Returns the requested string.

Error Codes

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

DPNERR_DOESNOTEXIST
DPNERR_INVALIDPARAM
DPNERR_BUFFERTOOSMALL

Remarks

For a discussion of the URL string, see DirectPlay Addressing.