Closes current scanner session.
Public Sub CloseSource()
Must be called after checking capabilities unless you are going to initiate a scan. Also, must be called after you are done with calling PageScan unless hDIB = 0 has been returned.
If called during a scan, the current scan job will be cancelled, clearing all current twain properties. Otherwise, no error will be caused by calling CloseSource at any time.