Function Reference


_WinAPI_GetGuiResources

Retrieves the count of handles to graphical user interface (GUI) objects in use by the specified process

#include <WinAPIProc.au3>
_WinAPI_GetGuiResources ( [$iFlag = 0 [, $hProcess = -1]] )

Parameters

$iFlag [optional] 0 (Default) Return the count of GDI objects.
1 Return the count of USER objects.
$hProcess [optional] A handle to the process. By default the current process.

Return Value

Success: The count of handles to GUI objects in use by the process, according to $iFlag
Failure: 0, call _WinAPI_GetLastError() to get extended error information

See Also

Search GetGuiResources in MSDN Library.