Using NTwain requires a basic understanding of the TWAIN state machine (Source Manager, Data Source, etc.). A typical implementation flow involves:
What if ntwain is the negative of twain ? ntwain