###User Defined Function###
_IEQuit

###Description###
Close the browser and remove the object reference to it.

###Syntax###
#include <IE.au3>
_IEQuit ( ByRef $o_object )


###Parameters###
@@ParamTable@@
$o_object
	Object variable of an InternetExplorer.Application
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	1.
Failure:	0 and sets the @error flag to non-zero.
@error:	2 ($_IEStatus_COMError) - COM Error in Object reference
	3 ($_IEStatus_InvalidDataType) - Invalid Data Type
	4 ($_IEStatus_InvalidObjectType) - Invalid Object Type
@extended:	Contains invalid parameter number
@@End@@


###Remarks###
<a href="_IEQuit.htm">_IEQuit()</a> is particularly important when creating or working with invisible instances of Internet Explorer.
When AutoIt exits when working with visible instances of a browser, the browser continues to run and the visible window is left for the user to manage.
When the browser instance is invisible however, when AutoIt exits the browser process is left running and there is no user interface to interact with and an orphan Iexplore.exe process is left running on the system.
It is therefore good practice to call <a href="_IEQuit.htm">_IEQuit()</a> whenever the browser process is not needed after the script exists.

<a href="_IEQuit.htm">_IEQuit()</a> is not allowed with embedded browser objects created with <a href="_IECreateEmbedded.htm">_IECreateEmbedded()</a>.
The browser processes associated with those objects will close when their parent GUI window is destroyed.


###Related###
_IEAttach, _IECreate


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