###User Defined Function###
_WinAPI_EnumProcessHandles

###Description###
Enumerates a handles that belong to the specified process.

###Syntax###
#include <WinAPIProc.au3>
_WinAPI_EnumProcessHandles ( [$PID = 0 [, $iType = 0]] )


###Parameters###
@@ParamTable@@
$PID
	[optional] The PID of the process. Default (0) is the current process.
$iType
	[optional] The value associated with the type of the objects that should be enumerated.
	This value depends on the operating system. If this parameter is 0 (Default), all handles of the specified process will be enumerated.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	The 2D array containing the following information:
		[0][0] - Number of rows in array (n)
		[0][i] - Unused
		[n][0] - Handle
		[n][1] - Type (depends on the operating system)
		[n][2] - Attributes
		[n][3] - Access
Failure 	Sets the @error flag to non-zero, @extended f lag may contain the NTSTATUS error code.
@@End@@


###Remarks###
None


###Related###


###See Also###
@@MsdnLink@@ ZwQuerySystemInformation


###Example###
@@IncludeExample@@
