Placeholder for 2.3 operations.

This commit is contained in:
soukoku
2014-04-04 07:45:26 -04:00
parent 0d4f60171f
commit 428a024124
6 changed files with 20 additions and 7 deletions

View File

@@ -101,7 +101,6 @@ namespace NTwain.Data
BestFitMapping(false, ThrowOnUnmappableChar = true)]
partial class TWAudioInfo
{
// TODO: this may be wrong
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = TwainConst.String255)]
string _name;
TW_UINT32 _reserved;
@@ -173,7 +172,6 @@ namespace NTwain.Data
partial class TWDeviceEvent
{
TW_UINT32 _event;
// TODO: may be wrong
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = TwainConst.String255)]
string _deviceName;
TW_UINT32 _batteryMinutes;
@@ -250,7 +248,7 @@ namespace NTwain.Data
[FieldOffset(512)]
TW_MEMREF _context;
//TODO: verify this field offset in 64bit
//TODO: verify this field offset in 64bit due to previous pointer
[FieldOffset(520)]
short _recursive;
[FieldOffset(520)]
@@ -287,8 +285,6 @@ namespace NTwain.Data
[FieldOffset(616)]
TW_UINT32 _deviceGroupMask;
//TODO: verify this field, check if can just not use it
//char _reserved[508]; /**/
[FieldOffset(620)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 508)]
TW_INT8[] _reserved;

View File

@@ -1543,8 +1543,7 @@ namespace NTwain.Data
/// information, such as the current directory.
/// </summary>
public IntPtr Context { get { return _context; } set { _context = value; } }
/* DG_CONTROL / DAT_FILESYSTEM / MSG_DELETE field */
//TODO: verify this field
/// <summary>
/// When set to TRUE recursively apply the operation. (ex: deletes
/// all subdirectories in the directory being deleted; or copies all