Share via


MediaServerDevice

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This utility class is used by UPnP AV control points to retrieve IConnectionManager and IContentDirectory references.

Syntax

class MediaServerDevice

Methods

The following table shows the methods for this class.

Method Description

MediaServerDevice Constructor

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

MediaServerDevice::GetConnectionManager

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

MediaServerDevice::GetContentDirectory

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

Remarks

The IConnectionManager and IContentDirectory implementations returned by MediaServerDevice::GetConnectionManager and MediaServerDevice::GetContentDirectory are proxies that communicate using UPnP with the MediaServer device. That is, when you call methods on this IConnectionManager or IContentDirectory 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 more information about the MediaServer device, see the MediaServer 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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

UPnP AV Control Point Utility Classes
IAVTransport
IConnectionManager
IConnectionManager::PrepareForConnection
IContentDirectory
IRenderingControl
MediaServerDevice::GetConnectionManager
MediaServerDevice::GetContentDirectory