Home > OS >  It's really difficult to Windows API
It's really difficult to Windows API

Time:09-15

Today I use the CreateProcess () function creates a subroutine, and there's a function GetCurrentProcessId (), the purpose is to get the process PID, but I use the CreateProcess () function inside of the inside of the structure PROCESS_INFORMATION process ID to get the value of the asked what different?

CodePudding user response:

The same process id is the same, fixed, until the end of the process, and will no longer be used, so either you are wrong, or is according to the different process,

CodePudding user response:

reference 1/f, zara's reply:
is the same the same process id, fixed, until the end of the process, and will no longer be used, so either you are wrong, or is according to the different processes,

Good dalai I have a look at what's going on
  • Related