Chuyu-Team / YY-Thunks

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

CancelIoEx are not fully implemented on Windows XP. #18

Closed lygstate closed 3 years ago

lygstate commented 3 years ago

Any possiblity to implement it properly on XP?

zeroclear commented 3 years ago

CancelIoEx calls NtCancelIoFileEx internally, it needs kernel support. YY-Thunks works only at user layer, so I think this is an impossible task. IO operations complete in kernel, from Vista kernel maintains a cancel IO list, thus CancelIoEx can cancel arbitrary IO request rather than all. Theoretically modify XP kernel can achieve it, but IO is the key of kernel, you can imagine how hard it is.

mingkuang-Chuyu commented 3 years ago

no…… This is almost impossible to complete. Of course, if you have good suggestions, please tell me.

mingkuang-Chuyu commented 3 years ago

我是无法解决,如果你可以解决 请提供解决方案……