Implemented memory-file transfer.

This commit is contained in:
soukoku
2014-04-07 19:21:33 -04:00
parent 05e4eb8504
commit 2820cf7a8d
9 changed files with 88 additions and 49 deletions

View File

@@ -146,8 +146,8 @@ namespace NTwain
{
if (tryUpperWord)
{
// small routine to see if works with bad sources that put
// 16bit value in the upper word instead of lower word.
// small routine to work with bad sources that put
// 16bit value in the upper word instead of lower word as per the twain spec.
var rawType = Enum.GetUnderlyingType(returnType);
if (typeof(ushort).IsAssignableFrom(rawType))
{