Share via


MediaQueryEngine_t::OemExtensionUpnpBrowseChildren (Windows Embedded CE 6.0)

1/5/2010

The OemExtensionUpnpBrowseChildren method creates a new MediaQuery_t object for specified object id and sort criteria. This API enables traversing the content tree on a UPnP media server.

Syntax

MediaQuery_t OemExtensionUpnpBrowseChildren ( const WCHAR* pObjectIdStr, const WCHAR* pSortString, int BatchSize );

Parameters

  • pObjectIdStr
    This is the object Id of the tree item for UPnP's BrowseChildren call.
  • pSortString
    You can sort the result based on any property of the media item data.
  • BatchSize
    The number of media items in one batch.

Return Value

Returns a MediaQuery_t object.

Remarks

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

All the strings have to be less than s_MAX_INPUTSTRING (256 chars)

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