- swiCloseSwitch
closes a switch handle, releases the associated switching context, and closes the MVIP switching device. Switching calls that are passed a closed switch handle or an uninitialized switch handle will return CTAERR_INVALID_HANDLE.
- If the switch handle was opened with the SWI_ENABLE_RESTORE flag set in swiOpenSwitch
, switch block outputs affected by switching calls (using this handle) will be restored to the state they were in when swiOpenSwitch was called.