IWMPLibraryServices 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 IWMPLibraryServices interface provides methods to enumerate libraries.

Inheritance

The IWMPLibraryServices interface inherits from the IUnknown interface. IWMPLibraryServices also has these types of members:

Methods

The IWMPLibraryServices interface has these methods.

 
IWMPLibraryServices::getCountByType

The getCountByType method retrieves the count of available libraries of a specified type.
IWMPLibraryServices::getLibraryByType

The getLibraryByType method retrieves a pointer to an IWMPLibrary interface that represents the library that has the specified type and index.

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

IWMPLibrary Interface

IWMPPlayer Interface

Interfaces