MakeCall Method

Navigation:  Reference Guide > Modem >

MakeCall Method

Previous pageReturn to chapter overviewNext page

Makes a phone call for for a modem communication channel.

MakeCall(short ChannelID, BSTR PhoneNumber, VARIANT_BOOL *Result);

Parameters

ChannelID

    A channel ID (0-7) used to identify a communication channel.

PhoneNumber

    A pointer to a null-terminated string containing the remote side phone number to dial in.

Result

    If the method succeeds, the value of variable pointed to by Result is VARIANT_TRUE, otherwise the value is VARIANT_FALSE.

 

Remarks

Use SetPortParam method to define a relationship between a modem index and a communication channel ID (0-7).

 

See Also

SetPortParam Method   |   GetModemCount Method