FreeRDP
include/freerdp/update.h File Reference
#include <winpr/crt.h>
#include <winpr/wlog.h>
#include <winpr/synch.h>
#include <winpr/thread.h>
#include <winpr/stream.h>
#include <winpr/collections.h>
#include <freerdp/rail.h>
#include <freerdp/types.h>
#include <freerdp/settings.h>
#include <freerdp/graphics.h>
#include <freerdp/utils/pcap.h>
#include <freerdp/primary.h>
#include <freerdp/secondary.h>
#include <freerdp/altsec.h>
#include <freerdp/window.h>
#include <freerdp/pointer.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  BITMAP_DATA
 
struct  BITMAP_UPDATE
 
struct  PALETTE_UPDATE
 
struct  PLAY_SOUND_UPDATE
 
struct  TS_COMPRESSED_BITMAP_HEADER_EX
 
struct  TS_BITMAP_DATA_EX
 
struct  SURFACE_BITS_COMMAND
 
struct  SURFACE_FRAME_MARKER
 
struct  SURFACE_FRAME
 
struct  rdpUpdate
 

Macros

#define EX_COMPRESSED_BITMAP_HEADER_PRESENT   0x01
 

Typedefs

typedef BOOL(* pBeginPaint) (rdpContext *context)
 
typedef BOOL(* pEndPaint) (rdpContext *context)
 
typedef BOOL(* pSetBounds) (rdpContext *context, const rdpBounds *bounds)
 
typedef BOOL(* pSynchronize) (rdpContext *context)
 
typedef BOOL(* pDesktopResize) (rdpContext *context)
 
typedef BOOL(* pBitmapUpdate) (rdpContext *context, const BITMAP_UPDATE *bitmap)
 
typedef BOOL(* pPalette) (rdpContext *context, const PALETTE_UPDATE *palette)
 
typedef BOOL(* pPlaySound) (rdpContext *context, const PLAY_SOUND_UPDATE *play_sound)
 
typedef BOOL(* pSetKeyboardIndicators) (rdpContext *context, UINT16 led_flags)
 
typedef BOOL(* pRefreshRect) (rdpContext *context, BYTE count, const RECTANGLE_16 *areas)
 
typedef BOOL(* pSuppressOutput) (rdpContext *context, BYTE allow, const RECTANGLE_16 *area)
 
typedef BOOL(* pRemoteMonitors) (rdpContext *context, UINT32 count, const MONITOR_DEF *monitors)
 
typedef BOOL(* pSurfaceCommand) (rdpContext *context, wStream *s)
 
typedef BOOL(* pSurfaceBits) (rdpContext *context, const SURFACE_BITS_COMMAND *surfaceBitsCommand)
 
typedef BOOL(* pSurfaceFrameMarker) (rdpContext *context, const SURFACE_FRAME_MARKER *surfaceFrameMarker)
 
typedef BOOL(* pSurfaceFrameBits) (rdpContext *context, const SURFACE_BITS_COMMAND *cmd, BOOL first, BOOL last, UINT32 frameId)
 
typedef BOOL(* pSurfaceFrameAcknowledge) (rdpContext *context, UINT32 frameId)
 
typedef BOOL(* pSaveSessionInfo) (rdpContext *context, UINT32 type, void *data)
 
typedef BOOL(* pSetKeyboardImeStatus) (rdpContext *context, UINT16 imeId, UINT32 imeState, UINT32 imeConvMode)
 
typedef BOOL(* pServerStatusInfo) (rdpContext *context, UINT32 status)
 

Enumerations

enum  SURFCMD_CMDTYPE { CMDTYPE_SET_SURFACE_BITS = 0x0001 , CMDTYPE_FRAME_MARKER = 0x0004 , CMDTYPE_STREAM_SURFACE_BITS = 0x0006 }
 
enum  SURFCMD_FRAMEACTION { SURFACECMD_FRAMEACTION_BEGIN = 0x0000 , SURFACECMD_FRAMEACTION_END = 0x0001 }
 
enum  {
  TS_STATUS_FINDING_DESTINATION = 0x00000401 , TS_STATUS_LOADING_DESTINATION = 0x00000402 , TS_STATUS_BRINGING_SESSION_ONLINE = 0x00000403 , TS_STATUS_REDIRECTING_TO_DESTINATION = 0x00000404 ,
  TS_STATUS_VM_LOADING = 0x00000501 , TS_STATUS_VM_WAKING = 0x00000502 , TS_STATUS_VM_STARTING = 0x00000503 , TS_STATUS_VM_STARTING_MONITORING = 0x00000504 ,
  TS_STATUS_VM_RETRYING_MONITORING = 0x00000505
}
 status code as in 2.2.5.2 Server Status Info PDU More...
 

