FreeRDP
Loading...
Searching...
No Matches
IWTSVirtualChannelManager Struct Reference

Data Fields

WINPR_ATTR_NODISCARD UINT(* CreateListener )(IWTSVirtualChannelManager *pChannelMgr, const char *pszChannelName, ULONG ulFlags, IWTSListenerCallback *pListenerCallback, IWTSListener **ppListener)
 
WINPR_ATTR_NODISCARD UINT32(* GetChannelId )(IWTSVirtualChannel *channel)
 
WINPR_ATTR_NODISCARD IWTSVirtualChannel *(* FindChannelById )(IWTSVirtualChannelManager *pChannelMgr, UINT32 ChannelId)
 
WINPR_ATTR_NODISCARD 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

Definition at line 91 of file dvc.h.

Field Documentation

◆ CreateListener

WINPR_ATTR_NODISCARD UINT(* IWTSVirtualChannelManager::CreateListener) (IWTSVirtualChannelManager *pChannelMgr, const char *pszChannelName, ULONG ulFlags, IWTSListenerCallback *pListenerCallback, IWTSListener **ppListener)

Definition at line 95 of file dvc.h.

◆ DestroyListener

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

Definition at line 104 of file dvc.h.

◆ FindChannelById

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

Definition at line 101 of file dvc.h.

◆ GetChannelId

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

Definition at line 100 of file dvc.h.

◆ GetChannelName

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

Definition at line 103 of file dvc.h.


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