IWMSPlaylist.CallerEntry (Visual Basic .NET)
Previous | Next |
IWMSPlaylist.CallerEntry (Visual Basic .NET)
The CallerEntry property retrieves the playlist element pushed onto the playlist's call stack immediately before the specified playlist element.
Syntax
IXMLDOMElement = Playlist .CallerEntry( pPlaylistEntry As IXMLDOMElement )
Parameters
pPlaylistEntry
[in] IXMLDOMElement object containing a playlist entry object.
Property Value
An IXMLDOMElement object.
Remarks
This property is read-only. A value of NULL is returned if a playlist element is specified that is not currently active or if it was the first playlist element that was pushed onto the call stack.
Example Code
Imports Microsoft.WindowsMediaServices.Interop Imports System.Runtime.InteropServices Private Sub GetPlaylistEntry() ' Declare variables. Dim Server As WMSServer Dim Players As IWMSPlayers Dim Player As IWMSPlayer Dim Playlist As IWMSPlaylist Dim PlaylistEntry As IXMLDOMElement Dim bVal As Boolean Try ' Create the WMSServer object. Server = New WMSServer() ' Retrieve the IWMSPlayers object. Players = Server.Players ' Retrieve information about each requested playlist. For Each Player In Players ' Retrieve the playlist requested by the client ' if one exists. Playlist = Player.RequestedPlaylist ' Retrieve information about the current playlist entry. PlaylistEntry = Playlist.CurrentPlaylistEntry ' Retrieve the next playlist entry. PlaylistEntry = Playlist.CallerEntry(PlaylistEntry) ' Retrieve information about each playlist entry. While Not PlaylistEntry Is Nothing ' Retrieve a Boolean value indicating whether this ' playlist entry is cued. bVal = Playlist.IsStreamCued(PlaylistEntry) PlaylistEntry = Playlist.CallerEntry(PlaylistEntry) End While Next
Requirements
Reference: Add a reference to Microsoft.WindowsMediaServices.
Namespace: Microsoft.WindowsMediaServices.Interop.
Assembly: Microsoft.WindowsMediaServices.dll.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003 family, Windows Server 2008 family.
See Also
Previous | Next |