Share via


Windows Media Player 11 SDK IWMPLibraryServices.getLibraryByType (VB and C#) 

Windows Media Player SDK banner art

Previous Next

IWMPLibraryServices.getLibraryByType (VB and C#)

The getLibraryByType method returns an IWMPLibrary interface that represents the library that has the specified type and index.

  

Parameters

wmplt

A value from the WMPLib.WMPLibraryType enumeration that specifies the type of library to retrieve.

lIndex

A System.Int32 that is the index of the library to retrieve.

Return Value

A WMPLib.IWMPLibrary interface for the library that is returned.

Remarks

There is only one local library, and disc libraries are available only on data CDs and DVDs that contain media content.

Requirements

Version: Windows Media Player 11.

Namespace: WMPLib

Assembly: Interop.WMPLib.dll (automatically generated by Visual Studio)

See Also

Previous Next