![]() CreateProcess creates a new process with a single primary thread (which might create additional threads). Note first that the function does not return a HANDLE rather, two separate handles, one each for the process and the thread, are returned in a structure specified in the call. Related functions are then easier to understand. Just as with CreateFile, it is appropriate to explain all the CreateProcess parameters. Initially, it is simplest to use default values. It is simply convenient to refer to the process that creates a child process as the parent.ĬreateProcess has 10 parameters to support its flexibility and power. It is common to speak of parent and child processes, but Windows does not actually maintain these relationships. Specify the name of an executable program file as part of the CreateProcess call. The fundamental Windows process management function is CreateProcess, which creates a process with a single thread.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |