Partager via


IWMPCore::get_currentMedia (Windows Embedded CE 6.0)

1/6/2010

The get_currentMedia method retrieves a pointer to an IWMPMedia interface corresponding to the current media item.

Syntax

HRESULT get_currentMedia( IWMPMedia** ppMedia ); 

Parameters

  • ppMedia
    [out]  Pointer to a pointer to an IWMPMedia 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.

See Also

Reference

IWMPCore Interface