Поделиться через


MediaQueryEngine_t (Windows Embedded CE 6.0)

1/5/2010

This interface is the primary access point for applications that need to work with the media query engine. Through the static functions of this class, you can access the functionality of the media query engine.

Methods

The following table shows the methods for this interface.

Method Description

MediaQueryEngine_t::ActiveServerName

Gives the friendly name of the current active server

MediaQueryEngine_t::ActiveServerUDN

The ActiveServerUDN method provides the unique device name of the active server.

MediaQueryEngine_t::AddSink

Adds a sink for MQE events.

MediaQueryEngine_t::CreateNewQuery

Returns a new MediaQuery_t object for the given QueryParams_t.

MediaQueryEngine_t::Initialize

If the MediaQueryEngine is not initialized, it initializes it.

MediaQueryEngine_t::KnownMediaServers

Returns a list of all media servers the device has discovered so far.

MediaQueryEngine_t::OemExtensionUpnpBrowseChildren

Returns a new MediaQuery_t object for specified object IDs and sort criteria.

MediaQueryEngine_t::OemExtensionUpnpQuery

Returns a new MediaQuery_t object for a specified container ID, filter, and sort criteria.

MediaQueryEngine_t::RegisterContentUpdateCallback

The RegisterContentUpdateCallback method allows you to setup a sink to receive the content update string from the media server.

MediaQueryEngine_t::RemoveSink

Removes a sink.

MediaQueryEngine_t::Start

Starts UPnP monitoring and event notification.

MediaQueryEngine_t::State

This function returns the current state of MediaQueryEngine.

MediaQueryEngine_t::Stop

Stops UPnP monitoring and event notification.

MediaQueryEngine_t::UnInitialize

De-allocates MediaQueryEngine resources and sets the MediaQueryEngine back to the UnIntialized state

MediaQueryEngine_t::UnRegisterContentUpdateCallback

The UnRegisterContentUpdateCallback removes the callback from the list of registered callbacks.

MediaQueryEngine_t::WaitForActiveServer

Allows your application to wait for discovery of first media server.

Requirements

Header mediaqueryengine.hpp
Library MQELib.lib
Windows Embedded CE Windows CE 5.0 Networked Media Device Feature Pack and later

See Also

Concepts

Media Query Engine Interfaces