Files
IronRDP/ffi
GlassOnTin 5bdb67980c feat(connector)!: expose SUPPORT_DYN_VC_GFX_PROTOCOL early-cap flag for EGFX clients (#1237)
Currently, `early_capability_flags` in the GCC core data is built from a
fixed set in `connection.rs`. Clients that want to use the Graphics
Pipeline Extension (MS-RDPEGFX) — by attaching a `DvcClientProcessor`
for `Microsoft::Windows::RDS::Graphics` — have no way to set
`SUPPORT_DYN_VC_GFX_PROTOCOL` without forking the connector, and modern
Windows servers won't open the EGFX channel unless the client advertises
support.

This PR adds an opt-in `Config.support_dyn_vc_gfx_protocol: bool`
(default `false`). When set, the flag is OR'd into
`early_capability_flags` alongside the existing `WANT_32_BPP_SESSION`
conditional. Existing consumers are unaffected; the doc comment includes
a safety note that setting this without an EGFX implementation will
cause Windows to stop sending legacy bitmap updates, leaving the desktop
blank.

Used downstream by [Haven](https://github.com/GlassHaven/Haven) (an
Android RDP/VNC client) which implements EGFX with ClearCodec +
RemoteFxProgressive decoders; this lets us drop a vendored fork of
`ironrdp-connector` we currently carry just for this one flag.

Default `false` to preserve current behaviour. `cargo check --workspace`
clean — six other in-tree `Config { … }` builders updated with the
default-false field.

---------

Co-authored-by: Marc-André Moreau <mamoreau@devolutions.net>
2026-08-30 07:04:01 -04:00
..

IronRDP FFI

Diplomat-based FFI for IronRDP.

Currently, only the .NET target is officially supported.

How to build

  • Install required tools: cargo xtask ffi install

    • For .NET, note that dotnet is also a requirement that you will need to install on your own.
  • Build the shared library: cargo xtask ffi build (alternatively, in release mode: cargo xtask ffi build --release)

  • Build the bindings: cargo xtask ffi bindings

At this point, you may build and run the examples for .NET:

  • dotnet run --project Devolutions.IronRdp.ConnectExample
  • dotnet run --project Devolutions.IronRdp.AvaloniaExample