开发者

Get notifications of new threads / deleted threads under Windows

开发者 https://www.devze.com 2023-01-14 10:23 出处:网络
When you create a DLL you can get notifications about new threads / exiting threads in the DllMain function (DLL_THREAD_ATTACH/DLL_THREAD_DETACH).

When you create a DLL you can get notifications about new threads / exiting threads in the DllMain function (DLL_THREAD_ATTACH/DLL_THREAD_DETACH).

Is there a way to ge开发者_运维问答t these or equivalent notifications from Windows within an (non managed) Executable?


Yes - include a small stub DLL in your process that simply monitors DLL_THREAD_ATTACH and DLL_THREAD_DETACH in the way you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号