Functions

FREERDP_API void rdp_update_lock (rdpUpdate *update)
 
FREERDP_API void rdp_update_unlock (rdpUpdate *update)
 

Macro Definition Documentation

◆ EX_COMPRESSED_BITMAP_HEADER_PRESENT

#define EX_COMPRESSED_BITMAP_HEADER_PRESENT   0x01

FreeRDP: A Remote Desktop Protocol Implementation Update Interface API

Copyright 2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..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.

Typedef Documentation

◆ pBeginPaint

typedef BOOL(* pBeginPaint) (rdpContext *context)

◆ pBitmapUpdate

typedef BOOL(* pBitmapUpdate) (rdpContext *context, const BITMAP_UPDATE *bitmap)

◆ pDesktopResize

typedef BOOL(* pDesktopResize) (rdpContext *context)

◆ pEndPaint

typedef BOOL(* pEndPaint) (rdpContext *context)

◆ pPalette

typedef BOOL(* pPalette) (rdpContext *context, const PALETTE_UPDATE *palette)

◆ pPlaySound

typedef BOOL(* pPlaySound) (rdpContext *context, const PLAY_SOUND_UPDATE *play_sound)

◆ pRefreshRect

typedef BOOL(* pRefreshRect) (rdpContext *context, BYTE count, const RECTANGLE_16 *areas)

◆ pRemoteMonitors

typedef BOOL(* pRemoteMonitors) (rdpContext *context, UINT32 count, const MONITOR_DEF *monitors)

◆ pSaveSessionInfo

typedef BOOL(* pSaveSessionInfo) (rdpContext *context, UINT32 type, void *data)

◆ pServerStatusInfo

typedef BOOL(* pServerStatusInfo) (rdpContext *context, UINT32 status)

◆ pSetBounds

typedef BOOL(* pSetBounds) (rdpContext *context, const rdpBounds *bounds)

◆ pSetKeyboardImeStatus

typedef BOOL(* pSetKeyboardImeStatus) (rdpContext *context, UINT16 imeId, UINT32 imeState, UINT32 imeConvMode)

◆ pSetKeyboardIndicators

typedef BOOL(* pSetKeyboardIndicators) (rdpContext *context, UINT16 led_flags)

◆ pSuppressOutput

typedef BOOL(* pSuppressOutput) (rdpContext *context, BYTE allow, const RECTANGLE_16 *area)

◆ pSurfaceBits

typedef BOOL(* pSurfaceBits) (rdpContext *context, const SURFACE_BITS_COMMAND *surfaceBitsCommand)

◆ pSurfaceCommand

typedef BOOL(* pSurfaceCommand) (rdpContext *context, wStream *s)

◆ pSurfaceFrameAcknowledge

typedef BOOL(* pSurfaceFrameAcknowledge) (rdpContext *context, UINT32 frameId)

◆ pSurfaceFrameBits

typedef BOOL(* pSurfaceFrameBits) (rdpContext *context, const SURFACE_BITS_COMMAND *cmd, BOOL first, BOOL last, UINT32 frameId)

◆ pSurfaceFrameMarker

typedef BOOL(* pSurfaceFrameMarker) (rdpContext *context, const SURFACE_FRAME_MARKER *surfaceFrameMarker)

◆ pSynchronize

typedef BOOL(* pSynchronize) (rdpContext *context)

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

status code as in 2.2.5.2 Server Status Info PDU

Enumerator
TS_STATUS_FINDING_DESTINATION 
TS_STATUS_LOADING_DESTINATION 
TS_STATUS_BRINGING_SESSION_ONLINE 
TS_STATUS_REDIRECTING_TO_DESTINATION 
TS_STATUS_VM_LOADING 
TS_STATUS_VM_WAKING 
TS_STATUS_VM_STARTING 
TS_STATUS_VM_STARTING_MONITORING 
TS_STATUS_VM_RETRYING_MONITORING 

◆ SURFCMD_CMDTYPE

Enumerator
CMDTYPE_SET_SURFACE_BITS 
CMDTYPE_FRAME_MARKER 
CMDTYPE_STREAM_SURFACE_BITS 

◆ SURFCMD_FRAMEACTION

Enumerator
SURFACECMD_FRAMEACTION_BEGIN 
SURFACECMD_FRAMEACTION_END 

Function Documentation

◆ rdp_update_lock()

FREERDP_API void rdp_update_lock ( rdpUpdate *  update)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_update_unlock()

FREERDP_API void rdp_update_unlock ( rdpUpdate *  update)
Here is the call graph for this function:
Here is the caller graph for this function: