IRTCClientSubscriber2::RegisterUnsolicitedNotification (Windows Embedded CE 6.0)
1/6/2010
Applies to Windows Embedded CE 6.0 R2
This method enables applications to register for unsolicited NOTIFY messages with a specific event package and content-type values without first subscribing to them. 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.
Syntax
HRESULT RegisterUnsolicitedNotification (
BSTR bstrAcceptedContent,
BSTR bstrEventPackage,
IRTCUnsolicitedSubscription** ppSubscription
);
Parameters
- bstrAcceptedContent
[in] The content-type value to match against the incoming NOTIFY messages.
- bstrEventPackage
[in] The event value to match against the incoming NOTIFY messages.
- ppSubscription
[out] The IRTCUnsolicitedSubscription instance to return to a caller. The caller can use the instance to control the unsolicited notification registration.
Return Value
This method can return an RTC_E_ constant.
Requirements
Header | rtccore.h, rtccore.idl |
Library | uuid.lib |
Windows Embedded CE | Windows Embedded CE 6.0 R2 |