Detaches the created object from the activation object.
HRESULT DetachObject( );
This method has no parameters.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The method succeeded.|
The activation object releases all of its internal references to the created object. If you call ActivateObject again, the activation object will create a new instance of the other object.
The DetachObject method does not shut down the created object. If the DetachObject method succeeds, the client must shut down the created object. This rule applies only to objects that have a shutdown method or that support the IMFShutdown interface. See the remarks for IMFActivate::ActivateObject.
Implementation of this method is optional. If the activation object does not support this method, the method returns E_NOTIMPL.
|Minimum supported client||Windows Vista [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 [desktop apps | UWP apps]|