mirror of
https://github.com/soukoku/ntwain.git
synced 2025-09-18 17:47:57 +08:00
More types.
This commit is contained in:
@@ -541,4 +541,28 @@ namespace NTwain.Data
|
|||||||
public delegate void MemUnlockDelegate(IntPtr handle);
|
public delegate void MemUnlockDelegate(IntPtr handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential, Pack = 2)]
|
||||||
|
partial struct TWFilterDescriptor
|
||||||
|
{
|
||||||
|
TW_UINT32 _size;
|
||||||
|
TW_UINT32 _hueStart;
|
||||||
|
TW_UINT32 _hueEnd;
|
||||||
|
TW_UINT32 _saturationStart;
|
||||||
|
TW_UINT32 _saturationEnd;
|
||||||
|
TW_UINT32 _valueStart;
|
||||||
|
TW_UINT32 _valueEnd;
|
||||||
|
TW_UINT32 _replacement;
|
||||||
|
}
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential, Pack = 2)]
|
||||||
|
partial class TWFilter
|
||||||
|
{
|
||||||
|
TW_UINT32 _size;
|
||||||
|
TW_UINT32 _descriptorCount;
|
||||||
|
TW_UINT32 _maxDescriptorCount;
|
||||||
|
TW_UINT32 _condition;
|
||||||
|
TW_HANDLE _hDescriptors;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -2372,4 +2372,27 @@ namespace NTwain.Data
|
|||||||
public MemUnlockDelegate UnlockFunction { get { return _dSM_MemUnlock; } }
|
public MemUnlockDelegate UnlockFunction { get { return _dSM_MemUnlock; } }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public partial struct 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; } }
|
||||||
|
}
|
||||||
|
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; } }
|
||||||
|
public IntPtr hDescriptors { get { return _hDescriptors; } set { _hDescriptors = value; } }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user