FreeRDP
IWTSVirtualChannelManager Struct Reference

#include <dvc.h>

Data Fields

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

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

◆ DestroyListener

UINT(* IWTSVirtualChannelManager::DestroyListener) (IWTSVirtualChannelManager *pChannelMgr, IWTSListener *ppListener)

◆ FindChannelById

IWTSVirtualChannel*(* IWTSVirtualChannelManager::FindChannelById) (IWTSVirtualChannelManager *pChannelMgr, UINT32 ChannelId)

◆ GetChannelId

UINT32(* IWTSVirtualChannelManager::GetChannelId) (IWTSVirtualChannel *channel)

◆ GetChannelName

const char*(* IWTSVirtualChannelManager::GetChannelName) (IWTSVirtualChannel *channel)

◆ pChannelMgr

IWTSVirtualChannelManager* IWTSVirtualChannelManager::pChannelMgr

◆ pListenerCallback

IWTSVirtualChannelManager const char ULONG IWTSListenerCallback* IWTSVirtualChannelManager::pListenerCallback

◆ ppListener

IWTSVirtualChannelManager const char ULONG IWTSListenerCallback IWTSListener** IWTSVirtualChannelManager::ppListener

◆ pszChannelName

IWTSVirtualChannelManager const char* IWTSVirtualChannelManager::pszChannelName

◆ ulFlags

IWTSVirtualChannelManager const char ULONG IWTSVirtualChannelManager::ulFlags

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