Refactoring xfer logic from twainsession out.

This commit is contained in:
soukoku
2014-04-20 18:42:51 -04:00
parent 1743b8379b
commit 4b08d3bc29
55 changed files with 717 additions and 688 deletions

View File

@@ -1,6 +1,7 @@
using NTwain.Data;
using NTwain.Internals;
using System;
using System.ComponentModel;
namespace NTwain
{
@@ -16,7 +17,7 @@ namespace NTwain
if (retVal == IntPtr.Zero)
{
throw new OutOfMemoryException();
throw new Win32Exception();
}
return retVal;
}