Effect of calling CloseHandle

What happens while the CloseHandle(handle) is called?

E

Expert

Verified

This function first checks the calling process’s handle table to ensure that the index (handle) passed to it identifies an object that the process does actually have access to. If the index is valid, the system gets the address of the kernel object’s data structure & decrements the usage count member in the structure; if the count is zero, the kernel demolish the kernel object from memory.

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.