http://msdn.microsoft.com/msdnmag/issues/03/01/GDILeaks/ It indicates that there is a table that holds GDI internals and gives details about it. I can also confirm that the API call GdiQueryHandle in gdi32.dll retrieves pointer to this handle table.
Does anyone have any more info related to how GDI handles work, what the different bits mean, how to turn a gdi handle into an entry in the shared handle table, the internal structures behind the pointers or whatever?
Is anything more given in Windows Graphics Programming: Win32 GDI and DirectDraw that would help with this?
"Jonathan Wilson" jonwil@tpgi.com.au wrote:
Does anyone have any more info related to how GDI handles work, what the different bits mean, how to turn a gdi handle into an entry in the shared handle table, the internal structures behind the pointers or whatever?
Is anything more given in Windows Graphics Programming: Win32 GDI and DirectDraw that would help with this?
I already posted a name of the book which has what you want and even more.