The GetGuiResources function returns the count of handles to graphical user interface (GUI) objects in use by the specified process.
DWORD GetGuiResource (
HANDLE hProcess, |
// identifies the process of interest |
DWORD uiFlags |
// indicates the GUI object type |
); |
Value |
Meaning |
GR_GDIOBJECTS |
Return the count of GDI objects. |
GR_USEROBJECTS |
Return the count of USER objects. |
If the function succeeds, the return value is the count of handles to GUI objects in use by the process. If no GUI objects are in use, the return value is zero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
A process without a graphical user interface does not use GUI resources, therefore, GetGuiResources will return zero.
CreateProcess, GetCurrentProcess, OpenProcess
file: /Techref/os/win/api/win32/func/src/f32_15.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/25 22:45,
3.148.106.49:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/Techref/os/win/api/win32/func/src/f32_15.htm"> GetGuiResources</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.