Share via


PHONEMAKECALLINFO

4/8/2010

This structure contains the information required to make a phone call.

typedef struct tagPHONEMAKECALLINFO{
  DWORD cbSize;
  DWORD dwFlags;
  PCWSTR pszDestAddress;
  PCWSTR pszAppName;
  PCWSTR pszCalledParty;
  PCWSTR pszComment;
} PHONEMAKECALLINFO, * PHONEMAKECALLINFO;

Members

Term Definition

cbSize

The size of the PHONEMAKECALLINFO structure.

dwFlags

This member can contain the following values.

Value Meaning
PMCF_DEFAULT The user will not be prompted to confirm the phone call before the call is placed.
PMCF_PROMPTBEFORECALLING The user will be prompted to confirm the phone call before the call is placed.

pszDestAddress

A pointer to the phone number to be dialed. Validity of the specified address is not checked by this operation. The maximum length of the address is TAPIMAXDESTADDRESSSIZE characters, which includes the NULL terminator.

pszAppName

This parameter is reserved for future use; the value of this parameter must be set to NULL.

pszCalledParty

A pointer to the name of the party to be called. This pointer can be left NULL if the application does not wish to supply this information. The maximum length of the string is TAPIMAXCALLEDPARTYSIZE characters, which includes the NULL terminator. Longer strings are truncated.

pszComment

This parameter is reserved for future use; the value of this parameter must be set to NULL.

Remarks

This structure uses the same fields as the tapiRequestMakeCall function within the Assisted Telephony API (TAPI).

To use the extended

Requirements

Header phone.h
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also

Reference

PhoneMakeCall
tapiRequestMakeCall
Phone Structures