Overview of a Handle
-
Hi, I have a small query regarding HANDLE. What exactly it means. what type of data it will stores. Is there an specific structure ot the HANDLE Chinna.
A number assigned to a window that is used by the operating system to keep track of the attributes of the window. In a C or C++ library, a handle is a pointer. For more information please go through the MSDN. Regards, Paresh.
-
Hi, I have a small query regarding HANDLE. What exactly it means. what type of data it will stores. Is there an specific structure ot the HANDLE Chinna.
I could be many things. It could be one thing in one OS version and an entirely different beast in another OS version. Possible implementations are indexes into arrays, keys into hash tables, a pointer to a data structure… The important thing is that all operations go through APIs so the OS is free to change the implementation and the code will still run without needing to be altered; as long as the size of the HANDLE doesn't change.
Steve
-
Hi, I have a small query regarding HANDLE. What exactly it means. what type of data it will stores. Is there an specific structure ot the HANDLE Chinna.
Kotesh.N wrote:
Is there an specific structure
you can see it as memeory location!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You