Partager via


Virtual Channel Client Registration

You must store the name of the client DLL in the registry. Add a subkey to one of the following locations.

HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default\Addins

HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\connection\Addins

Entries under the Default\Addins key apply to all connections. Entries under the connection\Addins key apply only to the specified connection. Connections can be created and managed using Connection Manager.

The subkey can have any name. It must contain a REG_SZ or REG_EXPAND_SZ value and may optionally contain a REG_DWORD value. The REG_SZ or REG_EXPAND_SZ value has the following syntax.

Name = DLLname

If Name is a REG_EXPAND_SZ value, it can contain unexpanded environment variables that are expanded at runtime.

The value of DLLname can be a fully-qualified path. If DLLname does not contain a path, the standard DLL search strategy is used.

The REG_DWORD value has the following syntax.

RemoteControlPersistent = flag

The value of flag is 0 or 1, with 0 the default. If 1, the addin will not be notified if the remote control is started or stopped. If 0, these events will be signaled for the addin as connections and disconnections, respectively.

See Also

Implementing Virtual Channels

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.