Virtual Channel Client Registration
You must store the name of the client DLL in the registry.
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
In the registry path, connection represents the name of a connection in Connection Manager.
Entries under the \Default\Addins key apply to all connections. Entries under the \connection\Addins key apply only to the connection identified by connection. Connections can be created and managed by using Connection Manager.
The subkey can be given any name. It must contain a REG_SZ or REG_EXPAND_SZ value and may optionally contain a REG_DWORD value. The syntax of the REG_SZ or REG_EXPAND_SZ value is as follows.
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. For more information, see the Remarks section for LoadLibrary.