Windows Programming Question:
What is the purpose of Process Handle Table?

Answer:
When a process is initialized, the system allocates a handle table for it. This handle table is used only for kernel objects, not for User objects or GDI objects. When a process first initializes, its handle table is empty. Then when a thread in the process calls a function that creates a kernel object, such as CreateFileMapping , the kernel allocates a block of memory for the object and initializes it; the kernel then scans the process’s handle table for an empty entry
Previous Question | Next Question |
What is handle? | Which is the data member common to all the kernel object and what is the use of it? |