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
 
UINT64 paddingC1 [45 - 44]
 
ALIGN64 int disconnectUltimatum
 
UINT64 paddingC [64 - 46]
 
ALIGN64 rdpStreamDumpContext * dump
 
ALIGN64 wLog * log
 
UINT64 paddingD [96 - 66]
 
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

◆ argc

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()

◆ argv

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()

◆ autodetect

ALIGN64 rdpAutoDetect* rdpContext::autodetect

◆ cache

ALIGN64 rdpCache* rdpContext::cache

◆ channelErrorEvent

ALIGN64 HANDLE rdpContext::channelErrorEvent

◆ channelErrorNum

ALIGN64 UINT rdpContext::channelErrorNum

◆ channels

ALIGN64 rdpChannels* rdpContext::channels

◆ codecs

ALIGN64 rdpCodecs* rdpContext::codecs

◆ disconnectUltimatum

ALIGN64 int rdpContext::disconnectUltimatum

◆ dump

ALIGN64 rdpStreamDumpContext* rdpContext::dump

◆ errorDescription

ALIGN64 char* rdpContext::errorDescription

◆ gdi

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.

◆ graphics

ALIGN64 rdpGraphics* rdpContext::graphics

◆ input

ALIGN64 rdpInput* rdpContext::input

◆ instance

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

◆ LastError

ALIGN64 UINT32 rdpContext::LastError

◆ log

ALIGN64 wLog* rdpContext::log

◆ metrics

ALIGN64 rdpMetrics* rdpContext::metrics

◆ paddingA

UINT64 rdpContext::paddingA[16 - 4]

◆ paddingB

UINT64 rdpContext::paddingB[32 - 22]

◆ paddingC

UINT64 rdpContext::paddingC[64 - 46]

◆ paddingC1

UINT64 rdpContext::paddingC1[45 - 44]

◆ paddingD

UINT64 rdpContext::paddingD[96 - 66]

◆ paddingE

UINT64 rdpContext::paddingE[128 - 96]

◆ peer

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.

◆ pubSub

ALIGN64 wPubSub* rdpContext::pubSub

◆ rail

ALIGN64 rdpRail* rdpContext::rail

◆ rdp

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.

◆ ServerMode

ALIGN64 BOOL rdpContext::ServerMode

(offset 2) true when context is in server mode

◆ settings

ALIGN64 rdpSettings* rdpContext::settings

◆ update

ALIGN64 rdpUpdate* rdpContext::update

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