Windows Programming Question:

Download Job Interview Questions and Answers PDF

How the handle helps in manipulating the kernel objects?

Windows Programming Interview Question
Windows Programming Interview Question

Answer:

Whenever you call a function that accepts a kernel object handle as an argument, you pass the value returned by one of the Create* functions. Internally, the function looks in your process’s handle table to get the address of the kernel object you want to manipulate and then manipulates the object’s data structure in a well-defined fashion.

Download Windows Programming Interview Questions And Answers PDF

Previous QuestionNext Question
User can access these kernel objects structures?You forget to call CloseHandle - will there be a memory leak?