###User Defined Function###
_WinAPI_GetGuiResources

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

###Syntax###
#include <WinAPI.au3>
_WinAPI_GetGuiResources ( [$iflag = 1 [, $hProcess = -1]] )


###Parameters###
@@ParamTable@@
$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.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	The count of handles to GUI objects in use by the process, according to $iFlag
Failure:	0, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information
@@End@@


###Remarks###
None.


###Related###


###See Also###
@@MsdnLink@@ GetGuiResources
