ISubscriptionMgr::CreateSubscriptionISubscriptionMgr::CreateSubscription*
*Contents  *Index  *Topic Contents
*Previous Topic: IEnumChannels::Skip
*Next Topic: ISubscriptionMgr::DeleteSubscription

ISubscriptionMgr::CreateSubscription

HRESULT CreateSubscription(
    [in] HWND hwnd;    
    [in] LPCWSTR pwszURL,
    [in] LPCWSTR pwszFriendlyName,
    [in] DWORD dwFlags,
    [in] SUBSCRIPTIONTYPE subsType,
    [in,out] SUBSCRIPTIONINFO *pInfo
);

Creates a subscription.

hwnd
Handle to the parent window.
pwszURL
String value that contains the URL of the site to subscribe to.
pwszFriendlyName
String value that contains a friendly name for the site.
dwFlags
Unsigned long integer value that contains the flags that control the creation of the subscription. Can be a combination of the CREATESUBSCRIPTIONFLAGS values.
subType
SUBSCRIPTIONTYPE value that determines how the subscription will be handled.
pInfo
Address of a SUBSCRIPTIONINFO structure containing the subscription information.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.