Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Previous | Next |
IWMPPlaylistCollection::getByName
The getByName method retrieves a pointer to an IWMPPlaylistArray interface on an object containing playlists with the specified name, if any exist.
Syntax
Parameters
bstrName
[in] String containing the name.
ppPlaylistArray
[out] Pointer to a pointer to an IWMPPlaylistArray interface for the retrieved array of playlists.
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
Use IWMPPlaylistArray::count to determine whether a playlist exists. If count is zero, the array is empty.
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 |