Causes this application to release all references and enter an inactive state.
This method takes no parameters.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
The method succeeded.
Typically, the owner of an application calls this method when the application exits.
This method causes IApplicationDebugger::onClose to be called.