IWMPCore::get_mediaCollection method
The get_mediaCollection method retrieves a pointer to an IWMPMediaCollection interface.
Syntax
HRESULT get_mediaCollection(
IWMPMediaCollection **ppMediaCollection
);
Parameters
ppMediaCollection
Pointer to a pointer to an IWMPMediaCollection interface.
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
Before calling this method, you must have read access to the library. For more information, see Library Access.
Requirements
| Minimum supported client | Windows Media Player 9 Series or later. |
| Target Platform | Windows |
| Header | wmp.h |
| DLL | Wmp.dll |