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 rdpRail * rail
 
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().

Definition at line 281 of file freerdp.h.

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

Definition at line 297 of file freerdp.h.

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

Definition at line 302 of file freerdp.h.

◆ autodetect

ALIGN64 rdpAutoDetect* rdpContext::autodetect

Definition at line 335 of file freerdp.h.

◆ cache

ALIGN64 rdpCache* rdpContext::cache

Definition at line 327 of file freerdp.h.

◆ channelErrorEvent

ALIGN64 HANDLE rdpContext::channelErrorEvent

Definition at line 310 of file freerdp.h.

◆ channelErrorNum

ALIGN64 UINT rdpContext::channelErrorNum

Definition at line 311 of file freerdp.h.

◆ channels

ALIGN64 rdpChannels* rdpContext::channels

Definition at line 328 of file freerdp.h.

◆ codecs

ALIGN64 rdpCodecs* rdpContext::codecs

Definition at line 334 of file freerdp.h.

◆ disconnectUltimatum

ALIGN64 int rdpContext::disconnectUltimatum

Definition at line 337 of file freerdp.h.

◆ dump

ALIGN64 rdpStreamDumpContext* rdpContext::dump

Definition at line 340 of file freerdp.h.

◆ errorDescription

ALIGN64 char* rdpContext::errorDescription

Definition at line 312 of file freerdp.h.

◆ 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.

Definition at line 322 of file freerdp.h.

◆ graphics

ALIGN64 rdpGraphics* rdpContext::graphics

Definition at line 329 of file freerdp.h.

◆ input

ALIGN64 rdpInput* rdpContext::input

Definition at line 330 of file freerdp.h.

◆ 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

Definition at line 283 of file freerdp.h.

◆ LastError

ALIGN64 UINT32 rdpContext::LastError

Definition at line 293 of file freerdp.h.

◆ log

ALIGN64 wLog* rdpContext::log

Definition at line 341 of file freerdp.h.

◆ metrics

ALIGN64 rdpMetrics* rdpContext::metrics

Definition at line 333 of file freerdp.h.

◆ paddingA

UINT64 rdpContext::paddingA[16 - 4]

Definition at line 295 of file freerdp.h.

◆ paddingB

UINT64 rdpContext::paddingB[32 - 22]

Definition at line 314 of file freerdp.h.

◆ paddingC

UINT64 rdpContext::paddingC[64 - 46]

Definition at line 338 of file freerdp.h.

◆ paddingC1

UINT64 rdpContext::paddingC1[45 - 44]

Definition at line 336 of file freerdp.h.

◆ paddingD

UINT64 rdpContext::paddingD[96 - 66]

Definition at line 343 of file freerdp.h.

◆ paddingE

UINT64 rdpContext::paddingE[128 - 96]

Definition at line 344 of file freerdp.h.

◆ 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.

Definition at line 287 of file freerdp.h.

◆ pubSub

ALIGN64 wPubSub* rdpContext::pubSub

Definition at line 308 of file freerdp.h.

◆ rail

ALIGN64 rdpRail* rdpContext::rail

Definition at line 326 of file freerdp.h.

◆ 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.

Definition at line 317 of file freerdp.h.

◆ ServerMode

ALIGN64 BOOL rdpContext::ServerMode

(offset 2) true when context is in server mode

Definition at line 291 of file freerdp.h.

◆ settings

ALIGN64 rdpSettings* rdpContext::settings

Definition at line 332 of file freerdp.h.

◆ update

ALIGN64 rdpUpdate* rdpContext::update

Definition at line 331 of file freerdp.h.


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