Partager via


MediaQueryEngine_t::OemExtensionUpnpQuery (Windows CE 5.0)

Send Feedback

The OemExtensionUpnpQuery method creates a new MediaQuery_t object for the specified container id, search string and sort criteria.

You should use this method only if the generic query function does not enable you to make a specific UPnP query.

Syntax

MediaQuery_t OemExtensionUpnpQuery (  const WCHAR* pContainerIdStr,  const WCHAR* pSearchString,  const WCHAR* pSortString,  int BatchSize);

Parameters

Return Value

This method returns an 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 strings must 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

MediaQueryEngine_t | MediaQuery_t

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.