DMsgrObjectEvents::OnListAddResult event

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

Indicates the result of an attempt to add to the Messenger User object's User List.


The OnListAddResult 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 OnContactListAdd instead.


void OnListAddResult(
  [in] long      hr,
  [in] MLIST     mList,
  [in] IMsgrUser *pUser


hr [in]

Success or error code as a long.

mList [in]

MLIST enumerated type.

pUser [in]

Pointer to an IMsgrUser interface.

Return value

This event does not return a value.


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