Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| Previous | Next |
IConnector::Disconnect
The Disconnect method disconnects this connector from another connector.
HRESULT Disconnect( void );
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 |
| E_NOTFOUND | This connector is already disconnected. |
| HRESULT_FROM_WIN32(ERROR_FILE_READ_ONLY) | A permanent connection cannot be disconnected. |
For information about the HRESULT_FROM_WIN32 macro, see the Windows SDK documentation.
Requirements
Client: Windows Vista
Header: Include Devicetopology.h.
See Also
| Previous | Next |