Partager via


IRTCUnsolicitedSubscription::Enable (Windows Embedded CE 6.0)

1/6/2010

This method is used to enable the unsolicited notification registration. Each incoming NOTIFY message with a matching event package and content-type values that is not associated to any existing sessions will be delivered to the application in the form of an IRTCUnsolicitedNotificationEvent. Multiple registrations are allowed.

To temporarily disable the notification, call the IRTCUnsolicitedSubscription::Disable method. To dispose of this unsolicited notification registration, call the IRTCUnsolicitedSubscription::Unregister method.

Syntax

HRESULT Enable ();

Parameters

There are no parameters for this method.

Requirements

Header rtccore.idl, rtcerr.h
Library uuid.lib
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

IRTCUnsolicitedSubscription
IRTCUnsolicitedSubscription::AcceptedContentType
IRTCUnsolicitedSubscription::EventPackage
IRTCUnsolicitedSubscription::IsEnabled
IRTCClientSubscriber2