Objects Inherited Through a CreateProcess CallLast reviewed: December 16, 1996Article ID: Q83298 |
The information in this article applies to:
The objects inherited by a process started by a call to CreateProcess() are those objects that you can get a handle to and on which you can use the CloseHandle() function. These objects include the following:
Processes Events Semaphores Mutexes Files (including file mappings) Standard input, output, or error devicesHowever, the new process will only inherit objects that were marked inheritable by the old process. These are duplicate handles. Each process maintains memory for its own handle table. If one of the processes modifies its handle (for example, closes it or changes the mode for the console handle), other processes will not be affected. Processes will also inherit environment variables, the current directory, and priority class.
|
KBCategory: kbprg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |