Partager via


decodeMimeType method

Indicates whether the media element contains a playlist.

Syntax

HRESULT retVal = object.decodeMimeType(header, headerSize, mimeType);

Parameters

header [in]

Type: TCHAR

A string that represents an arbitrary header.

headerSize [in]

Type: long

The length of the string in header, which must be at least 4 characters long.

mimeType [out]

Type: BSTR

A BSTR that contains an empty string, or the following value. Use SysFreeString to free the string.

asx

The media element contains a playlist.

Return value

Type: HRESULT

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

Remarks

ITIMEMediaElement2::decodeMimeType was introduced in Microsoft Internet Explorer 6