c++ - GetGuiResources WIn32 API usage -
i trying use getguiresources
find gui resources used program.it takes flag second parameter. interested know difference between gr_userobjects
, gr_gdiobjects
. couldn't find documentation around it. can explain difference between them? know default maximum 10k gdi handles can opened process @ time. value returned gr_gdiobjects
counted part of 10k limit?
gr_userobjects user32 objects, windows , menus.
gr_gdiobjects gdi32 objects, device contexts, fonts, bitmaps, cursors, icons, brushes, pens, regions, palettes, metafiles, paths.
there little point in using getguiresources() in program, these values readily visible in task manager. view + select columns , tick user objects , gdi objects. there ought ton of web pages talk these counters.
the default 10,000 handle quota per-process. there's limit on total number of handles created processes in session, backgrounder is here.
Comments
Post a Comment