From b367db358476038eb781812d8876ff66a8a1c4b7 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Thu, 7 Nov 2024 20:46:02 +0100 Subject: [PATCH] Fill sendto status block --- src/windows-emulator/devices/afd_endpoint.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/windows-emulator/devices/afd_endpoint.cpp b/src/windows-emulator/devices/afd_endpoint.cpp index 1c2f301..4f8d51b 100644 --- a/src/windows-emulator/devices/afd_endpoint.cpp +++ b/src/windows-emulator/devices/afd_endpoint.cpp @@ -116,6 +116,13 @@ namespace return STATUS_CONNECTION_REFUSED; } + if (c.io_status_block) + { + IO_STATUS_BLOCK block{}; + block.Information = data.size(); + c.io_status_block.write(block); + } + return STATUS_SUCCESS; } };