I have a HANDLE of someone else's process, how can I pause this process and then continue it? PS windows.
The process can not be paused. You can pause the flow, freeze it, so to speak. As you know, the process without a single stream, that the apple tree without a caterpillar. There is no benefit from such a process and the Windows system automatically deletes it, or rather the Windows garbage collector (at the system level). Everyone knows that the underlying process of any process is its main thread, which controls all the threads created in
REALTIME MODE if any, of course. So, freeze the main thread using standard Windows functions: SuspendThread / ResumeThread . The process itself will create the illusion of a "foot", but in fact, its main flow will be frozen.