IWMPLibrary::get_mediaCollection method
The get_mediaCollection method retrieves a pointer to the IWMPMediaCollection interface for the current library.
Syntax
HRESULT get_mediaCollection(
IWMPMediaCollection **ppIWMPMediaCollection
);
Parameters
ppIWMPMediaCollection
Address of a variable that receives a pointer to the IWMPMediaCollection interface for the current library.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
Remarks
Windows Media Player 10 Mobile: This method is not supported.
Requirements
| Minimum supported client | Windows Media Player 11. |
| Target Platform | Windows |
| Header | wmp.h |
| DLL | Wmp.dll |