Added workaround for sources that don't support querysupport call.

This commit is contained in:
soukoku
2015-02-13 21:34:12 -05:00
parent 0f4e258970
commit bace6e6323
17 changed files with 418 additions and 144 deletions

View File

@@ -6,7 +6,7 @@ namespace NTwain
/// <summary>
/// Represents a TWAIN data source.
/// </summary>
public interface IDataSource
public interface IDataSource : ICapControl
{
/// <summary>
/// Gets the source's product name.
@@ -64,6 +64,14 @@ namespace NTwain
/// </value>
TWVersion Version { get; }
/// <summary>
/// Gets a value indicating whether this data source has been opened.
/// </summary>
/// <value>
/// <c>true</c> if this data source is open; otherwise, <c>false</c>.
/// </value>
bool IsOpen { get; }
/// <summary>
/// Opens the source for capability negotiation.
/// </summary>