Partager via


MediaQueryEngine_t::CreateNewQuery (Windows Embedded CE 6.0)

1/5/2010

The CreateNewQuery function returns a MediaQuery_t object. Through the MediaQuery_t object, you can get the media items for the search as specified in theQueryParams.

Syntax

MediaQuery_t CreateNewQuery( 
  const QueryParams_t &QueryParams 
);

Parameters

  • QueryParams
    The parameters for the new media query.

Return Value

This method returns a MediaQuery_t object.

Remarks

Call IsValid on the returned MediaQuery_t to make sure it is valid. If the returned MediaQuery_t object is not valid, call GetLastError to find out reason for the failure.

Requirements

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

See Also

Reference

MediaQueryEngine_t
QueryParams_t