Theater SDK Banner 

Art
[Previous][Next]

Registering Event Notification and Authorization Components

The installation of NetShow Theater Server adds the following registry keys for the event notification and authorization components:

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

At startup, the server checks the registry and creates an instance of each component listed under the preceding key.

Following is an example of the values that can be added to the Event Notification key. Only CLSID and Enabled are required.

[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

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 server loads any registered components, including the disabled ones, and then invokes their Initialize method. The server does not stream any video unless all the registered components yield a successful return from the Initialize method. Thus, you must remove the whole registry entry of an unwanted component, instead of merely disabling it by using the “Enabled” registry key.

[Previous][Next]



© 1996-1998 Microsoft Corporation. All rights reserved