ITMediaPlayback::put_PlayList method (tapi3if.h)

The put_PlayList method provides the file playback terminal with the list of files to play.

Syntax

HRESULT put_PlayList(
  [in] VARIANTARG PlayListVariant
);

Parameters

[in] PlayListVariant

Variant of type VT_ARRAY, which contains variants of type VT_BSTR and VT_STORAGE.

The VT_BSTR elements of the array contain the names of the files to play. The file name extension is used to determine the type of file. Currently, the supported file name extensions are .avi and .wav.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

ITMediaPlayback

get_PlayList