FreeRDP
rdpContext Struct Reference

#include <freerdp.h>

Data Fields

ALIGN64 freerdp * instance
 
ALIGN64 freerdp_peer * peer
 
ALIGN64 BOOL ServerMode
 
ALIGN64 UINT32 LastError
 
UINT64 paddingA [16-4]
 
ALIGN64 int argc
 
ALIGN64 char ** argv
 
ALIGN64 wPubSub * pubSub
 
ALIGN64 HANDLE channelErrorEvent
 
ALIGN64 UINT channelErrorNum
 
ALIGN64 char * errorDescription
 
UINT64 paddingB [32-22]
 
ALIGN64 rdpRdp * rdp
 
ALIGN64 rdpGdi * gdi
 
ALIGN64 rdpRailrail
 
ALIGN64 rdpCache * cache
 
ALIGN64 rdpChannels * channels
 
ALIGN64 rdpGraphics * graphics
 
ALIGN64 rdpInput * input
 
ALIGN64 rdpUpdate * update
 
ALIGN64 rdpSettings * settings
 
ALIGN64 rdpMetrics * metrics
 
ALIGN64 rdpCodecs * codecs
 
ALIGN64 rdpAutoDetect * autodetect
 
ALIGN64 HANDLE abortEvent
 
ALIGN64 int disconnectUltimatum
 
UINT64 paddingC [64-46]
 
UINT64 paddingD [96-64]
 
UINT64 paddingE [128-96]
 

Detailed Description

Defines the context for a given instance of RDP connection. It is embedded in the rdp_freerdp structure, and allocated by a call to freerdp_context_new(). It is deallocated by a call to freerdp_context_free().

Field Documentation

ALIGN64 HANDLE rdpContext::abortEvent
ALIGN64 int rdpContext::argc

(offset 16) Number of arguments given to the program at launch time. Used to keep this data available and used later on, typically just before connection initialization.

See also
freerdp_parse_args()
ALIGN64 char** rdpContext::argv

(offset 17) List of arguments given to the program at launch time. Used to keep this data available and used later on, typically just before connection initialization.

See also
freerdp_parse_args()
ALIGN64 rdpAutoDetect* rdpContext::autodetect
ALIGN64 rdpCache* rdpContext::cache
ALIGN64 HANDLE rdpContext::channelErrorEvent
ALIGN64 UINT rdpContext::channelErrorNum
ALIGN64 rdpChannels* rdpContext::channels
ALIGN64 rdpCodecs* rdpContext::codecs
ALIGN64 int rdpContext::disconnectUltimatum
ALIGN64 char* rdpContext::errorDescription
ALIGN64 rdpGdi* rdpContext::gdi

(offset 33) Pointer to a rdp_gdi structure used to keep the gdi settings. It is allocated by gdi_init() and deallocated by gdi_free(). It must be deallocated before deallocating this rdp_context structure.

ALIGN64 rdpGraphics* rdpContext::graphics
ALIGN64 rdpInput* rdpContext::input
ALIGN64 freerdp* rdpContext::instance

(offset 0) Pointer to a rdp_freerdp structure. This is a back-link to retrieve the freerdp instance from the context. It is set by the freerdp_context_new() function

ALIGN64 UINT32 rdpContext::LastError
ALIGN64 rdpMetrics* rdpContext::metrics
UINT64 rdpContext::paddingA[16-4]
UINT64 rdpContext::paddingB[32-22]
UINT64 rdpContext::paddingC[64-46]
UINT64 rdpContext::paddingD[96-64]
UINT64 rdpContext::paddingE[128-96]
ALIGN64 freerdp_peer* rdpContext::peer

(offset 1) Pointer to the client peer. This is set by a call to freerdp_peer_context_new() during peer initialization. This field is used only on the server side.

ALIGN64 wPubSub* rdpContext::pubSub
ALIGN64 rdpRail* rdpContext::rail
ALIGN64 rdpRdp* rdpContext::rdp

(offset 32) Pointer to a rdp_rdp structure used to keep the connection's parameters. It is allocated by freerdp_context_new() and deallocated by freerdp_context_free(), at the same time that this rdp_context structure - there is no need to specifically allocate/deallocate this.

ALIGN64 BOOL rdpContext::ServerMode

(offset 2) true when context is in server mode

ALIGN64 rdpSettings* rdpContext::settings
ALIGN64 rdpUpdate* rdpContext::update

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