Share via


IWMPQuery interface (wmp.h)

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMPQuery interface represents a compound query.

Inheritance

The IWMPQuery interface inherits from the IDispatch interface. IWMPQuery also has these types of members:

Methods

The IWMPQuery interface has these methods.

 
IWMPQuery::addCondition

The addCondition method adds a condition to the compound query using AND logic.
IWMPQuery::beginNextGroup

The beginNextGroup method begins a new condition group.

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

IWMPMediaCollection2::createQuery

IWMPMediaCollection2::getPlaylistByQuery

IWMPMediaCollection2::getStringCollectionByQuery

Interfaces