FreeRDP
tsmf_main.c File Reference
#include <freerdp/config.h>
#include <winpr/crt.h>
#include <winpr/stream.h>
#include <winpr/cmdline.h>
#include <freerdp/client/tsmf.h>
#include "tsmf_types.h"
#include "tsmf_constants.h"
#include "tsmf_ifman.h"
#include "tsmf_media.h"
#include "tsmf_main.h"

Functions

BOOL tsmf_send_eos_response (IWTSVirtualChannelCallback *pChannelCallback, UINT32 message_id)
 
BOOL tsmf_playback_ack (IWTSVirtualChannelCallback *pChannelCallback, UINT32 message_id, UINT64 duration, UINT32 data_size)
 
static UINT tsmf_on_data_received (IWTSVirtualChannelCallback *pChannelCallback, wStream *data)
 
static UINT tsmf_on_close (IWTSVirtualChannelCallback *pChannelCallback)
 
static UINT tsmf_on_new_channel_connection (IWTSListenerCallback *pListenerCallback, IWTSVirtualChannel *pChannel, BYTE *Data, BOOL *pbAccept, IWTSVirtualChannelCallback **ppCallback)
 
static UINT tsmf_plugin_initialize (IWTSPlugin *pPlugin, IWTSVirtualChannelManager *pChannelMgr)
 
static UINT tsmf_plugin_terminated (IWTSPlugin *pPlugin)
 
static UINT tsmf_process_addin_args (IWTSPlugin *pPlugin, const ADDIN_ARGV *args)
 
 if (!tsmf)
 
 if (status==CHANNEL_RC_OK)
 

Variables

TSMF_PLUGINtsmf = NULL
 
TsmfClientContext * context = NULL
 
UINT error = CHANNEL_RC_NO_MEMORY
 
return status
 
error_init __pad0__
 
error_context __pad1__
 

Function Documentation

◆ if() [1/2]

if ( tsmf)
Here is the call graph for this function:

◆ if() [2/2]

if ( status  = CHANNEL_RC_OK)
Here is the call graph for this function:

◆ tsmf_on_close()

static UINT tsmf_on_close ( IWTSVirtualChannelCallback *  pChannelCallback)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tsmf_on_data_received()

static UINT tsmf_on_data_received ( IWTSVirtualChannelCallback *  pChannelCallback,
wStream data 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tsmf_on_new_channel_connection()

static UINT tsmf_on_new_channel_connection ( IWTSListenerCallback *  pListenerCallback,
IWTSVirtualChannel *  pChannel,
BYTE Data,
BOOL *  pbAccept,
IWTSVirtualChannelCallback **  ppCallback 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tsmf_playback_ack()

BOOL tsmf_playback_ack ( IWTSVirtualChannelCallback *  pChannelCallback,
UINT32  message_id,
UINT64  duration,
UINT32  data_size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tsmf_plugin_initialize()

static UINT tsmf_plugin_initialize ( IWTSPlugin *  pPlugin,
IWTSVirtualChannelManager *  pChannelMgr 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tsmf_plugin_terminated()

static UINT tsmf_plugin_terminated ( IWTSPlugin *  pPlugin)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tsmf_process_addin_args()

static UINT tsmf_process_addin_args ( IWTSPlugin *  pPlugin,
const ADDIN_ARGV args 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tsmf_send_eos_response()

BOOL tsmf_send_eos_response ( IWTSVirtualChannelCallback *  pChannelCallback,
UINT32  message_id 
)

FreeRDP: A Remote Desktop Protocol Implementation Video Redirection Virtual Channel

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.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ __pad0__

error_init __pad0__

◆ __pad1__

error_context __pad1__

◆ context

TsmfClientContext* context = NULL

◆ error

◆ status

return status

◆ tsmf

tsmf = NULL

Function description

Returns
0 on success, otherwise a Win32 error code