MediaQueryEngine_t (Windows CE 5.0)

Send Feedback

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
ActiveServerName Gives the friendly name of the current active server
ActiveServerUDN The ActiveServerUDN method provides the unique device name of the active server.
AddSink Adds a sink for MQE events.
CreateNewQuery Returns a new MediaQuery_t object for the given QueryParams_t.
Initialize If the MediaQueryEngine is not initialized, it initializes it.
KnownMediaServers Returns a list of all media servers the device has discovered so far.
OemExtensionUpnpQuery Creates a new MediaQuery_t object for the specified container id, search string and sort criteria.
OemExtensionUpnpBrowseChildren Returns a new MediaQuery_t object for specified object IDs and sort criteria.
OemExtensionUpnpQuery Returns a new MediaQuery_t object for a specified container ID, filter, and sort criteria.
RegisterContentUpdateCallback The RegisterContentUpdateCallback method allows you to setup a sink to receive the content update string from the media server.
RemoveSink Removes a sink.
Start Starts UPnP monitoring and event notification.
State This function returns the current state of MediaQueryEngine.
Stop Stops UPnP monitoring and event notification.
UnInitialize De-allocates MediaQueryEngine resources and sets the MediaQueryEngine back to it's UnIntialized state
UnregisterContentUpdateCallback The UnRegisterContentUpdateCallback removes the callback from the list of registered callbacks.
WaitForActiveServer Allows your application to wait for discovery of first media server.

Requirements

OS Versions: Windows CE 5.0 Networked Media Device Feature Pack.
Header: MediaQueryEngine.hpp.
Link Library: MQELib.lib.

See Also

Media Query Engine Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.