Sorry to wake this thread after 4 years, but did you find a solution to this problem? I have a static virtual channel plugin, It works fine between Windows 7 machines, but when I run use an XP client, the server fails at WTSVirtualChannelWrite with "Incorrect function" Please tell me if you found any clue!