Share via


IWMSServer::CreatePlaylist

banner art

Previous Next

IWMSServer::CreatePlaylist

The CreatePlaylist method creates an IXMLDOMDocument interface.

Syntax

  HRESULT CreatePlaylist(
  IXMLDOMDocument**  ppPlaylist
);

Parameters

ppPlaylist

[out] Pointer to a pointer to a newly created IXMLDOMDocument object.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Number Description
E_FAIL 0x80004005 Indicates that an error occurred.
E_POINTER 0x80004003 Indicates that ppPlaylist is a NULL pointer argument.

Remarks

You can use the Load method in the IXMLDOMDocument interface to load a playlist.

This method calls AddRef internally. To avoid memory leaks, you must call Release when you are finished using the interface.

Example Code

  EXIT:
    // TODO: Release temporary COM objects and uninitialize COM.

Requirements

Header: wmsserver.h.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003 family, Windows Server 2008 family.

See Also

Previous Next