IMessenger::MyPhoneNumber Property
Deprecated. Retrieves the stored phone number of the local client user.
Syntax
HRESULT IMessenger::get_MyPhoneNumber(MPHONE_TYPE PhoneType, BSTR *pbstrNumber);
Parameters
- PhoneType
A value of the enumeration.- pbstrNumber
A string (not a numeric data type) that contains the requested phone number. This number may contain punctuation, depending on how the data was collected.
Return Value
Returns one of the following values:
S_OK Success. RPC_X_NULL_REF_POINTER pbstrNumber is a NULL pointer. MSGR_E_NOT_LOGGED_ON Client was not signed in to the primary service at the time this method was called. E_FAIL The requested phone number does not exist. pbstrNumber will be a NULL string.
Remarks
Note This property is not available for scripting languages.
Important IMessenger::MyPhoneNumber is no longer available in Windows Vista. See Windows Messenger for more information.
See Also