Share via


Windows Media Player 11 SDK IWMPCore::get_mediaCollection 

Windows Media Player SDK banner art

Previous Next

IWMPCore::get_mediaCollection

The get_mediaCollection method retrieves a pointer to an IWMPMediaCollection interface.

Syntax

  

Parameters

ppMediaCollection

[out]  Pointer to a pointer to an IWMPMediaCollection interface.

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.

Remarks

Before calling this method, you must have read access to the library. For more information, see Library Access.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next