Static Virtual Channels Registry Settings (Compact 7)

3/12/2014

You can register a virtual client application by using registry settings.

Static Virtual Channel Server Application

You can configure a static virtual channel server application by adding this registry subkey, located in the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\Addins\addin_key.

Name Type Description Default Value

<Server_Application_Name>

REG_SZ

The name of the static virtual channel server application that the user starts remotely from the device.

None.

You must add the following registry value to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\Addins\addin_key\<Server_Application_Name>.

Name Type Description Default Value

Type

REG_DWORD

Set to 0, which indicates user-mode operation, session space.

None.

Static Virtual Channel Client Application

You can register a static virtual channel client DLL by creating the following registry subkey.

If the DLL can be used on any connection, create the subkey in HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default\Addins.

If the DLL can be used only on a specific connection, create the subkey in HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\<connection_name>\Addins.

Name Type Description Default Value

<Client_Application_Name>

REG_SZ

A name to describe the static virtual channel client application.

None.

You can configure the static virtual channel client application by using this registry key, located in either HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default\Addins\<Client_Application_Name> or HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\<connection_name>\Addins\<Client_Application_Name>.

Name Type Description Default Value

Name

REG_SZ or REG_EXPAND_SZ

Name of DLL. It can also include the fully qualified path of the DLL.

None.

RemoteControlPersistent

REG_DWORD

Optional. Whether the add-in is notified if the remote-control persistent static virtual channel is started or stopped. Set to 0 to request that the add-in is notified of these events. Otherwise, set to 1.

Set this value only if the static virtual channel client application also includes a call to VirtualChannelInitEvent in which the remote control flags are set.

0

See Also

Reference

Remote Desktop Connection Reference

Other Resources

Static Virtual Channels