Share via


IVoIPMgr::Reregister (Windows CE 5.0)

Send Feedback

Note   As of Windows CE 5.0, this method is no longer supported and always returns E_NOTIMPL. Instead of using this method, you should use IVoIPMgr2::RegisterWithSIPServer. The remainder of this topic applies only to Windows CE 4.2. For more information about migrating applications that use this method, see Migrating to New Initialization and Provisioning APIs.

This method reregisters the phone. It first unregisters with the SIP server. After this, the method reprovisions by getting a new URI and server from the directory client, through the IVoIPDirectoryClient interface. Finally, the method registers the phone with the new SIP server.

HRESULT Reregister( VoIPMgrParameters*pvmpMgrParams);

Parameters

  • pvmpMgrParams
    [in] Pointer to a VoIPMgrParameters structure that contains the parameters for the SIP server and directory client.

Return Values

The following table shows the possible return values.

Value Description
VOIP_E_BUSY Manager is busy.
VOIP_E_NOMEDIAMGR No media manager is available for use by the VoIP manager.
VOIP_E_NOTINITIALIZED Manager not initialized.
VOIP_E_PROVISIONING_FAILED The method failed to provision the phone during initialization.

Remarks

This method posts its progress by using IVoIPUI::OnSystemEvent.

Requirements

OS Versions: Windows CE .NET 4.2.
Header: Voipmanager.h, Voipmanager.idl.
Link Library: Voipguid.lib.

See Also

VAIL Architecture | VAIL Reference | IVoIPDirectoryClient | IVoIPMgr2::RegisterWithSIPServer | IVoIPUI::OnSystemEvent | VoIPMgrParameters

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.