Click to return to the Content     
IChannelMgr::DeleteChanne...     IEnumChannels Interface     IChannelMgr Interface    
Web Workshop  |  Content & Component Delivery

IChannelMgr::EnumChannels Method


Creates a channel enumerator.

Syntax

HRESULT EnumChannels(
    DWORD dwEnumFlags,
    LPCWSTR pszURL,
    IEnumChannels **pIEnumChannels
);

Parameters

dwEnumFlags
[in] 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
Aggregate of all the CHANNELENUMFLAGS values.
CHANENUM_ALLDATA
Aggregate of the CHANENUM_TITLE, CHANENUM_PATH, CHANENUM_URL, and CHANENUM_SUBSCRIBESTATE values.
CHANENUM_ALLFOLDERS
Aggregate of the CHANENUM_CHANNELFOLDER, CHANENUM_SOFTUPDATEFOLDER, and CHANENUM_DESKTOPFOLDER values.
pszURL
[in] Optional. String value that contains the URL of the CDF file.
pIEnumChannels
[out] Address of the pointer to the IEnumChannels interface of the enumerator.

Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.