diff --git a/NTwain/Data/Types.cs b/NTwain/Data/Types.cs
index dcff70f..6f7ec43 100644
--- a/NTwain/Data/Types.cs
+++ b/NTwain/Data/Types.cs
@@ -114,7 +114,6 @@ namespace NTwain.Data
CallbackDelegate _callBackProc;
TW_UINT32 _refCon;
TW_INT16 _message;
-
}
[StructLayout(LayoutKind.Sequential, Pack = 2)]
@@ -538,7 +537,7 @@ namespace NTwain.Data
}
[StructLayout(LayoutKind.Sequential, Pack = 2)]
- partial struct TWFilterDescriptor
+ partial class TWFilterDescriptor
{
TW_UINT32 _size;
TW_UINT32 _hueStart;
diff --git a/NTwain/Data/TypesExtended.cs b/NTwain/Data/TypesExtended.cs
index 0e31c42..ff5e4cb 100644
--- a/NTwain/Data/TypesExtended.cs
+++ b/NTwain/Data/TypesExtended.cs
@@ -468,13 +468,15 @@ namespace NTwain.Data
///
public TWDecodeFunction[] Decode { get { return _decode; } set { _decode = value; } }
///
- /// 3x3 matrix that specifies how channels are mixed in
+ /// 3x3 matrix that specifies how channels are mixed in.
///
public TWFix32[][] Mix { get { return _mix; } set { _mix = value; } }
}
///
- /// Container for a collection of values.
+ /// Stores a group of associated individual values for a capability.
+ /// The values need have no relationship to one another aside from
+ /// being used to describe the same "value" of the capability
///
public partial class TWArray
{
@@ -514,21 +516,67 @@ namespace NTwain.Data
public string Name { get { return _name; } }
}
+ ///
+ /// Used in Callback mechanism for sending messages from the Source to the Application.
+ /// Applications version 2.2 or higher must use .
+ ///
partial class TWCallback
{
- public TWCallback() { }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The callback function’s entry point.
public TWCallback(CallbackDelegate callback)
{
_callBackProc = callback;
}
+
+ ///
+ /// An application defined reference constant.
+ ///
+ ///
+ /// The reference constant.
+ ///
+ public uint RefCon { get { return _refCon; } set { _refCon = value; } }
+
+ ///
+ /// Initialized to any valid DG_CONTROL / DAT_NULL message.
+ ///
+ ///
+ /// The message.
+ ///
+ public short Message { get { return _message; } set { _message = value; } }
}
+ ///
+ /// Used in the Callback mechanism for sending messages from the Source to the Application.
+ ///
partial class TWCallback2
{
- public TWCallback2() { }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The callback function’s entry point.
public TWCallback2(CallbackDelegate callback)
{
_callBackProc = callback;
}
+
+ ///
+ /// An application defined reference constant. It has a different size on different
+ /// platforms.
+ ///
+ ///
+ /// The reference constant.
+ ///
+ public UIntPtr RefCon { get { return _refCon; } set { _refCon = value; } }
+
+ ///
+ /// Initialized to any valid DG_CONTROL / DAT_NULL message.
+ ///
+ ///
+ /// The message.
+ ///
+ public short Message { get { return _message; } set { _message = value; } }
}
///
@@ -592,16 +640,12 @@ namespace NTwain.Data
///
public CapabilityId Capability { get { return (CapabilityId)_cap; } set { _cap = (ushort)value; } }
///
- /// The type of the container structure referenced by hContainer. The container
+ /// The type of the container structure referenced by the pointer internally. The container
/// will be one of four types: , ,
/// , or .
///
public ContainerType ContainerType { get { return (Values.ContainerType)_conType; } set { _conType = (ushort)value; } }
- /////
- ///// References the container structure where detailed information about the
- ///// capability is stored.
- /////
- //IntPtr hContainer;
+
#endregion
@@ -1072,6 +1116,9 @@ namespace NTwain.Data
#region IDisposable Members
+ ///
+ /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+ ///
public void Dispose()
{
if (_hContainer != IntPtr.Zero)
@@ -1082,6 +1129,9 @@ namespace NTwain.Data
GC.SuppressFinalize(this);
}
+ ///
+ /// Finalizes an instance of the class.
+ ///
~TWCapability()
{
if (_hContainer != IntPtr.Zero)
@@ -1234,7 +1284,7 @@ namespace NTwain.Data
/// Values that specify the CIE 1931 (XYZ space) tri-stimulus value of solid
/// black ink on the "paper" from which the image was acquired.
///
- public TWCiePoint WhiteInk { get { return _blackInk; } set { _blackInk = value; } }
+ public TWCiePoint BlackInk { get { return _blackInk; } set { _blackInk = value; } }
///
/// Optional table look-up values used by the decode function. Samples
/// are ordered sequentially and end-to-end as A, B, C, L, M, and N.
@@ -1402,10 +1452,8 @@ namespace NTwain.Data
}
///
- /// Container for a collection of values. The values are ordered from lowest
- /// to highest values, but the step size between each value is probably not uniform. Such a list
- /// would be useful to describe the discreet resolutions of a capture device supporting, say, 75, 150,
- /// 300, 400, and 800 dots per inch.
+ /// An enumeration stores a list of individual values, with one of the items designated as the current
+ /// value. There is no required order to the values in the list.
///
public partial class TWEnumeration
{
@@ -1418,12 +1466,12 @@ namespace NTwain.Data
/////
//public int Count { get { return (int)_numItems; } set { _numItems = (uint)value; } }
///
- /// The item number, or index (zero-based) into ItemList[], of the "current"
+ /// The item number, or index (zero-based) into , of the "current"
/// value for the capability.
///
public int CurrentIndex { get { return (int)_currentIndex; } set { _currentIndex = (uint)value; } }
///
- /// The item number, or index (zero-based) into ItemList[], of the "power-on"
+ /// The item number, or index (zero-based) into , of the "power-on"
/// value for the capability.
///
public int DefaultIndex { get { return (int)_defaultIndex; } set { _defaultIndex = (uint)value; } }
@@ -1449,9 +1497,8 @@ namespace NTwain.Data
///
- /// Used to pass application events/messages from the application to the Source. The Source is
- /// responsible for examining the event/message, deciding if it belongs to the Source, and
- /// returning an appropriate return code to indicate whether or not the Source owns the event/message.
+ /// Used on Windows and Macintosh pre OS X to pass application events/messages from the
+ /// application to the Source.
///
public partial class TWEvent
{
@@ -1464,13 +1511,16 @@ namespace NTwain.Data
public IntPtr pEvent { get { return _pEvent; } set { _pEvent = value; } }
///
/// Any message the Source needs to send to the application in
- /// response to processing the event/message.
+ /// response to processing the event/message. The messages currently defined for
+ /// this purpose are ,
+ /// and .
///
public Message TWMessage { get { return (Message)_tWMessage; } }
}
///
- /// This structure is used to pass specific information between the data source and the application.
+ /// This structure is used to pass specific information between the data source and the application
+ /// through .
///
public partial struct TWInfo
{
@@ -1483,14 +1533,20 @@ namespace NTwain.Data
///
public ItemType ItemType { get { return (ItemType)_itemType; } set { _itemType = (ushort)value; } }
///
- /// Number of items for this field.
+ /// Number of items.
///
public ushort NumItems { get { return _numItems; } set { _numItems = value; } }
+ ///
+ /// This is the return code of availability of data for extended image attribute requested.
+ ///
+ ///
+ /// The return code.
+ ///
public ReturnCode ReturnCode { get { return (ReturnCode)_returnCode; } set { _returnCode = (ushort)value; } }
///
- /// The TW_Info.Item field contains either data or a handle to data. The field
+ /// Contains either data or a handle to data. The field
/// contains data if the total amount of data is less than or equal to four bytes. The
/// field contains a handle of the total amount of data is more than four bytes.
/// The amount of data is determined by multiplying NumItems times
@@ -1529,7 +1585,6 @@ namespace NTwain.Data
///
public partial class TWFileSystem
{
- /* DG_CONTROL / DAT_FILESYSTEM / MSG_xxxx fields */
///
/// The name of the input or source file.
///
@@ -1543,19 +1598,31 @@ namespace NTwain.Data
/// information, such as the current directory.
///
public IntPtr Context { get { return _context; } set { _context = value; } }
-
+
///
/// When set to TRUE recursively apply the operation. (ex: deletes
/// all subdirectories in the directory being deleted; or copies all
/// sub-directories in the directory being copied.
///
public short Recursive { get { return _recursive; } set { _recursive = value; } }
- public ushort Subdirectories { get { return _subdirectories; } set { _subdirectories = value; } }
+ public bool Subdirectories { get { return _subdirectories == TwainConst.True; } }
- /* DG_CONTROL / DAT_FILESYSTEM / MSG_GETInfo fields */
+ ///
+ /// Gets the type of the file.
+ ///
+ ///
+ /// The type of the file.
+ ///
public FileType FileType { get { return (FileType)_fileType; } set { _fileType = (int)value; } }
public uint FileSystemType { get { return _fileSystemType; } set { _fileSystemType = value; } }
+ ///
+ /// If , total size of media in bytes.
+ /// If , size of image in bytes.
+ ///
+ ///
+ /// The size.
+ ///
public uint Size { get { return _size; } set { _size = value; } }
///
/// The create date of the file, in the form "YYYY/MM/DD
@@ -1565,7 +1632,7 @@ namespace NTwain.Data
///
public string CreateTimeDate { get { return _createTimeDate; } set { _createTimeDate = value; } }
///
- /// Last date the file was modified. Same format as CreateTimeDate.
+ /// Last date the file was modified. Same format as .
///
public string ModifiedTimeDate { get { return _modifiedTimeDate; } set { _modifiedTimeDate = value; } }
///
@@ -1579,7 +1646,19 @@ namespace NTwain.Data
/// approximate number of images that the Device has room for.
///
public int NewImageSize { get { return _newImageSize; } set { _newImageSize = value; } }
+ ///
+ /// If applicable, return the number of files on the file system including those in all sub-directories.
+ ///
+ ///
+ /// The number of files.
+ ///
public uint NumberOfFiles { get { return _numberOfFiles; } set { _numberOfFiles = value; } }
+ ///
+ /// The number of audio snippets associated with a file of type .
+ ///
+ ///
+ /// The number of snippets.
+ ///
public uint NumberOfSnippets { get { return _numberOfSnippets; } set { _numberOfSnippets = value; } }
///
/// Used to group cameras (ex: front/rear bitonal, front/rear grayscale...).
@@ -1782,6 +1861,16 @@ namespace NTwain.Data
//{
// return Create(supportedGroups);
//}
+ ///
+ /// Creates a specified values.
+ ///
+ /// The supported groups.
+ /// The version.
+ /// The manufacturer.
+ /// The product family.
+ /// Name of the product.
+ /// The product description.
+ ///
public static TWIdentity Create(DataGroups supportedGroups, Version version,
string manufacturer, string productFamily, string productName, string productDescription)
{
@@ -1997,7 +2086,7 @@ namespace NTwain.Data
///
public uint BytesWritten { get { return _bytesWritten; } set { _bytesWritten = value; } }
///
- /// A structure of type TW_MEMORY describing who must dispose of the
+ /// A structure of type describing who must dispose of the
/// buffer, the actual size of the buffer, in bytes, and where the buffer is
/// located in memory.
///
@@ -2140,6 +2229,9 @@ namespace NTwain.Data
///
partial class TWPendingXfers
{
+ ///
+ /// Initializes a new instance of the class.
+ ///
public TWPendingXfers()
{
_count = TwainConst.DontCare16;
@@ -2153,10 +2245,10 @@ namespace NTwain.Data
public int Count { get { return _count == TwainConst.DontCare16 ? -1 : (int)_count; } }
///
/// The application should check this field if the CapJobControl is set to other
- /// than None. If this is not false, the application should expect more data
+ /// than None. If this is not 0, the application should expect more data
/// from the driver according to CapJobControl settings.
///
- public bool EndOfJob { get { return _eOJ == 0; } }
+ public uint EndOfJob { get { return _eOJ; } }
}
@@ -2198,8 +2290,8 @@ namespace NTwain.Data
///
/// This structure is used by the application to specify a set of mapping values to be applied to RGB
/// color data. Use this structure for RGB data whose bit depth is up to, and including, 8-bits.
- /// The number of elements in the array is determined by —the number of
- /// elements is 2 raised to the power of .
+ /// The number of elements in the array is determined by —the number of
+ /// elements is 2 raised to the power of .
///
public partial class TWRgbResponse
{
@@ -2225,11 +2317,11 @@ namespace NTwain.Data
///
public FileFormat Format { get { return (FileFormat)_format; } set { _format = (ushort)value; } }
- /////
- ///// The volume reference number for the file. This applies to Macintosh only. On
- ///// Windows, fill the field with -1.
- /////
- //public short VRefNum { get { return _vRefNum; } set { _vRefNum = value; } }
+ ///
+ /// The volume reference number for the file. This applies to Macintosh only. On
+ /// Windows, fill the field with -1.
+ ///
+ public short VRefNum { get { return _vRefNum; } set { _vRefNum = value; } }
}
@@ -2344,6 +2436,9 @@ namespace NTwain.Data
///
partial class TWEntryPoint
{
+ ///
+ /// Initializes a new instance of the class.
+ ///
[EnvironmentPermissionAttribute(SecurityAction.LinkDemand)]
public TWEntryPoint()
{
@@ -2370,23 +2465,101 @@ namespace NTwain.Data
}
- public partial struct TWFilterDescriptor
+ ///
+ /// The range of colors specified by this structure is replaced with Replacement grayscale value in the
+ /// binary image. The color is specified in HSV color space.
+ ///
+ public partial class TWFilterDescriptor
{
- public UInt32 Size { get { return _size; } set { _size = value; } }
- public UInt32 HueStart { get { return _hueStart; } set { _hueStart = value; } }
- public UInt32 HueEnd { get { return _hueEnd; } set { _hueEnd = value; } }
- public UInt32 SaturationStart { get { return _saturationStart; } set { _saturationStart = value; } }
- public UInt32 SaturationEnd { get { return _saturationEnd; } set { _saturationEnd = value; } }
- public UInt32 ValueStart { get { return _valueStart; } set { _valueStart = value; } }
- public UInt32 ValueEnd { get { return _valueEnd; } set { _valueEnd = value; } }
- public UInt32 Replacement { get { return _replacement; } set { _replacement = value; } }
+ ///
+ /// Initializes a new instance of the struct.
+ ///
+ public TWFilterDescriptor()
+ {
+ _size = (uint)Marshal.SizeOf(this);
+ }
+
+ ///
+ /// Size of this structure in bytes.
+ ///
+ ///
+ /// The size.
+ ///
+ public uint Size { get { return _size; } set { _size = value; } }
+ ///
+ /// Hue starting number. Valid values 0 to 3600 (0° to 360°).
+ ///
+ public uint HueStart { get { return _hueStart; } set { _hueStart = value; } }
+ ///
+ /// Hue ending number. Valid values 0 to 3600 (0° to 360°).
+ ///
+ public uint HueEnd { get { return _hueEnd; } set { _hueEnd = value; } }
+ ///
+ /// Saturation starting number. Valid values 0 to 1000 (0% to 100%).
+ ///
+ public uint SaturationStart { get { return _saturationStart; } set { _saturationStart = value; } }
+ ///
+ /// Saturation ending number. Valid values 0 to 1000 (0% to 100%).
+ ///
+ public uint SaturationEnd { get { return _saturationEnd; } set { _saturationEnd = value; } }
+ ///
+ /// Luminosity starting number. Valid values 0 to 1000 (0% to 100%).
+ ///
+ public uint ValueStart { get { return _valueStart; } set { _valueStart = value; } }
+ ///
+ /// Luminosity ending number. Valid values 0 to 1000 (0% to 100%).
+ ///
+ public uint ValueEnd { get { return _valueEnd; } set { _valueEnd = value; } }
+ ///
+ /// Replacement grayscale value. Valid values 0 to (2^32)–1 (Maximum value
+ /// depends on grayscale bit depth).
+ ///
+ public uint Replacement { get { return _replacement; } set { _replacement = value; } }
}
+
+ ///
+ /// Specifies the filter to be applied during image acquisition. More than one descriptor can be
+ /// specified. All descriptors are applied with an OR statement.
+ ///
public partial class TWFilter
{
- public UInt32 Size { get { return _size; } set { _size = value; } }
- public UInt32 DescriptorCount { get { return _descriptorCount; } set { _descriptorCount = value; } }
- public UInt32 MaxDescriptorCount { get { return _maxDescriptorCount; } set { _maxDescriptorCount = value; } }
- public UInt32 Condition { get { return _condition; } set { _condition = value; } }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public TWFilter()
+ {
+ _size = (uint)Marshal.SizeOf(this);
+ }
+
+ ///
+ /// Number of descriptors in hDescriptors array.
+ ///
+ ///
+ /// The descriptor count.
+ ///
+ public uint DescriptorCount { get { return _descriptorCount; } set { _descriptorCount = value; } }
+ ///
+ /// Maximum possible descriptors. Valid only for GET and GETDEFAULT operations.
+ ///
+ ///
+ /// The maximum descriptor count.
+ ///
+ public uint MaxDescriptorCount { get { return _maxDescriptorCount; } set { _maxDescriptorCount = value; } }
+ ///
+ /// If the value is 0 filter will check if current pixel color is inside the area
+ /// specified by the descriptor. If the value is 1 it will check if it is outside
+ /// of this area.
+ ///
+ ///
+ /// The condition.
+ ///
+ public uint Condition { get { return _condition; } set { _condition = value; } }
+ ///
+ /// Handle to array of .
+ ///
+ ///
+ /// The descriptors.
+ ///
public IntPtr hDescriptors { get { return _hDescriptors; } set { _hDescriptors = value; } }
}
diff --git a/NTwain/MemoryManager.cs b/NTwain/MemoryManager.cs
index 1069833..15fa071 100644
--- a/NTwain/MemoryManager.cs
+++ b/NTwain/MemoryManager.cs
@@ -9,8 +9,10 @@ namespace NTwain
{
///
/// Provides methods for managing memory on data exchanged with twain sources.
+ /// This should only be used after the DSM has been opened in
+ /// via .
///
- class MemoryManager
+ public class MemoryManager
{
///
/// Gets the global instance.
@@ -30,6 +32,11 @@ namespace NTwain
TWEntryPoint _twain2Entry;
+ ///
+ /// Function to allocate memory. Calls to this must be coupled with later.
+ ///
+ /// The size in bytes.
+ /// Handle to the allocated memory.
public IntPtr MemAllocate(uint size)
{
if (_twain2Entry != null && _twain2Entry.AllocateFunction != null)
@@ -42,6 +49,11 @@ namespace NTwain
return GlobalAlloc(0x0040, new UIntPtr(size));
}
}
+
+ ///
+ /// Function to free memory.
+ ///
+ /// The handle from .
public void MemFree(IntPtr handle)
{
if (_twain2Entry != null && _twain2Entry.FreeFunction != null)
@@ -53,6 +65,12 @@ namespace NTwain
GlobalFree(handle);
}
}
+
+ ///
+ /// Function to lock some memory. Calls to this must be coupled with later.
+ ///
+ /// The handle to allocated memory.
+ /// Handle to the lock.
public IntPtr MemLock(IntPtr handle)
{
if (_twain2Entry != null && _twain2Entry.LockFunction != null)
@@ -64,6 +82,11 @@ namespace NTwain
return GlobalLock(handle);
}
}
+
+ ///
+ /// Function to unlock a previously locked memory region.
+ ///
+ /// The handle from .
public void MemUnlock(IntPtr handle)
{
if (_twain2Entry != null && _twain2Entry.UnlockFunction != null)
@@ -82,14 +105,14 @@ namespace NTwain
static extern IntPtr GlobalAlloc(uint uFlags, UIntPtr dwBytes);
[DllImport("kernel32", SetLastError = true, ExactSpelling = true)]
- public static extern IntPtr GlobalFree(IntPtr hMem);
+ static extern IntPtr GlobalFree(IntPtr hMem);
[DllImport("kernel32", SetLastError = true, ExactSpelling = true)]
- public static extern IntPtr GlobalLock(IntPtr handle);
+ static extern IntPtr GlobalLock(IntPtr handle);
[DllImport("kernel32", SetLastError = true, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.Bool)]
- public static extern bool GlobalUnlock(IntPtr handle);
+ static extern bool GlobalUnlock(IntPtr handle);
#endregion
}
diff --git a/NTwain/Properties/VersionInfo.cs b/NTwain/Properties/VersionInfo.cs
index d6fe60d..210ce00 100644
--- a/NTwain/Properties/VersionInfo.cs
+++ b/NTwain/Properties/VersionInfo.cs
@@ -14,6 +14,6 @@ namespace NTwain
// keep this same in majors releases
public const string Release = "0.8.0.0";
// change this for each nuget release
- public const string Build = "0.8.1";
+ public const string Build = "0.8.2";
}
}
\ No newline at end of file
diff --git a/NTwain/TransferReadyEventArgs.cs b/NTwain/TransferReadyEventArgs.cs
index 1875a5b..8c19116 100644
--- a/NTwain/TransferReadyEventArgs.cs
+++ b/NTwain/TransferReadyEventArgs.cs
@@ -24,7 +24,7 @@ namespace NTwain
IList supportedCompressions, Compression currentCompression, bool canDoFileXfer, TWImageInfo imageInfo)
{
PendingCount = pending.Count;
- EndOfJob = pending.EndOfJob;
+ EndOfJob = pending.EndOfJob == 0;
_imageCompression = currentCompression;
SupportedCompressions = supportedCompressions;
_imageFormat = currentFormat;
diff --git a/NTwain/Triplets/DGAudio/DGAudio.AudioFileXfer.cs b/NTwain/Triplets/DGAudio/DGAudio.AudioFileXfer.cs
index f344ee2..1d0e501 100644
--- a/NTwain/Triplets/DGAudio/DGAudio.AudioFileXfer.cs
+++ b/NTwain/Triplets/DGAudio/DGAudio.AudioFileXfer.cs
@@ -3,6 +3,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
sealed class AudioFileXfer : OpBase
{
internal AudioFileXfer(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGAudio/DGAudio.AudioInfo.cs b/NTwain/Triplets/DGAudio/DGAudio.AudioInfo.cs
index b9e22db..cf50778 100644
--- a/NTwain/Triplets/DGAudio/DGAudio.AudioInfo.cs
+++ b/NTwain/Triplets/DGAudio/DGAudio.AudioInfo.cs
@@ -3,6 +3,9 @@ using NTwain.Values;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class AudioInfo : OpBase
{
internal AudioInfo(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGAudio/DGAudio.AudioNativeXfer.cs b/NTwain/Triplets/DGAudio/DGAudio.AudioNativeXfer.cs
index cdd13c0..d6a5944 100644
--- a/NTwain/Triplets/DGAudio/DGAudio.AudioNativeXfer.cs
+++ b/NTwain/Triplets/DGAudio/DGAudio.AudioNativeXfer.cs
@@ -3,6 +3,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
sealed class AudioNativeXfer : OpBase
{
internal AudioNativeXfer(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGAudio/DGAudio.cs b/NTwain/Triplets/DGAudio/DGAudio.cs
index 789c0e7..7b09b2c 100644
--- a/NTwain/Triplets/DGAudio/DGAudio.cs
+++ b/NTwain/Triplets/DGAudio/DGAudio.cs
@@ -1,8 +1,9 @@
-using System;
+using NTwain.Values;
+using System;
namespace NTwain.Triplets
{
- ///
- /// Class for grouping triplet operations under the Audio data group.
+ ///
+ /// Represents .
///
public sealed class DGAudio
{
diff --git a/NTwain/Triplets/DGControl/DGControl.Capability.cs b/NTwain/Triplets/DGControl/DGControl.Capability.cs
index f6bcb86..71a23e9 100644
--- a/NTwain/Triplets/DGControl/DGControl.Capability.cs
+++ b/NTwain/Triplets/DGControl/DGControl.Capability.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class Capability : OpBase
{
internal Capability(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.CustomDSData.cs b/NTwain/Triplets/DGControl/DGControl.CustomDSData.cs
index 40fa3a4..43b5b0e 100644
--- a/NTwain/Triplets/DGControl/DGControl.CustomDSData.cs
+++ b/NTwain/Triplets/DGControl/DGControl.CustomDSData.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class CustomDSData : OpBase
{
internal CustomDSData(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.DeviceEvent.cs b/NTwain/Triplets/DGControl/DGControl.DeviceEvent.cs
index b33fb39..d22b37f 100644
--- a/NTwain/Triplets/DGControl/DGControl.DeviceEvent.cs
+++ b/NTwain/Triplets/DGControl/DGControl.DeviceEvent.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class DeviceEvent : OpBase
{
internal DeviceEvent(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.EntryPoint.cs b/NTwain/Triplets/DGControl/DGControl.EntryPoint.cs
index 0674753..c671091 100644
--- a/NTwain/Triplets/DGControl/DGControl.EntryPoint.cs
+++ b/NTwain/Triplets/DGControl/DGControl.EntryPoint.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
sealed class EntryPoint : OpBase
{
internal EntryPoint(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.FileSystem.cs b/NTwain/Triplets/DGControl/DGControl.FileSystem.cs
index eb0b292..a002c2b 100644
--- a/NTwain/Triplets/DGControl/DGControl.FileSystem.cs
+++ b/NTwain/Triplets/DGControl/DGControl.FileSystem.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class FileSystem : OpBase
{
internal FileSystem(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.Identity.cs b/NTwain/Triplets/DGControl/DGControl.Identity.cs
index 5441ed6..5f0b154 100644
--- a/NTwain/Triplets/DGControl/DGControl.Identity.cs
+++ b/NTwain/Triplets/DGControl/DGControl.Identity.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class Identity : OpBase
{
internal Identity(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.Parent.cs b/NTwain/Triplets/DGControl/DGControl.Parent.cs
index 3157ef8..35bf310 100644
--- a/NTwain/Triplets/DGControl/DGControl.Parent.cs
+++ b/NTwain/Triplets/DGControl/DGControl.Parent.cs
@@ -5,6 +5,9 @@ using System.Runtime.InteropServices;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
sealed class Parent : OpBase
{
internal Parent(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.PassThru.cs b/NTwain/Triplets/DGControl/DGControl.PassThru.cs
index 414d466..512cf0d 100644
--- a/NTwain/Triplets/DGControl/DGControl.PassThru.cs
+++ b/NTwain/Triplets/DGControl/DGControl.PassThru.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class PassThru : OpBase
{
internal PassThru(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.PendingXfers.cs b/NTwain/Triplets/DGControl/DGControl.PendingXfers.cs
index 94f537e..2dac742 100644
--- a/NTwain/Triplets/DGControl/DGControl.PendingXfers.cs
+++ b/NTwain/Triplets/DGControl/DGControl.PendingXfers.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
sealed class PendingXfers : OpBase
{
internal PendingXfers(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.SetupFileXfer.cs b/NTwain/Triplets/DGControl/DGControl.SetupFileXfer.cs
index 690d56a..f098b3c 100644
--- a/NTwain/Triplets/DGControl/DGControl.SetupFileXfer.cs
+++ b/NTwain/Triplets/DGControl/DGControl.SetupFileXfer.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class SetupFileXfer : OpBase
{
internal SetupFileXfer(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.SetupMemXfer.cs b/NTwain/Triplets/DGControl/DGControl.SetupMemXfer.cs
index c10be6a..76c476f 100644
--- a/NTwain/Triplets/DGControl/DGControl.SetupMemXfer.cs
+++ b/NTwain/Triplets/DGControl/DGControl.SetupMemXfer.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class SetupMemXfer : OpBase
{
internal SetupMemXfer(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.Status.cs b/NTwain/Triplets/DGControl/DGControl.Status.cs
index d6873e5..a93feb6 100644
--- a/NTwain/Triplets/DGControl/DGControl.Status.cs
+++ b/NTwain/Triplets/DGControl/DGControl.Status.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class Status : OpBase
{
internal Status(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.StatusUtf8.cs b/NTwain/Triplets/DGControl/DGControl.StatusUtf8.cs
index b857109..c9e2d42 100644
--- a/NTwain/Triplets/DGControl/DGControl.StatusUtf8.cs
+++ b/NTwain/Triplets/DGControl/DGControl.StatusUtf8.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class StatusUtf8 : OpBase
{
internal StatusUtf8(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.UserInterface.cs b/NTwain/Triplets/DGControl/DGControl.UserInterface.cs
index 10e4d25..63f033e 100644
--- a/NTwain/Triplets/DGControl/DGControl.UserInterface.cs
+++ b/NTwain/Triplets/DGControl/DGControl.UserInterface.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
sealed class UserInterface : OpBase
{
internal UserInterface(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.XferGroup.cs b/NTwain/Triplets/DGControl/DGControl.XferGroup.cs
index 626bf33..0d029f7 100644
--- a/NTwain/Triplets/DGControl/DGControl.XferGroup.cs
+++ b/NTwain/Triplets/DGControl/DGControl.XferGroup.cs
@@ -4,6 +4,9 @@ using NTwain.Values;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class XferGroup : OpBase
{
internal XferGroup(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGControl/DGControl.cs b/NTwain/Triplets/DGControl/DGControl.cs
index f475586..853f57a 100644
--- a/NTwain/Triplets/DGControl/DGControl.cs
+++ b/NTwain/Triplets/DGControl/DGControl.cs
@@ -1,8 +1,9 @@
-using System;
+using NTwain.Values;
+using System;
namespace NTwain.Triplets
{
- ///
- /// Class for grouping triplet operations under the Control data group.
+ ///
+ /// Represents .
///
public sealed class DGControl
{
diff --git a/NTwain/Triplets/DGImage/DGImage.CieColor.cs b/NTwain/Triplets/DGImage/DGImage.CieColor.cs
index ada1bf5..4ff18be 100644
--- a/NTwain/Triplets/DGImage/DGImage.CieColor.cs
+++ b/NTwain/Triplets/DGImage/DGImage.CieColor.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class CieColor : OpBase
{
internal CieColor(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGImage/DGImage.ExtImageInfo.cs b/NTwain/Triplets/DGImage/DGImage.ExtImageInfo.cs
index ab8007d..867cfcf 100644
--- a/NTwain/Triplets/DGImage/DGImage.ExtImageInfo.cs
+++ b/NTwain/Triplets/DGImage/DGImage.ExtImageInfo.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class ExtImageInfo : OpBase
{
internal ExtImageInfo(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGImage/DGImage.Filter.cs b/NTwain/Triplets/DGImage/DGImage.Filter.cs
index 1f750ef..204649a 100644
--- a/NTwain/Triplets/DGImage/DGImage.Filter.cs
+++ b/NTwain/Triplets/DGImage/DGImage.Filter.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class Filter : OpBase
{
internal Filter(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGImage/DGImage.GrayResponse.cs b/NTwain/Triplets/DGImage/DGImage.GrayResponse.cs
index 3315506..cdf4dd7 100644
--- a/NTwain/Triplets/DGImage/DGImage.GrayResponse.cs
+++ b/NTwain/Triplets/DGImage/DGImage.GrayResponse.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class GrayResponse : OpBase
{
internal GrayResponse(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGImage/DGImage.IccProfile.cs b/NTwain/Triplets/DGImage/DGImage.IccProfile.cs
index 50024ba..7369589 100644
--- a/NTwain/Triplets/DGImage/DGImage.IccProfile.cs
+++ b/NTwain/Triplets/DGImage/DGImage.IccProfile.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class IccProfile : OpBase
{
internal IccProfile(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGImage/DGImage.ImageFileXfer.cs b/NTwain/Triplets/DGImage/DGImage.ImageFileXfer.cs
index 640b051..dc6ed06 100644
--- a/NTwain/Triplets/DGImage/DGImage.ImageFileXfer.cs
+++ b/NTwain/Triplets/DGImage/DGImage.ImageFileXfer.cs
@@ -4,6 +4,9 @@ using NTwain.Values;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
sealed class ImageFileXfer : OpBase
{
internal ImageFileXfer(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGImage/DGImage.ImageInfo.cs b/NTwain/Triplets/DGImage/DGImage.ImageInfo.cs
index 80747aa..b9f5b9a 100644
--- a/NTwain/Triplets/DGImage/DGImage.ImageInfo.cs
+++ b/NTwain/Triplets/DGImage/DGImage.ImageInfo.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class ImageInfo : OpBase
{
internal ImageInfo(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGImage/DGImage.ImageLayout.cs b/NTwain/Triplets/DGImage/DGImage.ImageLayout.cs
index 5933cee..852077b 100644
--- a/NTwain/Triplets/DGImage/DGImage.ImageLayout.cs
+++ b/NTwain/Triplets/DGImage/DGImage.ImageLayout.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class ImageLayout : OpBase
{
internal ImageLayout(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGImage/DGImage.JpegCompression.cs b/NTwain/Triplets/DGImage/DGImage.JpegCompression.cs
index 8c06f7f..666c5d3 100644
--- a/NTwain/Triplets/DGImage/DGImage.JpegCompression.cs
+++ b/NTwain/Triplets/DGImage/DGImage.JpegCompression.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class JpegCompression : OpBase
{
internal JpegCompression(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGImage/DGImage.Palette8.cs b/NTwain/Triplets/DGImage/DGImage.Palette8.cs
index 47557d0..5aecff2 100644
--- a/NTwain/Triplets/DGImage/DGImage.Palette8.cs
+++ b/NTwain/Triplets/DGImage/DGImage.Palette8.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class Palette8 : OpBase
{
internal Palette8(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGImage/DGImage.RgbResponse.cs b/NTwain/Triplets/DGImage/DGImage.RgbResponse.cs
index cc74923..1c066aa 100644
--- a/NTwain/Triplets/DGImage/DGImage.RgbResponse.cs
+++ b/NTwain/Triplets/DGImage/DGImage.RgbResponse.cs
@@ -4,6 +4,9 @@ using System;
namespace NTwain.Triplets
{
+ ///
+ /// Represents .
+ ///
public sealed class RgbResponse : OpBase
{
internal RgbResponse(ITwainSessionInternal session) : base(session) { }
diff --git a/NTwain/Triplets/DGImage/DGImage.cs b/NTwain/Triplets/DGImage/DGImage.cs
index 33aa569..ed4ff0e 100644
--- a/NTwain/Triplets/DGImage/DGImage.cs
+++ b/NTwain/Triplets/DGImage/DGImage.cs
@@ -1,8 +1,9 @@
-using System;
+using NTwain.Values;
+using System;
namespace NTwain.Triplets
{
- ///
- /// Class for grouping triplet operations under the Image data group.
+ ///
+ /// Represents .
///
public sealed class DGImage
{