Registering Event Notification and Authorization Components

Add the following key to the registry for event notification and authorization components:

[HKEY_LOCAL_MACHINE\Software\Microsoft\NetShow\Servers\
\Default\Event Notification]

At startup, the server checks the registry and instantiates each of the components listed under this key.

Following is an example of the values that should be added to the Event Notification key;

[HKEY_LOCAL_MACHINE\Software\Microsoft\NetShow\Servers\
\Default\Event Notification\Sample Billing Module]
"CLSID"="{16DA4310-2955-11D1-9E98-006097D2D7CF}"
"Description"="Sample billing module"
"Author"="Developer Name"
"Copyright"="(c) Developer 1997"
"Enabled"=dword:00000001
"Index"=dword:00000000

{Description of these values goes here!}

Note: Every plug-in component supports notification, support for authorization is optional. The server calls the QueryInterface method to determine if the component supports authorization.

The NetShow server will load any registered components, including the disabled ones, and then invoke their Initialize method. The server will not stream any video unless all the registered components yield a successful return from the Initialize method. Thus, you you remove the whole registry entry of an unwanted component, instead of merely disabling it using the “Enabled” registry key.

© 1996-1998 Microsoft Corporation. All rights reserved.