Share via


MPHONE_TYPE enumeration

[MPHONE_TYPE is no longer available for use as of Windows Vista. See Windows Messenger for more information.]

Do not use. Specifies which phone number of a given contact is used.

Syntax

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

Constants

MPHONE_TYPE_ALL

Valid with Phone method only.

MPHONE_TYPE_HOME

Use home phone number.

MPHONE_TYPE_WORK

Use work phone number.

MPHONE_TYPE_MOBILE

Use mobile phone number.

MPHONE_TYPE_CUSTOM

Valid with 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

This constant is used as an index for APIs that get or set phone number information stored in the properties of a contact or current client user.

Requirements

End of client support
Windows XP
End of server support
Windows Server 2003
Header
Msgrua.h
IDL
Msgrua.idl