MediaRendererDevice::GetConnectionManager (Windows CE 5.0)

Send Feedback

This method returns an IConnectionManager pointer that control point code uses to communicate over the network with MediaRenderer devices.

DWORD GetConnectionManager(  IConnectionManager**  ppConnectionManager,  wstring*              pstrConnectionmanager);

Parameters

  • ppConnectionManager
    Pointer to a pointer to an IConnectionManager implementation that communicates using UPnP with the ConnectionManager service implementation on the specified MediaRenderer device.
  • pstrConnectionmanager
    Pointer to a string that, upon return, contains the UDN and service ID pair that identifies this ConnectionManager instance. You can use this value in the pszPeerConnectionManager parameter of IConnectionManager::PrepareForConnection.

Return Values

The following table shows possible return values.

Value Description
ERROR_AV_POINTER The ppConnectionManager parameter is NULL.
ERROR_AV_UPNP_ACTION_FAILED The internal connection manager proxy implementation could not be initialized.
SUCCESS_AV The internal connection manager proxy implementation was initialized and returned successfully.

Remarks

For more information about UPnP AV control points and devices, see UPnP AV DCP Documentation.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Av_upnp.h.
Link Library: Av_upnp.lib.
C++ Namespace: av_upnp.

See Also

MediaRendererDevice | IConnectionManager | IConnectionManager::PrepareForConnection

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.