C++ Protect Process from being suspended

前端 未结 2 1600
天涯浪人
天涯浪人 2021-01-15 04:00

Is there any possible way to protect an exe from being suspended ?

Note that the i\'m the owner of the application.

2条回答
  •  春和景丽
    2021-01-15 04:19

    According to msdn. You need to disable the THREAD_SUSPEND_RESUME access right when creating the thread. This will prevent it from being suspended

提交回复
热议问题