Share via


Migrating from the Event Notification and Authorization API

banner art

Previous Next

Migrating from the Event Notification and Authorization API

In the Windows Media Services 4.1 SDK, the Event Notification and Authorization API is used to create custom event notification and authorization plug-ins. For the Windows Media Services 9 Series SDK, a new plug-in architecture is used to create custom event notification and authorization plug-ins.

The following table shows the interfaces of the Event Notification and Authorization API and their equivalents in the Windows Media Services 9 Series SDK.

Version 4.1 interface 9 Series equivalent
INSSEventAuthorization IWMSEventAuthorizationPlugin
INSSEventAuthorizationCallback IWMSEventAuthorizationCallback
INSSEventNotification IWMSBasicPlugin, IWMSEventNotificationPlugin
INSSCommandContext IWMSCommandContext

The following table shows the data structures used with the Event Notification and Authorization API and their equivalents in the Windows Media Services 9 Series SDK.

Version 4.1 data structure 9 Series equivalent
NSS_EVENT WMS_EVENT
NSS_EVENT_TYPE WMS_EVENT_TYPE

Custom plug-ins created with the Windows Media Services 9 Series SDK are registered differently than the custom plug-ins created with the Windows Media Services 4.1 SDK. For information on registering plug-ins, see Registering Plug-ins.

See Also (General)

Previous Next