Windows Programing Question:

Explain What is the purpose of Process Handle Table?

Windows Programing Interview Question
Windows Programing Interview Question

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 QuestionNext Question
Explain What are GPO links? What special things can I do to them?Explain What is multi tasking, multi programming, multi threading?