Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
4/8/2010
This function dials the specified phone number.
Syntax
LONG PhoneMakeCall( PHONEMAKECALLINFO* ppmci ); |
Parameters
- [in] ppmci
-
Pointer to the PHONEMAKECALLINFOstructure that contains the information related to the call to be placed.
Return Values
Value | Description |
---|---|
Non-zero |
The function was not successful. |
Zero |
The function was successful. |
Remarks
This function must be called in order to initiate a phone call.
When a second call is placed while a phone call is still active, the first call is automatically placed on hold while the second call takes place.
PhoneMakeCall can parse phone numbers in any format, so you are free to use the form (xxx) xxx-xxxx or the form xxxxxxxxxx.
Requirements
Header | phone.h |
Library | phone.lib |
Windows Mobile | Pocket PC 2002 and later, Smartphone 2002 and later |