feat(rdpdr): DR_CORE_SERVER_CLIENTID_CONFIRM and DR_CORE_DEVICELIST_ANNOUNCE (#193)

Adds handling for `DR_CORE_SERVER_CLIENTID_CONFIRM` and `DR_CORE_DEVICELIST_ANNOUNCE`/`DR_CORE_DEVICELIST_ANNOUNCE_REQ`.
The next steps in the rdpdr initialization sequence.
This commit is contained in:
Isaiah Becker-Mayer 2023-09-20 22:29:01 +00:00 committed by GitHub
parent 86b86ba343
commit fe1567c887
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 311 additions and 44 deletions

View file

@ -9,7 +9,7 @@ fn expect_pointer_png(pointer: &DecodedPointer, expected_file_path: &str) {
let path = format!("{}/test_data/{}", env!("CARGO_MANIFEST_DIR"), expected_file_path);
if std::env::var("UPDATE_EXPECT").unwrap_or_default() == "1" {
let mut encoded_png = vec![];
let mut encoded_png = Vec::new();
let mut png = png::Encoder::new(&mut encoded_png, pointer.width as u32, pointer.height as u32);
png.set_color(png::ColorType::Rgba);