Windows Media Player 11 SDK IWMPLibrary::get_mediaCollection 

Windows Media Player SDK banner art

Previous Next

IWMPLibrary::get_mediaCollection

The get_mediaCollection method retrieves a pointer to the IWMPMediaCollection interface for the current library.

Syntax

  

Parameters

ppIWMPMediaCollection

[out]  Address of a variable that receives a pointer to the IWMPMediaCollection interface for the current library.

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

Windows Media Player 10 Mobile: This method is not supported.

Requirements

Version: Windows Media Player 11.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next