DirectX SDK

DirectPlayLobby3.GetModemCount

The DirectPlayLobby3.GetModemCount method retrieves the number of modems available on the player's system.

object.GetModemCount() As Long

Parameters

object
Object expression that resolves to a DirectPlayLobby3 object.

Return Values

If the method succeeds, it returns the number of available modems whose names can be retrieved by using the DirectPlayLobby3.GetModemName method.

Error Codes

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