Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This utility class is used by UPnP AV control points to retrieve IConnectionManagerand IContentDirectoryreferences.
Syntax
class MediaServerDevice |
Methods
The following table shows the methods for this class.
Method | Description |
---|---|
Creates a MediaServerDeviceinstance using the specified generic UPnP device reference. |
|
Returns an IConnectionManagerpointer that control point code uses to communicate over the network with MediaServer devices. |
|
Returns an IContentDirectorypointer that control point code uses to communicate over the network with MediaServer devices. |
Remarks
The IConnectionManagerand IContentDirectoryimplementations returned by MediaServerDevice::GetConnectionManagerand MediaServerDevice::GetContentDirectoryare proxies that communicate using UPnP with the MediaServer device. That is, when you call methods on this IConnectionManageror IContentDirectoryinstance, the proxy translates the calls to UPnP action invocations and returns the resulting data.
You can use the returned IConnectionManagerto retrieve proxy IAVTransportand IRenderingControlreferences, 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 |