Freeing the TWAIN Session

When the TWAIN session is no longer needed, the user must free the internal handle by calling the EndSession method. At this point the internal TWAIN handle becomes invalid. Before acquiring any more images from a TWAIN source, the user must initialize a new internal TWAIN handle by calling the InitSession method.