Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IFeed::GetWatcher Method

Retrieves the appropriate interface for events.

Syntax


HRESULT GetWatcher(
    FEEDS_EVENTS_SCOPE scope,
    FEEDS_EVENTS_MASK mask,
    IDispatch **disp
);

Parameters

scope
[in] A FEEDS_EVENTS_SCOPE value that limits the extent of events notifications to be received.
mask
[in] A combination of FEEDS_EVENTS_MASK values that specify the source of events.
disp
[out, retval] Address of a pointer variable of type IDispatch that receives the event callback.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Although the signatures for IFeed::GetWatcher and IFeedFolder::GetWatcher are the same, requesting a folder watcher from a feed object returns E_INVALIDARG.

See Also

Events in the Windows RSS Platform
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.