Share via


IBasicIMOld::LaunchAddContactUI Method

Deprecated. Initiates an Add Contact dialog.

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

Syntax

HRESULT LaunchAddContactUI(      
    BSTR bstrEMail
);

Parameters

  • bstrEMail
    [in] BSTR that specifies the contact to add.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Important  IBasicIMOld::LaunchAddContactUI is no longer available in Windows Vista. See Windows Messenger for more information.