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 |
---|---|
Gives the friendly name of the current active server |
|
The ActiveServerUDN method provides the unique device name of the active server. |
|
Adds a sink for MQE events. |
|
Returns a new MediaQuery_t object for the given QueryParams_t. |
|
If the MediaQueryEngine is not initialized, it initializes it. |
|
Returns a list of all media servers the device has discovered so far. |
|
Returns a new MediaQuery_t object for specified object IDs and sort criteria. |
|
Returns a new MediaQuery_t object for a specified container ID, filter, and sort criteria. |
|
The RegisterContentUpdateCallback method allows you to setup a sink to receive the content update string from the media server. |
|
Removes a sink. |
|
Starts UPnP monitoring and event notification. |
|
This function returns the current state of MediaQueryEngine. |
|
Stops UPnP monitoring and event notification. |
|
De-allocates MediaQueryEngine resources and sets the MediaQueryEngine back to the UnIntialized state |
|
The UnRegisterContentUpdateCallback removes the callback from the list of registered callbacks. |
|
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 |