Specifies which phone number of a given contact is used.

Syntax

typedef enum{
   MPHONE_TYPE_ALL = -1,
   MPHONE_TYPE_HOME = 0,
   MPHONE_TYPE_WORK = 1,
   MPHONE_TYPE_MOBILE = 2,
   MPHONE_TYPE_CUSTOM = 3
} MPHONE_TYPE;

Members

MPHONE_TYPE_ALL

Valid with the IMessenger::Phone method only.

MPHONE_TYPE_HOME

Use a home phone number.

MPHONE_TYPE_WORK

Use a work phone number.

MPHONE_TYPE_MOBILE

Use a mobile phone number.

MPHONE_TYPE_CUSTOM

Valid with the IMessenger::Phone method only. Specifies that the contact information should be ignored and that the phone number specified in the method call should be used.

Remarks

Requirements

Client

Requires Microsoft DirectX 9.0, C Runtime libraries (msvcm80.dll) on Microsoft Windows© Vista, Microsoft Windows XP Service Pack 1 (SP1) or later, or Microsoft Windows 2000 with Service Pack 4 (SP4). Any Communicator-imposed restrictions apply. .

Server

Requires Microsoft Office Communications Server 2007, AV MCU (for Media Support), Media Relay (for NAT/Firewall traversal) on Microsoft Office Communications Server 2007.

Product

Microsoft Office Communicator 2007 Automation API

IDL file

Msgrua.idl

See Also

Reference

Enums