mirror of
https://github.com/soukoku/ntwain.git
synced 2026-02-25 13:04:07 +08:00
Refactoring xfer logic from twainsession out.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user