IConnector::Disconnect method (devicetopology.h)
The Disconnect method disconnects this connector from another connector.
Syntax
HRESULT Disconnect();
Return value
If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.
Return code | Description |
---|---|
|
This connector is already disconnected. |
|
A permanent connection cannot be disconnected. For information about this macro, see the Windows SDK documentation. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | devicetopology.h |