FtmBase::DisconnectObject Method


For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

Forcibly releases all external connections to an object. The object's server calls the object's implementation of this method prior to shutting down.

STDMETHODIMP DisconnectObject(  
   __in DWORD dwReserved  
) override;  


Reserved for future use; must be zero.

S_OK if successful; otherwise, an HRESULT that indicates the error.

Header: ftm.h

Namespace: Microsoft::WRL

FtmBase Class