Chuyu-Team / YY-Thunks

Fix DecodePointer, EncodePointer,RegDeleteKeyEx etc. APIs not found in Windows XP RTM.
MIT License
567 stars 103 forks source link

Python 3.11 XP兼容(提示缺失 SetWaitableTimerEx) #55

Closed felixmaker closed 1 year ago

felixmaker commented 1 year ago

请求添加 SetWaitableTimerEx 实现 Python 3.11 用到了这个 SetWaitableTimerEx

mingkuang-Chuyu commented 1 year ago

还缺其他吗?建议完整的过一遍导入表,把需要的API都罗列一下。这样一次修完。

SetWaitableTimerEx 调用 SetWaitableTimer就可以了,SetWaitableTimer最低支持到WinXP。 我目录从Windows 7的kernerbase的SetWaitableTimer实现反推出了 SetWaitableTimerEx 兼容代码。

详细代码见提交记录。

felixmaker commented 1 year ago

我看解释器就差这个 API,其他的外部依赖 openssl、tk86、libffi 我再学习一下

felixmaker commented 1 year ago

以我现在的认识水平来看,只缺少 SetWaitableTimerEx

mingkuang-Chuyu commented 1 year ago

@felixmaker ,帮忙验证一下:https://github.com/Chuyu-Team/YY-Thunks/actions/runs/4917657412 里面有个:Artifacts

如果发现有其他API缺失则继续更新此Issue。

mingkuang-Chuyu commented 1 year ago

https://github.com/Chuyu-Team/YY-Thunks/releases/tag/v1.0.8-Beta1