diff --git a/src/windows-emulator/handles.hpp b/src/windows-emulator/handles.hpp index 1efcce77..10fee2d2 100644 --- a/src/windows-emulator/handles.hpp +++ b/src/windows-emulator/handles.hpp @@ -410,6 +410,7 @@ constexpr auto DBWIN_BUFFER = make_pseudo_handle(0x2, handle_types::section); constexpr auto WER_PORT_READY = make_pseudo_handle(0x1, handle_types::event); constexpr auto DBWIN_DATA_READY = make_pseudo_handle(0x2, handle_types::event); constexpr auto DBWIN_BUFFER_READY = make_pseudo_handle(0x3, handle_types::event); +constexpr auto SVCCTRL_START_EVENT = make_pseudo_handle(0x4, handle_types::event); constexpr auto CONSOLE_HANDLE = make_pseudo_handle(0x1, handle_types::file); constexpr auto STDOUT_HANDLE = make_pseudo_handle(0x2, handle_types::file); diff --git a/src/windows-emulator/syscalls/event.cpp b/src/windows-emulator/syscalls/event.cpp index 2f1f90fd..a9c4d39b 100644 --- a/src/windows-emulator/syscalls/event.cpp +++ b/src/windows-emulator/syscalls/event.cpp @@ -107,6 +107,12 @@ namespace syscalls return STATUS_SUCCESS; } + if (name == u"Global\\SvcctrlStartEvent_A3752DX") + { + event_handle.write(SVCCTRL_START_EVENT.bits); + return STATUS_SUCCESS; + } + if (name == u"DBWIN_DATA_READY") { event_handle.write(DBWIN_DATA_READY.bits);