This method removes the registration of an application from the Forms Manager.
HRESULT DeregisterStartedApplication( OLE_HANDLE hFC, BSTR bstrAppName );
NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.
An application needs to register with the Forms Manager to get the focus. An application registered with the Forms Manager should call IfmManage::DeregisterStartedApplication to remove the registration from the application before exiting. Once an application is no longer registered with the Forms Manager, the shell needs to restart the application to restore the focus to that application.
Context handles are always to the faceplate screen.
IfmManage::RegisterStartedApplication