共用方式為


EnumChannels method

Obsolete. Creates a channel enumerator.

Syntax

HRESULT retVal = object.EnumChannels(dwEnumFlags, pszURL, pIEnumChannels);

Parameters

dwEnumFlags [in]

Type: DWORD

An unsigned integer value that contains the flags that control the enumeration. This can be one of the CHANNELENUMFLAGS values or one of the following aggregate values.

CHANENUM_ALL

An aggregate of all the CHANNELENUMFLAGS values.

CHANENUM_ALLDATA

An aggregate of the CHANENUM_TITLE value, the CHANENUM_PATH value, the CHANENUM_URL value, and the CHANENUM_SUBSCRIBESTATE value.

CHANENUM_ALLFOLDERS

An aggregate of the CHANENUM_CHANNELFOLDER value, the CHANENUM_SOFTUPDATEFOLDER value, and the CHANENUM_DESKTOPFOLDER value.

pszURL [in]

Type: LPCWSTR

Optional. A string value that contains the URL of the CDF file.

pIEnumChannels [out]

Type: IEnumChannels

The address of the pointer to the IEnumChannels interface of the enumerator.

Remarks

Windows Internet Explorer 7 and later. This interface is obsolete and should not be used.