Microsoft DirectX 8.1 (C++)

Listening for Conditional Access Events (C++)

This topic applies to Windows XP Home Edition and Windows XP Professional only.

An application needs to respond whenever a policy denies a request, removes a denial, or creates a new offer.

The following CA collections fire events whenever items are added or removed, or change state:

Also, the ICARequest object fires events when a request becomes active or inactive. The ICAComponents collection does not fire any events, because components are fixed for the lifetime of a stream. 

The CA Manager listens for all of these events and forwards them through its own _ICAManagerEvents event interface. For example, when an ICAOffers collection sends an _ICAOffersEvents::ItemAdded event, the CA Manager sends an _ICAManagerEvents::OfferAdded event. Although an application can listen for events from the underlying objects, the CA Manager provides a convenient central point.

To receive events from the CA Manager, implement the event interface on your sink object and set up a connection point.

See Also