CreateSubscription method

Obsolete. Creates a subscription.

Syntax

HRESULT retVal = object.CreateSubscription(hwnd, pwszURL, pwszFriendlyName, dwFlags, subsType, pInfo);

Parameters

  • hwnd [in]
    Type: HWND

    A handle to the parent window.

  • pwszURL [in]
    Type: LPCWSTR

    A string value that contains the URL of the site to subscribe to.

  • pwszFriendlyName [in]
    Type: LPCWSTR

    A string value that contains a friendly name for the site.

  • dwFlags [in]
    Type: DWORD

    An unsigned long integer value that contains the flags that control the creation of the subscription. This can be a combination of the CREATESUBSCRIPTIONFLAGS values.

  • subsType [in]
    Type: SUBSCRIPTIONTYPE

    A SUBSCRIPTIONTYPE value that determines how the subscription is handled.

  • pInfo [in, out]
    Type: SUBSCRIPTIONINFO

    A pointer to a SUBSCRIPTIONINFO structure that contains the subscription information.

Remarks

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

See also

ISubscriptionMgr::DeleteSubscription