FtmBase::DisconnectObject Method

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;

Parameters

  • dwReserved
    Reserved for future use; must be zero.

Return Value

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

Requirements

Header: ftm.h

Namespace: Microsoft::WRL

See Also

Reference

FtmBase Class