How to detect when a handle to my process is opened with OpenProcess from a foreign process?
I have this code to get all handle of some process by PID using NtQuerySystemInformation()
I have this code to get all handle of some process by PID using NtQuerySystemInformation()