Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Client.GetServerInfo

Retrieves the data set for the server set by the call to the DirectPlay8Server.SetServerInfo method.

GetServerInfo([lFlags As Long]) As DPN_PLAYER_INFO

Parts

lFlags
Set this parameter to one of the CONST_DPNINFO flags to indicate whether the method should return the name or the data set.

Return Values

Returns a DPN_PLAYER_INFO type containing the name or the data set for the server.

Error Codes

If the method fails, Err.Number can be set to the following value.

DPNERR_UNINITIALIZED