Commit Graph

283 Commits

Author SHA1 Message Date
momo5502
b89000aae9 Fix warnings 2025-05-17 20:45:24 +02:00
momo5502
153fcc3691 Return display 2025-05-17 20:27:56 +02:00
momo5502
bd4e27469f Add more ui syscall stubs 2025-05-17 18:28:53 +02:00
momo5502
a2b3b5f1c2 Prepare UI support 2025-05-17 17:05:57 +02:00
momo5502
e0ee80bade Prepare window support 2025-05-17 08:11:45 +02:00
Igor Pissolati
a629f77e31 Miscellaneous fixes 2025-04-28 12:48:28 -03:00
Igor Pissolati
97ec131c50 Improvements to NtQueryDirectoryFileEx 2025-04-24 17:31:49 -03:00
Igor Pissolati
44fcc9970d Fix failing checks 2025-04-23 01:51:37 -03:00
Igor Pissolati
8dfcf2755c Add stub for NtAreMappedFilesTheSame and modify NtSetInformationKey to return success 2025-04-23 01:03:42 -03:00
Maurice Heumann
1b9e114737 Improvements to locale syscalls, fix TimeZone query and add more syscalls (#223)
This PR aims to do the following:
- Add the `NtUserGetAtomName` syscall.
- Add stub handlers for `NtUserSetWindowsHookEx`,
`NtUserUnhookWindowsHookEx`, and `NtUserCreateWindowEx`.
- Implement `NtGetNlsSectionPtr` (for Code Pages), add
`NtQueryDefaultUILanguage`, and improve `NtQueryInstallUILanguage`.
- Handle `SystemTimeZoneInformation`,
`SystemCurrentTimeZoneInformation`, and
`SystemDynamicTimeZoneInformation` in `NtQuerySystemInformation`.
- Skip `ThreadAffinityMask` in `NtSetInformationThread`.
- Fix `NtConnectPort` to allow TimeZone queries to work properly. This
is probably the most problematic change here because it required messing
with the shared section and hardcoding an offset (2504). Initializing
the data in this offset seems necessary for calls like
`GetTimeZoneInformation` to succeed, so maybe there's no other way
around it.
2025-04-22 09:08:42 +02:00
Igor Pissolati
b5abcce65d Fix NtUserGetAtomName signature 2025-04-22 03:45:52 -03:00
Igor Pissolati
bd8818c335 Fix failing checks 2025-04-22 02:35:54 -03:00
Igor Pissolati
7e93f5d7f6 Improvements to locale syscalls and fix TimeZone query 2025-04-22 01:48:52 -03:00
Igor Pissolati
039b276fb7 Add 3 new syscall stubs 2025-04-22 01:23:27 -03:00
Igor Pissolati
6deefb932f Add NtUserGetAtomName syscall 2025-04-22 01:19:05 -03:00
Igor Pissolati
763b8fc760 Improvements to registry syscalls 2025-04-20 16:09:04 -03:00
Igor Pissolati
317d90d7d8 Merge branch 'main' into pr/1 2025-04-20 01:34:06 -03:00
Igor Pissolati
e74b1dad5a Fix formatting (attempt 2) 2025-04-19 17:23:03 -03:00
Igor Pissolati
d8f8bd07f9 Fix failed check 2025-04-19 17:12:27 -03:00
Igor Pissolati
c702bedaee Add 3 new syscall handlers 2025-04-19 16:33:34 -03:00
Igor Pissolati
88a744a756 Hopefully fix formatting 2025-04-19 15:29:17 -03:00
Igor Pissolati
09b25d8c89 Fix NtDeleteAtom signature 2025-04-19 15:18:26 -03:00
Igor Pissolati
6b1df674ab Fix non-windows builds 2025-04-19 15:07:12 -03:00
Igor Pissolati
3dfad0f789 Add more atom-related syscalls 2025-04-19 13:52:13 -03:00
RektInator
acae9ff610 fix: fix parameters for NtQueryVirtualMemory in syscalls.cpp 2025-04-14 13:05:40 +02:00
RektInator
6379370a50 fix(syscalls): fix VirtualQuery return size, ignore unimplemented APC flags and log a warning. 2025-04-14 12:43:11 +02:00
RektInator
7bf0b67167 wip 2025-04-14 12:23:08 +02:00
momo5502
b3139cfacd Small fixes 2025-04-13 16:38:50 +02:00
momo5502
a3f811a466 Support all APC queue syscalls 2025-04-13 13:39:09 +02:00
momo5502
a8926592bc Prepare APC dispatching 2025-04-13 13:39:09 +02:00
momo5502
82227e4d41 Prepare NtQueueApcThreadEx2 support 2025-04-13 13:39:08 +02:00
momo5502
c0252a5f71 Add partial NtContinueEx support 2025-04-13 13:39:08 +02:00
momo5502
f58dec38a2 Prepare APC support 2025-04-13 13:39:08 +02:00
momo5502
891dafaf26 Cleanup file syscalls 2025-04-11 21:05:11 +02:00
RektInator
8bc49bdd03 refactor(windows-emulator/syscalls): partial refactor of syscalls.cpp, splits syscall implementations over multiple files 2025-04-11 16:42:00 +02:00
Maurice Heumann
67d34b3988 Small fix 2025-04-08 10:17:05 +02:00
momo5502
3c58c1af98 Log debug strings 2025-04-07 21:03:57 +02:00
Maurice Heumann
73c37eaeb1 Fix NtQueryInformationProcess ProcessDebugFlags 2025-04-07 15:47:00 +02:00
Maurice Heumann
66a529cf43 More logging 2025-04-07 15:36:25 +02:00
momo5502
2bc3cda062 Cleanup snapshot generation 2025-03-23 12:42:42 +01:00
momo5502
95dc6994b3 Add more dummy syscalls 2025-03-23 09:10:21 +01:00
momo5502
fef4124661 Support NtClearEvent 2025-03-22 21:19:04 +01:00
momo5502
56f304e3e0 "Support" SystemMemoryUsageInformation 2025-03-22 21:13:48 +01:00
momo5502
0dea8260cc Fix SystemLogicalProcessorInformation 2025-03-22 21:07:39 +01:00
momo5502
53fb2f9116 Support more syscalls 2025-03-22 19:53:53 +01:00
momo5502
13da0147ff Small progress 2025-03-22 10:09:39 +01:00
momo5502
df4208c34d Fix more warnings 2025-03-18 20:58:26 +01:00
Maurice Heumann
2cc2137c3a Unify steady and system clock 2025-03-18 12:10:59 +01:00
Maurice Heumann
450e3c2a9c Use clock interfaces to precisely control time 2025-03-18 11:48:44 +01:00
CarlTSpeak
fca3e026b0 Added handling of 2 info_classes to NtQueryInformationProcess and ThreadTimes to NtQueryInformationThread 2025-03-05 09:51:00 +00:00