Windows Media Player 11 SDK IWMPCore3::newMedia
Previous | Next |
IWMPCore3::newMedia
The newMedia method retrieves a pointer to an IWMPMedia interface for a new media item.
Syntax
Parameters
bstrURL
[in] BSTR containing the URL.
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. |
Remarks
The bstrURL parameter must not be an empty string or null.
Requirements
Version: Windows Media Player 9 Series or later.
Header: Include wmp.h.
Library: Use wmp.dll.
See Also
Previous | Next |