DMsgrObjectEvents::OnUserFriendlyNameChangeResult event

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

Indicates that a user in the User List has changed his or her friendly name.


The OnUserFriendlyNameChangeResult event is available for use in Windows Messenger 4.7. It might be altered or unavailable in subsequent versions of Windows Messenger. You should use OnContactFriendlyNameChange instead.


void OnUserFriendlyNameChangeResult(
  [in] long      hr,
  [in] IMsgrUser *pUser,
  [in] BSTR      bstrPrevFriendlyName


hr [in]

Success or error code as a long.

pUser [in]

Pointer to an IMsgrUser interface.

bstrPrevFriendlyName [in]

BSTR that contains the user's previous friendly name.

Return value

This event does not return a value.


End of client support
Windows XP
End of server support
Windows Server 2003