IPixConnectionDocument::Disconnect method

Explicitly disconnect from the device.

Syntax

HRESULT Disconnect();

Parameters

This method has no parameters.

Returns

S_OK if the disconnection was successful. For local connections, this is a no-op and returns S_OK. For remote connections, disconnects from the device.

Remarks

On success, the document transitions to disconnected state.

See also