Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Client.GetServerAddress

Retrieves the address for the server for the session.

GetServerAddress([lFlags As Long]) As DirectPlay8Address

Parts

lFlags
Reserved. Must be 0.

Return Values

Returns a DirectPlay8Address object specifying the address of the server.

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