Platform SDK: DirectX

DirectPlayLobby3.GetModemName

The DirectPlayLobby3.GetModemName method retrieves the name of a modem available on the player's system.

object.GetModemName(index As Long) As String

Parameters

object
Object expression that resolves to a DirectPlayLobby3 object.
index
Index of the modem in the list of available modems. This must be in the range 1 to DirectPlayLobby3.GetModemCount.

Return Values

If the method succeeds, it returns the name of the modem.

Error Codes

If the method fails, an error is raised and Err.Number may be set.

See Also

DirectPlayLobby3.CreateModemAddress