model_server/IDE/configshell/cfshell.cxx
//
// Determine if the component can be unloaded.
//
Determine if the component can be unloaded.
Determine if the component can be unloaded .
HRESULT CFactory::CanUnloadNow()
{
	if (CUnknown::ActiveComponents() || IsLocked())
	{
		return S_FALSE ;
	}
	else
	{
		return S_OK ;
	}
}
HRESULT CFactory :: CanUnloadNow ( ) { if ( CUnknown :: ActiveComponents ( ) || IsLocked ( ) ) { return S_FALSE ; } else { return S_OK ; } }
Determine if the component can be unloaded.
Determine if the component can be unloaded .