MediaQueryEngine_t::OemExtensionUpnpBrowseChildren (Windows CE 5.0)
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
OS Versions: Windows CE 5.0 Networked Media Device Feature Pack.
Header: MediaQueryEngine.hpp.
Link Library: MQELib.lib.
See Also
Send Feedback on this topic to the authors