Partager via


IVoIPMgr2::InitializeEx (Windows CE 5.0)

Send Feedback

This method initializes the VoIP Manager. Initialization includes provisioning of the phone, registration with the SIP server, and creation of data structures like call log databases.

This method must be called before any other IVoIPMgr methods. If this method is not called, all methods related to setting parameters and receiving and making calls will fail with a VOIP_E_NOTINITIALIZED return value.

This method replaces the IVoIPMgr::Initialize method, which is no longer supported.

HRESULT InitializeEx(
  IVoIPUI *piUI);

Parameters

  • piUI
    [in] Pointer to the IVoIPUI implementation that will receive asynchronous callback events from the VoIP Manager.

Return Values

If RTC cannot be loaded or initialized, this method will return an RTC_E_constant.

The following table shows additional possible return values.

Value Description
E_OUTOFMEMORY There was not enough memory to create VoIP data structures.
E_POINTER The piUI pointer is NULL.
S_OK The VoIP manager was initialized correctly.
VOIP_E_ALREADYINITIALIZED The VoIP manager is already initialized.
VOIP_E_BUSY The VoIP manager is waiting for another event, like reregistration, and cannot be initialized yet.
VOIP_E_NOMEDIAMGR The media manager implementation cannot be created.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Voipmanager.h, Voipmanager.idl.
Link Library: Voipguid.lib.

See Also

IVoIPMgr2 | RTC_E_ | IVoIPMgr | IVoIPMgr::Initialize | IVoIPUI

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.