Support svcctrl start event

This commit is contained in:
momo5502
2025-05-24 11:06:23 +02:00
parent 92bdf26669
commit 8abc7a65ef
2 changed files with 7 additions and 0 deletions

View File

@@ -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);

View File

@@ -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);