Share via


External.saveCurrentViewToLibrary method

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The saveCurrentViewToLibrary method creates a playlist from the media items in the current view and saves the playlist in the local library.

Syntax

External.saveCurrentViewToLibrary(
  FriendlyListName,
  Local
)

Parameters

FriendlyListName [in]

String that specifies a friendly name for the playlist. Windows Media Player displays this name in its user interface.

Local [in]

Boolean that specifies whether the playlist is dynamic or static. TRUE specifies dynamic, and FALSE specifies static.

Return value

This method does not return a value.

Requirements

Requirement Value
Version
Windows Media Player 11
DLL
Wmp.dll

See also

External Object for Type 1 Online Stores