IMessengerApp::LaunchAddContactUI method

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

Launches the Contact wizard for adding a contact.

Note

The LaunchAddContactUI method is available for use in Windows Messenger 4.7. It might be altered or unavailable in subsequent versions of Windows Messenger. You should use AddContact instead.

Syntax

HRESULT LaunchAddContactUI(
  [in] BSTR bstrEMail
);

Parameters

bstrEMail [in]

Type: BSTR

BSTR that specifies the contact to add.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

End of client support
Windows XP
End of server support
Windows Server 2003
Header
Mdisp.h
IDL
Mdisp.idl
DLL
Msmsgs.exe