Share via


MediaRendererDevice (Windows Embedded CE 6.0)

1/6/2010

This utility class is used by UPnP AV control points to retrieve an IConnectionManager reference.

Syntax

            class MediaRendererDevice

Methods

The following table shows the methods for this class.

Method Description

MediaRendererDevice Constructor

Creates a MediaRendererDevice instance using the specified generic UPnP device reference.

MediaRendererDevice::GetConnectionManager

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

Remarks

The IConnectionManager implementation returned by MediaRendererDevice::GetConnectionManager is a proxy that communicates using UPnP with the MediaRenderer device. That is, when you call methods on this IConnectionManager instance, the proxy translates the calls to UPnP action invocations and returns the resulting data.

You can use the returned IConnectionManager to retrieve proxy IAVTransport and IRenderingControl references, using IConnectionManager::PrepareForConnection.

For example control point code that uses this class, see the AV control point sample, explained in more detail in Windows Embedded CE topic UPnP AV Control Point Sample.

For more information about the MediaRenderer device, see the MediaRenderer DCP referenced in UPnP AV DCP Documentation.

Requirements

Header av_upnp.h
Library Av_upnp.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

UPnP AV Control Point Utility Classes
IAVTransport
IConnectionManager
IConnectionManager::PrepareForConnection
IRenderingControl
MediaRendererDevice::GetConnectionManager