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)
WMS_EVENT
WMS_EVENT_TYPE
IWMSBasicPlugin IWMSBasicPlugin Object (Visual Basic .NET)
IWMSCommandContextIWMSCommandContext Object (Visual Basic .NET)
IWMSEventAuthorizationCallbackIWMSEventAuthorizationCallback Object (Visual Basic .NET)
IWMSEventAuthorizationPluginIWMSEventAuthorizationPlugin Object (Visual Basic .NET)
IWMSEventNotificationPluginIWMSEventNotificationPlugin Object (Visual Basic .NET)
IWMSBasicPlugin IWMSBasicPlugin Object (C#)
IWMSCommandContext IWMSCommandContext Object (C#)
IWMSEventAuthorizationCallbackIWMSEventAuthorizationCallback Object (C#)
IWMSEventAuthorizationPlugin IWMSEventAuthorizationPlugin Object (C#)
IWMSEventNotificationPlugin IWMSEventNotificationPlugin Object (C#)
IWMSBasicPluginIWMSBasicPlugin Interface
IWMSCommandContextIWMSCommandContext Interface
IWMSEventAuthorizationCallbackIWMSEventAuthorizationCallback Interface
IWMSEventAuthorizationPluginIWMSEventAuthorizationPlugin Interface
IWMSEventNotificationPluginIWMSEventNotificationPlugin Interface