For each thread inside the snapshot, it checks if the thread belongs to The existing approach (by comparing its “th32OwnerProcessID” with The existing system ID returned by “GetCurrentProcessId”) and when its thread ID is different from the required “TheThreadId”, that's the main thread in this case. : a sum of https://stackencrypts27158.amoblog.com/not-known-facts-about-fund-recovery-58374883