###User Defined Function###
_WinAPI_OpenJobObject

###Description###
Opens an existing job object.

###Syntax###
#include <WinAPIProc.au3>
_WinAPI_OpenJobObject ( $sName [, $iAccess = 0 [, $fInherit = 0]] )


###Parameters###
@@ParamTable@@
$sName
	The name of the job to be opened. Name comparisons are case sensitive.
$iAccess
	[optional] The access to the job object. This parameter can be one or more of the following values.
	$JOB_OBJECT_ALL_ACCESS
	$JOB_OBJECT_ASSIGN_PROCESS
	$JOB_OBJECT_QUERY
	$JOB_OBJECT_SET_ATTRIBUTES
	$JOB_OBJECT_SET_SECURITY_ATTRIBUTES
	$JOB_OBJECT_TERMINATE
$fInherit
	[optional] Specifies whether inherites the handle by a processes, valid values:
	True     - The processes created by this process will inherit the handle.
	False    - The processes do not inherit this handle (Default).
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	Handle to the job object.
Failure 	0, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information.
@@End@@


###Remarks###
None


###Related###


###See Also###
@@MsdnLink@@ OpenJobObject
