Windows Media Player 11 SDK IWMPLibraryServices::getLibraryByType
Previous | Next |
IWMPLibraryServices::getLibraryByType
The getLibraryByType method retrieves a pointer to an IWMPLibrary interface that represents the library that has the specified type and index.
Syntax
HRESULT getLibraryByType( WMPLibraryType wmplt, long lIndex, IWMPLibrary** ppIWMPLibrary );
Parameters
wmplt
[in] WMPLibraryType enumeration value that specifies the type of library to retrieve.
lIndex
[in] A long containing the index of the library to retrieve.
ppIWMPLibrary
[out] Address of a variable that receives a pointer to the retrieved IWMPLibrary interface.
Remarks
There is only one local library and disc libraries are available only on data CDs and DVDs that contain media content.
Windows Media Player 10 Mobile: This method is not supported.
Requirements
Version: Windows Media Player 11.
Header: Include wmp.h.
Library: Use wmp.dll.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
S_OK | The method succeeded. |
See Also
Previous | Next |