TsudaKageyu / minhook

The Minimalistic x86/x64 API Hooking Library for Windows
http://www.codeproject.com/KB/winsdk/LibMinHook.aspx
Other
4.43k stars 898 forks source link

Win9x (95/98/Me) Support? #121

Open ayuanx opened 1 year ago

ayuanx commented 1 year ago

Hi, I am looking for an API hook for Win9x (95/98/Me).

Does MinHook support Win9x?

I can't find any operating system requirement.

Thanks!

ayuanx commented 1 year ago

Well, I tested it out myself and it turns out MinHook does NOT support Win9x.

One reason is that "OpenThread()" is not available in Win9x. We need to write an equivalent function of "OpenThread()" in Win9X.

Or probably just skip the ProcessThreadIPs() all together (a little risky but if all hooks are initialized at good timing (i.e. DllMain), there is really no need to freeze or move the IP).