FreeRDP: A Remote Desktop Protocol Implementation Dynamic Virtual Channel Interface
Copyright 2010-2011 Vic Lee Copyright 2015 Thincast Technologies GmbH Copyright 2015 DI (FH) Martin Haimberger marti.nosp@m.n.ha.nosp@m.imber.nosp@m.ger@.nosp@m.thinc.nosp@m.ast..nosp@m.com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. DVC Plugin API: See the original MS DVC Client API: http://msdn.microsoft.com/en-us/library/bb540880%28v=VS.85%29.aspx
The FreeRDP DVC Plugin API is a simulation of the MS DVC Client API in C. The main difference is that every interface method must take an instance pointer as the first parameter. Implemented by DRDYNVC: o IWTSVirtualChannelManager o IWTSListener o IWTSVirtualChannel
Implemented by DVC plugin: o IWTSPlugin o IWTSListenerCallback o IWTSVirtualChannelCallback
A basic DVC plugin implementation:
- DVCPluginEntry: The plugin entry point, which creates and initializes a new IWTSPlugin instance
- IWTSPlugin.Initialize: Call IWTSVirtualChannelManager.CreateListener with a newly created IWTSListenerCallback instance
- IWTSListenerCallback.OnNewChannelConnection: Create IWTSVirtualChannelCallback instance if the new channel is accepted
Definition at line 90 of file dvc.h.