FreeRDP
IWTSVirtualChannelManager Struct Reference

#include <dvc.h>

Data Fields

UINT(* CreateListener )(IWTSVirtualChannelManager *pChannelMgr, const char *pszChannelName, ULONG ulFlags, IWTSListenerCallback *pListenerCallback, IWTSListener **ppListener)
 
UINT32(* GetChannelId )(IWTSVirtualChannel *channel)
 
IWTSVirtualChannel *(* FindChannelById )(IWTSVirtualChannelManager *pChannelMgr, UINT32 ChannelId)
 

Detailed Description

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:

  1. DVCPluginEntry: The plugin entry point, which creates and initializes a new IWTSPlugin instance
  2. IWTSPlugin.Initialize: Call IWTSVirtualChannelManager.CreateListener with a newly created IWTSListenerCallback instance
  3. IWTSListenerCallback.OnNewChannelConnection: Create IWTSVirtualChannelCallback instance if the new channel is accepted

Field Documentation

UINT(* IWTSVirtualChannelManager::CreateListener) (IWTSVirtualChannelManager *pChannelMgr, const char *pszChannelName, ULONG ulFlags, IWTSListenerCallback *pListenerCallback, IWTSListener **ppListener)
IWTSVirtualChannel*(* IWTSVirtualChannelManager::FindChannelById) (IWTSVirtualChannelManager *pChannelMgr, UINT32 ChannelId)
UINT32(* IWTSVirtualChannelManager::GetChannelId) (IWTSVirtualChannel *channel)

The documentation for this struct was generated from the following file: